|
tt_message_arg_xval(3) -- retrieve and deserialize the data from a message argument
|
The tt_message_arg_xval function retrieves and deserializes the data from a message argument. This function uses an XDR routine that is supplied by the client. The m argument is the opaque handle for the message involved in this operation. The n argument is the number of the argument to be returned. The first argument is numbered zero. The xdr_proc argument points to the XDR procedure to be used t... |
tt_message_arg_xval_set(3) -- serialize and set data into an existing message argument
|
The tt_message_arg_xval_set function serializes and sets data into an existing message argument. The m argument is the opaque handle for the message involved in this operation. The n argument is the number of the argument to be changed. The first argument is numbered zero. The xdr_proc argument causes tt_message_arg_xval_set to serialize the data pointed to by value and store it as a byte string v... |
|
tt_message_barg_add(3) -- add an argument to a pattern
|
The tt_message_barg_add function adds an argument to a pattern that may have a byte-array value that contains embedded nulls. To change existing argument values, the application must use only modes TT_OUT or TT_INOUT. Adding arguments when replying to a message produces undefined results. The m argument is the opaque handle for the message involved in this operation. The n argument specifies who (... |
tt_message_bcontext_set(3) -- set the byte-array value of a message's context
|
The tt_message_bcontext_set function sets the byte-array value of a message's context. This function overwrites any previous value associated with slotname. The m argument is the opaque handle for the message involved in this operation. The slotname argument describes the slotname in this message. The value argument is the byte string with the contents for the message argument. The length argumen... |
tt_message_callback_add(3) -- register a callback function
|
The tt_message_callback_add function registers a callback function to be automatically invoked by tt_message_receive(3) whenever a reply or other state-change to this message is returned. The callback is defined in Tt/tt_c.h - Tttt_c(5). If the callback returns TT_CALLBACK_CONTINUE, other callbacks will be run; if no callback returns TT_CALLBACK_PROCESSED, tt_message_receive returns the message. I... |
tt_message_class(3) -- retrieve the class attribute from a message
|
The tt_message_class function retrieves the class attribute from the specified message. The m argument is the opaque handle for the message involved in this operation. |
tt_message_class_set(3) -- set the class attribute for a message
|
The tt_message_class_set function sets the class attribute for the specified message. The m argument is the opaque handle for the message involved in this operation. The c argument indicates whether an action is to take place after the message is received. The following values are defined: TT_NOTICE A notice of an event. The sender does not want feedback on this message. TT_REQUEST A request for s... |
tt_message_contexts_count(3) -- return the number of contexts in a message
|
The tt_message_contexts_count function returns the number of contexts in a message. The m argument is the opaque handle for the message involved in this operation. |
tt_message_context_bval(3) -- retrieve the byte-array value and length of a message's context
|
The tt_message_context_bval function retrieves the byte-array value and length of a message's context. If there is no context slot associated with slotname, tt_message_context_bval returns zero in slotname and zero in len. The m argument is the opaque handle for the message involved in this operation. The slotname argument describes the context of this message. The value argument points to the lo... |
tt_message_context_ival(3) -- retrieve the integer value of a message's context
|
The tt_message_context_ival function retrieves the integer value of a message's context. The m argument is the opaque handle for the message involved in this operation. The slotname argument describes the context of this message. The value argument points to the location to return the value. If there is no context slot associated with slotname, tt_message_context_ival returns a NULL pointer in *v... |
tt_message_context_set(3) -- set the character string value of a message's context
|
The tt_message_context_set function sets the character string value of a message's context. The m argument is the opaque handle for the message involved in this operation. The slotname argument describes the context of this message. This function overwrites any previous value associated with slotname. The value argument is the character string to be set. |
tt_message_context_slotname(3) -- return the name of a message's nth context
|
The tt_message_context_slotname function returns the name of a message's nth context. The m argument is the opaque handle for the message involved in this operation. The n argument is the number of the context to be retrieved. The first context is numbered zero. |
tt_message_context_val(3) -- retrieve the character string of a message's context
|
The tt_message_context_val function retrieves the character string of a message's context. The m argument is the opaque handle for the message involved in this operation. The slotname argument describes the context of this message. If there is no context slot associated with slotname, tt_message_context_val returns a NULL pointer. |
tt_message_context_xval(3) -- retrieve and deserialize the data from a message's context
|
The tt_message_context_xval function retrieves and deserializes the data from a message's context. The m argument is the opaque handle for the message involved in this operation. The slotname argument describes the context of this message. The xdr_proc argument points to the XDR procedure to be used to deserialize the data in the nth argument into newly allocated storage, the address of which wil... |
tt_message_create(3) -- create a new message object
|
The tt_message_create function creates a new message object. The ToolTalk service returns a message handle that is an opaque pointer to a ToolTalk structure. |