z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


header function interface definitions

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

The following function interface definitions apply to the <rapi.h> header:

  • Type rapi_sid_t is defined by typedef as unsigned int for RAPI client handles.
  • Macro NULL_SID is defined for error returns from rapi_session().
  • The following macro is defined and evaluated to a bitwise-distinct integral value:
    Constant Meaning
    RAPI_USE_INTSERV Use Int-Serv fmt in upcalls

    Enumeration rapi_eventinfo_t is defined by typedef for RAPI event types, and has at least the following members:

    Member
    RAPI_PATH_ERROR
    RAPI_PATH_EVENT
    RAPI_RESV_CONFIRM
    RAPI_RESV_ERROR
    RAPI_RESV_EVENT
  • The following macros are defined and evaluate to distinct integral values:
    Constant Meaning
    RAPI_ERRF_InPlace Left reservation in place
    RAPI_ERRF_NotGuilty This receiver not guilty
  • Type rapi_event_rtn_t is defined by typedef as a function that conforms to the prototype defined in the definition for event upcall.
  • The following macros are defined and evaluate to distinct integral values for use as RAPI error codes. Macro RAPI_ERR_OK (which indicates that there is no error) evaluates to 0.
    Error code
    RAPI_ERR_BADPROTO
    RAPI_ERR_BADRECV
    RAPI_ERR_BADSEND
    RAPI_ERR_BADSID
    RAPI_ERR_BADSPORT
    RAPI_ERR_BADSTYLE
    RAPI_ERR_BADVDPORT
    RAPI_ERR_GPI_CONFLICT
    RAPI_ERR_GPISESS
    RAPI_ERR_INTSERV
    RAPI_ERR_INVAL
    RAPI_ERR_MAXSESS
    RAPI_ERR_MEMFULL
    RAPI_ERR_N_FFS
    RAPI_ERR_NORSVP
    RAPI_ERR_NOTSPEC
    RAPI_ERR_OBJLEN
    RAPI_ERR_OBJTYPE
    RAPI_ERR_OK
    RAPI_ERR_OVERFLOW
    RAPI_ERR_SYSCALL
    RAPI_ERR_UNKNOWN
    RAPI_ERR_UNSUPPORTED
  • The following macros are defined and evaluate to the RSVP error code values as defined in RSVP error codes:
    Error code
    RSVP_Err_ADMISSION
    RSVP_Err_API_ERROR
    RSVP_Err_BAD_DSTPORT
    RSVP_Err_BAD_SNDPORT
    RSVP_Err_BAD_STYLE
    RSVP_Err_NONE
    RSVP_Err_NO_PATH
    RSVP_Err_NO_SENDER
    RSVP_Err_POLICY
    RSVP_Err_PREEMPTED
    RSVP_Err_RSVP_SYS_ERROR
    RSVP_Err_TC_ERROR
    RSVP_Err_TC_SYS_ERROR
    RSVP_Err_UNKN_OBJ_CLASS
    RSVP_Err_UNKNOWN_STYLE
    RSVP_Err_UNKNOWN_CTYPE

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014