NAME

     imme_init, imme_end  -  Initializes  or  terminates  message
     enqueuing operations.


SYNOPSIS

     #include <imta.h>

     int imme_init( imme_t *me);

     void imme_end( imme_t me);


DESCRIPTION

     imme_init() initializes  an  enqueue  context.   imme_init()
     must  be called before calling imme_start_envelope() or sub-
     sequent calls

     Once the dequeue session is over, imme_end() must be  called
     to free the imme_t structure.


RETURN VALUES

     imme_init()   returns   IMRC_OK    when    successful    and
     IMRC_OUT_OF_MEMORY if the memory allocation fails.


ATTRIBUTES

               _______________________________________
              |   Attribute Type   |  Attribute Value|
              |____________________|_________________|
              | Architecture       |  sparc, x86     |
              |____________________|_________________|
              | Availability       |  SUNWimsdk      |
              |____________________|_________________|
              | MT-Level           |  MT-Safe        |
              |____________________|_________________|
              | Interface Stability|  Stable         |
              |____________________|_________________|


SEE ALSO

     imme_start_envelope(3).