|
tttk_message_create(3) -- create a message conforming to the CDE conventions
|
The tttk_message_create function creates a message that propagates inherited contexts from one message to another. The tttk_message_create function creates a message and copies onto it all the context slots from context whose slotname begins with the characters ENV_. It gives the created message a Tt_class of the_class and a Tt_scope of the_scope. If handler is not NULL, then tttk_message_create a... |
tttk_message_destroy(3) -- destroy a message conforming to the CDE conventions
|
The tttk_message_destroy function can be used in place of tt_message_destroy(3). It destroys any patterns that may have been stored on msg by ttdt_message_accept(3) or ttdt_subcontract_manage(3). Then it passes msg to tt_message_destroy(3). |
|
tttk_message_fail(3) -- fail a message
|
The tttk_message_fail function sets the status and status string of the TT_REQUEST msg, fails msg, and then destroys msg if destroy is True. |
tttk_message_reject(3) -- reject a message
|
The tttk_message_reject function sets the status and status string of the TT_REQUEST msg, rejects the msg, and then destroys msg if destroy is True. |
tttk_op_string(3) -- map a ToolTalk op code to a string
|
The tttk_op_string function returns a string containing the op for opcode. |
tttk_string_op(3) -- map a string to a ToolTalk op code
|
The tttk_string_op function returns the Tttk_op named by opstring. |
tttk_Xt_input_handler(3) -- Process ToolTalk events for Xt clients
|
If procid is not NULL, tttk_Xt_input_handler passes it to tt_default_procid_set(3). The tttk_Xt_input_handler function then calls tt_message_receive(3), which retrieves the next message available, if any, for the default procid. If tt_message_receive(3) returns TT_ERR_NOMP, then tttk_Xt_input_handler closes the default procid with ttdt_close(3), and removes the input source *id with XtRemoveInput(... |
tt_bcontext_join(3) -- add a byte-array value to the list of values
|
The tt_bcontext_join function adds the given byte-array value to the list of values for the named contexts of all patterns. The context is compared to currently registered patterns for the procid. If a pattern has a slot with the specified name, the given byte-array value is added to the list of values for that slot. The slotname argument is the name of the context. The value argument is the value... |
tt_bcontext_quit(3) -- remove a byte-array value from the list of values
|
The tt_bcontext_quit function removes the given byte-array value from the list of values for the contexts of all patterns. The context is compared to currently registered patterns for the procid. If a pattern has a slot with the specified name, the given byte string value is removed from the list of values for that slot. If there are duplicate values, only one value is removed. The slotname argume... |
tt_close(3) -- close the current default procid
|
The tt_close function closes the current default procid. |
tt_context_join(3) -- add a string value to the list of values
|
The tt_context_join function adds the given string value to the list of values for the context of all patterns. The context is compared to currently registered patterns for the procid. If a pattern has a slot with the specified name, the given string value is added to the list of values for that slot. The slotname argument is the name of the context. The value argument is the value to be added. |
tt_context_quit(3) -- remove a string value from the list of values
|
The tt_context_quit function removes the given string value from the list of values for the contexts of all patterns. The context is compared to currently registered patterns for the procid. If a pattern has a slot with the specified name, tt_context_quit removes the given string value from the list of values for that slot. If there are duplicate values, only one value is removed. The slotname arg... |
tt_default_file(3) -- return the current default file
|
The tt_default_file function returns the current default file. When the application joins a file, the file becomes the default. |
tt_default_file_set(3) -- set the default file to a file
|
The tt_default_file_set function sets the default file to the specified file. The docid argument is a pointer to a character string that specifies the file that is to be the default file. |
tt_default_procid(3) -- identify the current default process
|
The tt_default_procid function retrieves the current default procid for the process. |