Table of Contents

Name

immd_init, immd_end - Initializes or terminates message dequeuing operations.

Synopsis

#include <imta.h>

int immd_init(immd_t *md);

void immd_end(immd_t md);

Description

Initializes SIMS for message dequeue operations and creates a message dequeue context. imta_init() must be called prior to calling immd_init(). After calling immd_init() immd_get_() can be called to access the next queued message.

immd_end() must ba called to dispose of a message dequeue context.

Arguments

md
Message dequeue context to be created.

Return Values

immd_init() returns IMRC_OK when successful, and one of the following error codes if an error occured.

IMRC_OUT_OF_MEMORY
There is not enough memory to start an new dequeue context.

Attributes

center, box; c | c l | l .
Attribute Type Attribute Value
_

Architecture
sparc, x86 _ Availability SUNWimsdk _ MT-Level MT-Safe _ Interface Stability Stable

See Also

immd_get(3) , imta_init(3)

SunOS 5.5.1 Last change: 05 Jan 1998 1


Table of Contents