*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> tt_message_fail (3)              
Title
Content
Arch
Section
 

t(3)

Contents


 tt_message_fail(library call)                 tt_message_fail(library call)




 NAME    [Toc]    [Back]
      tt_message_fail - indicate a message cannot be handled

 SYNOPSIS    [Toc]    [Back]
      #include <Tt/tt_c.h>
      Tt_status tt_message_fail(
      Tt_message m);

 DESCRIPTION    [Toc]    [Back]
      The tt_message_fail function informs the ToolTalk service that the
      process cannot handle the request just received.

      This function also informs the ToolTalk service that the message is
      not be offered to other processes of the same ptype.  The ToolTalk
      service will send the message back to the sender with state TT_FAILED.

      The m argument is the opaque handle for the message involved in this
      operation.

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, the tt_message_fail function returns the
      status of the operation as one of the following Tt_status values:

      TT_OK     The operation completed successfully.

      TT_ERR_NOMP
                The ttsession(1) process is not running and the ToolTalk
                service cannot restart it.

      TT_ERR_NOTHANDLER
                This application is not the handler for this message.

      TT_ERR_POINTER
                The pointer passed does not point to an object of the
                correct type for this operation.

      The status value must be greater than TT_ERR_LAST to avoid confusion
      with the ToolTalk service status values.

 APPLICATION USAGE    [Toc]    [Back]
      To distinguish this case from the case where a message failed because
      no matching handler could be found, the application should place an
      explanatory message code in the status attribute of the message with
      tt_message_status_settt_message_fail.

 SEE ALSO    [Toc]    [Back]
      Tt/tt_c.h - Tttt_c(5), tt_message_status_set(3),
      tt_message_status_string_set(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
gss_unwrap HP-UX verify a message with attached message integrity code (MIC) and decrypt message content if necessary
gss_wrap HP-UX attach a message integrity code (MIC) to a message, and optionally encrypt the message content
gss_get_mic HP-UX calculate a cryptographic message integrity code (MIC) for a message and return in a token
mq_receive Tru64 Receives the oldest, highest-priority message from the message queue (P1003.1b)
scan Tru64 produce a one-line-per-message scan listing (only available within the message handling system, mh)
SSL_get_peer_finished Tru64 Gets the latest "Finished" message received and return the length of the message.
dist Tru64 redistribute a message to additional addresses (only available within the message handling system, m...
alex Tru64 extract addresses from message headers (only available within the message handling system, mh)
unlinkb Tru64 STREAMS: Removes a message block from the head of a message
refile Tru64 file message in other folders (only available within the message handling system, mh)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service