/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: xpg3:xti.h (VERSION 2.6)
*/

#ifndef __TDF_XPG3_XTI_H
#define __TDF_XPG3_XTI_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__xpg3__xti begin

#if 0
#pragma token EXP const : int : T_LISTEN # xpg3.xti.T_LISTEN
#pragma token EXP const : int : T_CONNECT # xpg3.xti.T_CONNECT
#pragma token EXP const : int : T_DATA # xpg3.xti.T_DATA
#pragma token EXP const : int : T_EXDATA # xpg3.xti.T_EXDATA
#pragma token EXP const : int : T_DISCONNECT # xpg3.xti.T_DISCONNECT
#pragma token EXP const : int : T_ORDREL # xpg3.xti.T_ORDREL
#pragma token EXP const : int : T_UDERR # xpg3.xti.T_UDERR
#pragma token EXP const : int : T_GODATA # xpg3.xti.T_GODATA
#pragma token EXP const : int : T_GOEXDATA # xpg3.xti.T_GOEXDATA
#pragma token EXP const : int : T_UNINIT # xpg3.xti.T_UNINIT
#pragma token EXP const : int : T_UNBND # xpg3.xti.T_UNBND
#pragma token EXP const : int : T_IDLE # xpg3.xti.T_IDLE
#pragma token EXP const : int : T_OUTCON # xpg3.xti.T_OUTCON
#pragma token EXP const : int : T_INCON # xpg3.xti.T_INCON
#pragma token EXP const : int : T_DATAXFER # xpg3.xti.T_DATAXFER
#pragma token EXP const : int : T_INREL # xpg3.xti.T_INREL
#pragma token EXP const : int : T_OUTREL # xpg3.xti.T_OUTREL
#pragma token EXP const : int : T_COTS # xpg3.xti.T_COTS
#pragma token EXP const : int : T_COTS_ORD # xpg3.xti.T_COTS_ORD
#pragma token EXP const : int : T_CLTS # xpg3.xti.T_CLTS
#pragma token EXP const : int : TBADADDR # xpg3.xti.TBADADDR
#pragma token EXP const : int : TBADOPT # xpg3.xti.TBADOPT
#pragma token EXP const : int : TACCES # xpg3.xti.TACCES
#pragma token EXP const : int : TBADF # xpg3.xti.TBADF
#pragma token EXP const : int : TNOADDR # xpg3.xti.TNOADDR
#pragma token EXP const : int : TOUTSTATE # xpg3.xti.TOUTSTATE
#pragma token EXP const : int : TBADSEQ # xpg3.xti.TBADSEQ
#pragma token EXP const : int : TSYSERR # xpg3.xti.TSYSERR
#pragma token EXP const : int : TLOOK # xpg3.xti.TLOOK
#pragma token EXP const : int : TBADDATA # xpg3.xti.TBADDATA
#pragma token EXP const : int : TBUFOVFLW # xpg3.xti.TBUFOVFLW
#pragma token EXP const : int : TFLOW # xpg3.xti.TFLOW
#pragma token EXP const : int : TNODATA # xpg3.xti.TNODATA
#pragma token EXP const : int : TNODIS # xpg3.xti.TNODIS
#pragma token EXP const : int : TNOUDERR # xpg3.xti.TNOUDERR
#pragma token EXP const : int : TBADFLAG # xpg3.xti.TBADFLAG
#pragma token EXP const : int : TNOREL # xpg3.xti.TNOREL
#pragma token EXP const : int : TNOTSUPPORT # xpg3.xti.TNOTSUPPORT
#pragma token EXP const : int : TSTATECHNG # xpg3.xti.TSTATECHNG
#pragma token EXP const : int : TNOSTRUCTYPE # xpg3.xti.TNOSTRUCTYPE
#pragma token EXP const : int : TBADNAME # xpg3.xti.TBADNAME
#pragma token EXP const : int : TBADQLEN # xpg3.xti.TBADQLEN
#pragma token EXP const : int : TADDRBUSY # xpg3.xti.TADDRBUSY
#pragma token EXP const : int : T_BIND_STR # xpg3.xti.T_BIND_STR
#pragma token EXP const : int : T_CALL_STR # xpg3.xti.T_CALL_STR
#pragma token EXP const : int : T_OPTMGMT_STR # xpg3.xti.T_OPTMGMT_STR
#pragma token EXP const : int : T_DIS_STR # xpg3.xti.T_DIS_STR
#pragma token EXP const : int : T_UNITDATA_STR # xpg3.xti.T_UNITDATA_STR
#pragma token EXP const : int : T_UDERROR_STR # xpg3.xti.T_UDERROR_STR
#pragma token EXP const : int : T_INFO_STR # xpg3.xti.T_INFO_STR
#pragma token EXP const : int : T_ADDR # xpg3.xti.T_ADDR
#pragma token EXP const : int : T_OPT # xpg3.xti.T_OPT
#pragma token EXP const : int : T_UDATA # xpg3.xti.T_UDATA
#pragma token EXP const : int : T_ALL # xpg3.xti.T_ALL
#pragma token EXP const : int : T_NEGOTIATE # xpg3.xti.T_NEGOTIATE
#pragma token EXP const : int : T_CHECK # xpg3.xti.T_CHECK
#pragma token EXP const : int : T_DEFAULT # xpg3.xti.T_DEFAULT
#pragma token EXP const : int : T_EXPEDITED # xpg3.xti.T_EXPEDITED
#pragma token EXP const : int : T_MORE # xpg3.xti.T_MORE
#pragma token STRUCT TAG netbuf # xpg3.xti.netbuf
#pragma token MEMBER unsigned int : struct netbuf : maxlen # xpg3.xti.netbuf.maxlen
#pragma token MEMBER unsigned int : struct netbuf : len # xpg3.xti.netbuf.len
#pragma token MEMBER char * : struct netbuf : buf # xpg3.xti.netbuf.buf
#pragma token STRUCT TAG t_call # xpg3.xti.t_call
#pragma token MEMBER struct netbuf : struct t_call : addr # xpg3.xti.t_call.addr
#pragma token MEMBER struct netbuf : struct t_call : opt # xpg3.xti.t_call.opt
#pragma token MEMBER struct netbuf : struct t_call : udata # xpg3.xti.t_call.udata
#pragma token MEMBER int : struct t_call : sequence # xpg3.xti.t_call.sequence
#pragma token STRUCT TAG t_bind # xpg3.xti.t_bind_struct
#pragma token MEMBER struct netbuf : struct t_bind : addr # xpg3.xti.t_bind.addr
#pragma token MEMBER unsigned int : struct t_bind : qlen # xpg3.xti.t_bind.qlen
#pragma token STRUCT TAG t_info # xpg3.xti.t_info
#pragma token MEMBER long : struct t_info : addr # xpg3.xti.t_info.addr
#pragma token MEMBER long : struct t_info : options # xpg3.xti.t_info.options
#pragma token MEMBER long : struct t_info : tsdu # xpg3.xti.t_info.tsdu
#pragma token MEMBER long : struct t_info : etsdu # xpg3.xti.t_info.etsdu
#pragma token MEMBER long : struct t_info : connect # xpg3.xti.t_info.connect
#pragma token MEMBER long : struct t_info : discon # xpg3.xti.t_info.discon
#pragma token MEMBER long : struct t_info : servtype # xpg3.xti.t_info.servtype
#pragma token STRUCT TAG t_optmgmt # xpg3.xti.t_optmgmt_struct
#pragma token MEMBER struct netbuf : struct t_optmgmt : opt # xpg3.xti.t_optmgmt.opt
#pragma token MEMBER long : struct t_optmgmt : flags # xpg3.xti.t_optmgmt.flags
#pragma token STRUCT TAG t_discon # xpg3.xti.t_discon
#pragma token MEMBER struct netbuf : struct t_discon : udata # xpg3.xti.t_discon.udata
#pragma token MEMBER int : struct t_discon : reason # xpg3.xti.t_discon.reason
#pragma token MEMBER int : struct t_discon : sequence # xpg3.xti.t_discon.sequence
#pragma token STRUCT TAG t_unitdata # xpg3.xti.t_unitdata
#pragma token MEMBER struct netbuf : struct t_unitdata : addr # xpg3.xti.t_unitdata.addr
#pragma token MEMBER struct netbuf : struct t_unitdata : opt # xpg3.xti.t_unitdata.opt
#pragma token MEMBER struct netbuf : struct t_unitdata : udata # xpg3.xti.t_unitdata.udata
#pragma token STRUCT TAG t_uderr # xpg3.xti.t_uderr
#pragma token MEMBER struct netbuf : struct t_uderr : addr # xpg3.xti.t_uderr.addr
#pragma token MEMBER struct netbuf : struct t_uderr : opt # xpg3.xti.t_uderr.opt
#pragma token MEMBER long : struct t_uderr : error # xpg3.xti.t_uderr.error
extern int t_errno;
extern char *t_errlist[];
extern int t_nerr;
#pragma token FUNC int (int, struct t_bind *, struct t_bind *) : t_bind # xpg3.xti.t_bind
#pragma token FUNC int (int) : t_close # xpg3.xti.t_close
#pragma token FUNC int (int) : t_look # xpg3.xti.t_look
#pragma token FUNC int (char *, int, struct t_info *) : t_open # xpg3.xti.t_open
#pragma token FUNC int (int) : t_sync # xpg3.xti.t_sync
#pragma token FUNC int (int) : t_unbind # xpg3.xti.t_unbind
#pragma token FUNC int (int, int, struct t_call *) : t_accept # xpg3.xti.t_accept
#pragma token FUNC int (int, struct t_call *, struct t_call *) : t_connect # xpg3.xti.t_connect
#pragma token FUNC int (int, struct t_call *) : t_listen # xpg3.xti.t_listen
#pragma token FUNC int (int, char *, unsigned int, int *) : t_rcv # xpg3.xti.t_rcv
#pragma token FUNC int (int, struct t_call *) : t_rcvconnect # xpg3.xti.t_rcvconnect
#pragma token FUNC int (int, struct t_discon *) : t_rcvdis # xpg3.xti.t_rcvdis
#pragma token FUNC int (int, char *, unsigned int, int) : t_snd # xpg3.xti.t_snd
#pragma token FUNC int (int, struct t_call *) : t_snddis # xpg3.xti.t_snddis
#pragma token FUNC int (int) : t_rcvrel # xpg3.xti.t_rcvrel
#pragma token FUNC int (int) : t_sndrel # xpg3.xti.t_sndrel
#pragma token FUNC int (int, struct t_unitdata *, int *) : t_rcvudata # xpg3.xti.t_rcvudata
#pragma token FUNC int (int, struct t_uderr *) : t_rcvuderr # xpg3.xti.t_rcvuderr
#pragma token FUNC int (int, struct t_unitdata *) : t_sndudata # xpg3.xti.t_sndudata
#pragma token FUNC int (char *) : t_error # xpg3.xti.t_error
#pragma token FUNC int (int, struct t_info *) : t_getinfo # xpg3.xti.t_getinfo
#pragma token FUNC int (int) : t_getstate # xpg3.xti.t_getstate
#pragma token FUNC int (int, struct t_optmgmt *, struct t_optmgmt *) : t_optmgmt # xpg3.xti.t_optmgmt
#pragma token FUNC char * (int, int, int) : t_alloc # xpg3.xti.t_alloc
#pragma token FUNC int (char *, int) : t_free # xpg3.xti.t_free
#pragma token STRUCT TAG rate # xpg3.xti.rate
#pragma token MEMBER long : struct rate : targetvalue # xpg3.xti.rate.targetvalue
#pragma token MEMBER long : struct rate : minacceptvalue # xpg3.xti.rate.minacceptvalue
#pragma token STRUCT TAG reqvalue # xpg3.xti.reqvalue
#pragma token MEMBER struct rate : struct reqvalue : called # xpg3.xti.reqvalue.called
#pragma token MEMBER struct rate : struct reqvalue : calling # xpg3.xti.reqvalue.calling
#pragma token STRUCT TAG thrpt # xpg3.xti.thrpt
#pragma token MEMBER struct reqvalue : struct thrpt : maxthrpt # xpg3.xti.thrpt.maxthrpt
#pragma token MEMBER struct reqvalue : struct thrpt : avgthrpt # xpg3.xti.thrpt.avgthrpt
#pragma token STRUCT TAG management # xpg3.xti.management
#pragma token MEMBER short : struct management : dflt # xpg3.xti.management.dflt
#pragma token MEMBER int : struct management : ltpdu # xpg3.xti.management.ltpdu
#pragma token MEMBER short : struct management : reastime # xpg3.xti.management.reastime
#pragma token MEMBER char : struct management : class # xpg3.xti.management.class
#pragma token MEMBER char : struct management : altclass # xpg3.xti.management.altclass
#pragma token MEMBER char : struct management : extform # xpg3.xti.management.extform
#pragma token MEMBER char : struct management : flowctrl # xpg3.xti.management.flowctrl
#pragma token MEMBER char : struct management : checksum # xpg3.xti.management.checksum
#pragma token MEMBER char : struct management : netexp # xpg3.xti.management.netexp
#pragma token MEMBER char : struct management : netrecptcf # xpg3.xti.management.netrecptcf
#pragma token STRUCT TAG isoco_options # xpg3.xti.isoco_options
#pragma token MEMBER struct thrpt : struct isoco_options : throughput # xpg3.xti.isoco_options.throughput
#pragma token MEMBER struct reqvalue : struct isoco_options : transdel # xpg3.xti.isoco_options.transdel
#pragma token MEMBER struct rate : struct isoco_options : reserrorrate # xpg3.xti.isoco_options.reserrorrate
#pragma token MEMBER struct rate : struct isoco_options : transffailprob # xpg3.xti.isoco_options.transffailprob
#pragma token MEMBER struct rate : struct isoco_options : estfailprob # xpg3.xti.isoco_options.estfailprob
#pragma token MEMBER struct rate : struct isoco_options : relfailprob # xpg3.xti.isoco_options.relfailprob
#pragma token MEMBER struct rate : struct isoco_options : estdelay # xpg3.xti.isoco_options.estdelay
#pragma token MEMBER struct rate : struct isoco_options : reldelay # xpg3.xti.isoco_options.reldelay
#pragma token MEMBER struct netbuf : struct isoco_options : connresil # xpg3.xti.isoco_options.connresil
#pragma token MEMBER unsigned short : struct isoco_options : protection # xpg3.xti.isoco_options.protection
#pragma token MEMBER short : struct isoco_options : priority # xpg3.xti.isoco_options.priority
#pragma token MEMBER struct management : struct isoco_options : mngmt # xpg3.xti.isoco_options.mngmt
#pragma token MEMBER char : struct isoco_options : expd # xpg3.xti.isoco_options.expd
#pragma token EXP const : int : T_UNUSED # xpg3.xti.T_UNUSED
#pragma token EXP const : int : T_YES # xpg3.xti.T_YES
#pragma token EXP const : int : T_NO # xpg3.xti.T_NO
#pragma token EXP const : int : T_CLASS0 # xpg3.xti.T_CLASS0
#pragma token EXP const : int : T_CLASS1 # xpg3.xti.T_CLASS1
#pragma token EXP const : int : T_CLASS2 # xpg3.xti.T_CLASS2
#pragma token EXP const : int : T_CLASS3 # xpg3.xti.T_CLASS3
#pragma token EXP const : int : T_CLASS4 # xpg3.xti.T_CLASS4
#pragma token EXP const : int : T_PRIDFLT # xpg3.xti.T_PRIDFLT
#pragma token EXP const : int : T_PRILOW # xpg3.xti.T_PRILOW
#pragma token EXP const : int : T_PRIMID # xpg3.xti.T_PRIMID
#pragma token EXP const : int : T_PRIHIGH # xpg3.xti.T_PRIHIGH
#pragma token EXP const : int : T_PRITOP # xpg3.xti.T_PRITOP
#pragma token EXP const : int : T_NOPROTECT # xpg3.xti.T_NOPROTECT
#pragma token EXP const : int : T_PASSIVEPROTECT # xpg3.xti.T_PASSIVEPROTECT
#pragma token EXP const : int : T_ACTIVEPROTECT # xpg3.xti.T_ACTIVEPROTECT
#pragma token EXP const : int : T_ABSREQ # xpg3.xti.T_ABSREQ
#pragma token EXP const : int : T_LTPDUDFLT # xpg3.xti.T_LTPDUDFLT
#pragma token STRUCT TAG isocl_options # xpg3.xti.isocl_options
#pragma token MEMBER struct rate : struct isocl_options : transdel # xpg3.xti.isocl_options.transdel
#pragma token MEMBER struct rate : struct isocl_options : reserrorrate # xpg3.xti.isocl_options.reserrorrate
#pragma token MEMBER unsigned short : struct isocl_options : protection # xpg3.xti.isocl_options.protection
#pragma token MEMBER short : struct isocl_options : priority # xpg3.xti.isocl_options.priority
#pragma token STRUCT TAG secoptions # xpg3.xti.secoptions
#pragma token MEMBER short : struct secoptions : security # xpg3.xti.secoptions.security
#pragma token MEMBER short : struct secoptions : compartment # xpg3.xti.secoptions.compartment
#pragma token MEMBER short : struct secoptions : handling # xpg3.xti.secoptions.handling
#pragma token MEMBER long : struct secoptions : tcc # xpg3.xti.secoptions.tcc
#pragma token STRUCT TAG tcp_options # xpg3.xti.tcp_options
#pragma token MEMBER short : struct tcp_options : precedence # xpg3.xti.tcp_options.precedence
#pragma token MEMBER long : struct tcp_options : timeout # xpg3.xti.tcp_options.timeout
#pragma token MEMBER long : struct tcp_options : max_seg_size # xpg3.xti.tcp_options.max_seg_size
#pragma token MEMBER struct secoptions : struct tcp_options : secopt # xpg3.xti.tcp_options.secopt
#pragma token EXP const : int : T_ROUTINE # xpg3.xti.T_ROUTINE
#pragma token EXP const : int : T_PRIORITY # xpg3.xti.T_PRIORITY
#pragma token EXP const : int : T_IMMEDIATE # xpg3.xti.T_IMMEDIATE
#pragma token EXP const : int : T_FLASH # xpg3.xti.T_FLASH
#pragma token EXP const : int : T_OVERRIDEFLASH # xpg3.xti.T_OVERRIDEFLASH
#pragma token EXP const : int : T_CRITIC_ECP # xpg3.xti.T_CRITIC_ECP
#pragma token EXP const : int : T_INETCONTROL # xpg3.xti.T_INETCONTROL
#pragma token EXP const : int : T_NETCONTROL # xpg3.xti.T_NETCONTROL
#endif /* 0 */

