21 #ifndef __OPENTRANSPORTUNIX__
22 #define __OPENTRANSPORTUNIX__
25 #ifndef __OPENTRANSPORTPROTOCOL__
41 #if PRAGMA_STRUCT_ALIGN
42 #pragma options align = mac68k
43 #elif PRAGMA_STRUCT_PACKPUSH
45 #elif PRAGMA_STRUCT_PACK
49 #if defined(__MWERKS__) && TARGET_CPU_68K
51 #pragma pointers_in_D0
165 #if CALL_NOT_IN_CARBON
193 t_getprotaddr(
int fd,
struct t_bind *boundaddr,
struct t_bind *peeraddr);
195 t_resolveaddr(
int fd,
struct t_bind *reqAddr,
struct t_bind *retAddr,
197 #if CALL_NOT_IN_CARBON
317 t_rcv(
int fd,
char *buf,
size_t nbytes,
int *flags);
383 t_snd(
int fd,
char *buf,
size_t nbytes,
int flags);
876 #if CALL_NOT_IN_CARBON
892 #if defined(__MWERKS__) && TARGET_CPU_68K
896 #if PRAGMA_STRUCT_ALIGN
897 #pragma options align = reset
898 #elif PRAGMA_STRUCT_PACKPUSH
900 #elif PRAGMA_STRUCT_PACK
904 #ifdef PRAGMA_IMPORT_OFF
Definitions likely to be used by low-level protocol stack implementation.
int t_rcvrequest(int fd, t_request *req, int *flags)
int t_snddis(int fd, t_call *call)
int stream_read(int fd, void *buf, size_t len)
int stream_nonblocking(int fd)
int t_sndrequest(int fd, t_request *req, int flags)
int t_rcvurequest(int fd, t_unitrequest *ureq, int *flags)
int putmsg(int fd, const strbuf *ctlbuf, const strbuf *databuf, int flags)
int t_cancelurequest(int fd, long sequence)
int stream_write(int fd, void *buf, size_t len)
int t_error(char *errmsg)
int getpmsg(int fd, strbuf *ctlbuf, strbuf *databuf, int *bandp, int *flagsp)
int t_rcvureply(int fd, t_unitreply *urep, int *flags)
int t_bind(int fd, struct t_bind *req, struct t_bind *ret)
int t_cancelrequest(int fd, long sequence)
int stream_open(char *path, unsigned long flags)
int t_issynchronous(int fd)
int t_rcvreply(int fd, t_reply *rep, int *flags)
char * t_alloc(int fd, int struct_type, int fields)
int t_getinfo(int fd, t_info *info)
int putpmsg(int fd, const strbuf *ctlbuf, const strbuf *databuf, int band, int flags)
int t_rcvudata(int fd, t_unitdata *unitdata, int *flags)
int poll(pollfd *fds, size_t nfds, unsigned long timeout)
int t_rcvuderr(int fd, t_uderr *uderr)
int t_open(char *path, int oflag, t_info *info)
int t_cancelreply(int fd, long sequence)
int stream_installnotifier(int fd, OTNotifyProcPtr proc, void *contextPtr)
int stream_pipe(int *fds)
int t_isnonblocking(int fd)
int t_listen(int fd, t_call *call)
int t_asynchronous(int fd)
int t_free(char *ptr, int struct_type)
int t_sndurequest(int fd, t_unitrequest *ureq, int flags)
int getmsg(int fd, strbuf *ctlbuf, strbuf *databuf, int *flagsp)
int t_synchronous(int fd)
int t_sndreply(int fd, t_reply *rep, int flags)
int stream_blocking(int fd)
int t_cancelsynchronouscalls(int fd)
int t_rcvconnect(int fd, t_call *call)
int stream_synchronous(int fd)
int t_snd(int fd, char *buf, size_t nbytes, int flags)
int stream_ioctl(int fd, unsigned long cmd,...)
int t_usesyncidleevents(int fd, int useEvents)
int t_installnotifier(int fd, OTNotifyProcPtr proc, void *contextPtr)
int stream_issynchronous(int fd)
int t_rcvdis(int fd, t_discon *discon)
int t_sndudata(int fd, t_unitdata *unitdata)
int t_rcv(int fd, char *buf, size_t nbytes, int *flags)
int t_connect(int fd, t_call *sndcall, t_call *rcvcall)
int t_accept(int fd, int resfd, t_call *call)
int stream_isblocking(int fd)
int stream_asynchronous(int fd)
int t_nonblocking(int fd)
int t_sndureply(int fd, t_unitreply *urep, int flags)
int t_cancelureply(int fd, long sequence)
void t_removenotifier(int fd)
Definition: OpenTransportUNIX.h:75
Definition: OpenTransportUNIX.h:869
Definition: OpenTransport.h:1533
Definition: OpenTransportUNIX.h:93
Definition: OpenTransportUNIX.h:107
Definition: OpenTransportUNIX.h:101
Definition: OpenTransportUNIX.h:81
unsigned int servtype
Definition: OpenTransportUNIX.h:88
int etsdu
Definition: OpenTransportUNIX.h:85
int connect
Definition: OpenTransportUNIX.h:86
int tsdu
Definition: OpenTransportUNIX.h:84
int discon
Definition: OpenTransportUNIX.h:87
int options
Definition: OpenTransportUNIX.h:83
unsigned int flags
Definition: OpenTransportUNIX.h:89
Definition: OpenTransportUNIX.h:154
unsigned long level
Definition: OpenTransportUNIX.h:157
unsigned long name
Definition: OpenTransportUNIX.h:158
unsigned long status
Definition: OpenTransportUNIX.h:159
Definition: OpenTransportUNIX.h:97
Definition: OpenTransportUNIX.h:135
Definition: OpenTransportUNIX.h:129
Definition: OpenTransportUNIX.h:120
Definition: OpenTransportUNIX.h:114
Definition: OpenTransportUNIX.h:148
Definition: OpenTransportUNIX.h:141