#if 0
#pragma interface T_LISTEN T_CONNECT T_DATA T_EXDATA T_DISCONNECT T_ORDREL
#pragma interface T_UDERR T_GODATA T_GOEXDATA T_UNINIT T_UNBND T_IDLE
#pragma interface T_OUTCON T_INCON T_DATAXFER T_INREL T_OUTREL T_COTS
#pragma interface T_COTS_ORD T_CLTS TBADADDR TBADOPT TACCES TBADF TNOADDR
#pragma interface TOUTSTATE TBADSEQ TSYSERR TLOOK TBADDATA TBUFOVFLW TFLOW
#pragma interface TNODATA TNODIS TNOUDERR TBADFLAG TNOREL TNOTSUPPORT
#pragma interface TSTATECHNG TNOSTRUCTYPE TBADNAME TBADQLEN TADDRBUSY
#pragma interface T_BIND_STR T_CALL_STR T_OPTMGMT_STR T_DIS_STR
#pragma interface T_UNITDATA_STR T_UDERROR_STR T_INFO_STR T_ADDR T_OPT
#pragma interface T_UDATA T_ALL T_NEGOTIATE T_CHECK T_DEFAULT T_EXPEDITED
#pragma interface T_MORE TAG netbuf TAG netbuf.maxlen TAG netbuf.len
#pragma interface TAG netbuf.buf TAG t_call TAG t_call.addr TAG t_call.opt
#pragma interface TAG t_call.udata TAG t_call.sequence TAG t_bind
#pragma interface TAG t_bind.addr TAG t_bind.qlen TAG t_info TAG t_info.addr
#pragma interface TAG t_info.options TAG t_info.tsdu TAG t_info.etsdu
#pragma interface TAG t_info.connect TAG t_info.discon TAG t_info.servtype
#pragma interface TAG t_optmgmt TAG t_optmgmt.opt TAG t_optmgmt.flags
#pragma interface TAG t_discon TAG t_discon.udata TAG t_discon.reason
#pragma interface TAG t_discon.sequence TAG t_unitdata TAG t_unitdata.addr
#pragma interface TAG t_unitdata.opt TAG t_unitdata.udata TAG t_uderr
#pragma interface TAG t_uderr.addr TAG t_uderr.opt TAG t_uderr.error t_bind
#pragma interface t_close t_look t_open t_sync t_unbind t_accept t_connect
#pragma interface t_listen t_rcv t_rcvconnect t_rcvdis t_snd t_snddis
#pragma interface t_rcvrel t_sndrel t_rcvudata t_rcvuderr t_sndudata t_error
#pragma interface t_getinfo t_getstate t_optmgmt t_alloc t_free TAG rate
#pragma interface TAG rate.targetvalue TAG rate.minacceptvalue TAG reqvalue
#pragma interface TAG reqvalue.called TAG reqvalue.calling TAG thrpt
#pragma interface TAG thrpt.maxthrpt TAG thrpt.avgthrpt TAG management
#pragma interface TAG management.dflt TAG management.ltpdu
#pragma interface TAG management.reastime TAG management.class
#pragma interface TAG management.altclass TAG management.extform
#pragma interface TAG management.flowctrl TAG management.checksum
#pragma interface TAG management.netexp TAG management.netrecptcf
#pragma interface TAG isoco_options TAG isoco_options.throughput
#pragma interface TAG isoco_options.transdel TAG isoco_options.reserrorrate
#pragma interface TAG isoco_options.transffailprob
#pragma interface TAG isoco_options.estfailprob
#pragma interface TAG isoco_options.relfailprob TAG isoco_options.estdelay
#pragma interface TAG isoco_options.reldelay TAG isoco_options.connresil
#pragma interface TAG isoco_options.protection TAG isoco_options.priority
#pragma interface TAG isoco_options.mngmt TAG isoco_options.expd T_UNUSED
#pragma interface T_YES T_NO T_CLASS0 T_CLASS1 T_CLASS2 T_CLASS3 T_CLASS4
#pragma interface T_PRIDFLT T_PRILOW T_PRIMID T_PRIHIGH T_PRITOP T_NOPROTECT
#pragma interface T_PASSIVEPROTECT T_ACTIVEPROTECT T_ABSREQ T_LTPDUDFLT
#pragma interface TAG isocl_options TAG isocl_options.transdel
#pragma interface TAG isocl_options.reserrorrate
#pragma interface TAG isocl_options.protection TAG isocl_options.priority
#pragma interface TAG secoptions TAG secoptions.security
#pragma interface TAG secoptions.compartment TAG secoptions.handling
#pragma interface TAG secoptions.tcc TAG tcp_options
#pragma interface TAG tcp_options.precedence TAG tcp_options.timeout
#pragma interface TAG tcp_options.max_seg_size TAG tcp_options.secopt
#pragma interface T_ROUTINE T_PRIORITY T_IMMEDIATE T_FLASH T_OVERRIDEFLASH
#pragma interface T_CRITIC_ECP T_INETCONTROL T_NETCONTROL
#endif /* 0 */

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_XPG3_XTI_H */
