|
Mac OS 9
|
Open Transport client interface file for UNIX compatibility clients. More...
Go to the source code of this file.
Data Structures | |
| struct | netbuf |
| struct | t_info |
| struct | t_bind |
| struct | t_optmgmt |
| struct | t_discon |
| struct | t_call |
| struct | t_unitdata |
| struct | t_uderr |
| struct | t_request |
| struct | t_reply |
| struct | t_unitrequest |
| struct | t_unitreply |
| struct | t_opthdr |
| struct | pollfd |
Typedefs | |
| typedef struct netbuf | netbuf |
| typedef struct t_info | t_info |
| typedef struct t_discon | t_discon |
| typedef struct t_call | t_call |
| typedef struct t_unitdata | t_unitdata |
| typedef struct t_uderr | t_uderr |
| typedef struct t_request | t_request |
| typedef struct t_reply | t_reply |
| typedef struct t_unitrequest | t_unitrequest |
| typedef struct t_unitreply | t_unitreply |
| typedef struct t_opthdr | t_opthdr |
| typedef struct pollfd | pollfd |
Functions | |
| int | t_accept (int fd, int resfd, t_call *call) |
| char * | t_alloc (int fd, int struct_type, int fields) |
| int | t_bind (int fd, struct t_bind *req, struct t_bind *ret) |
| int | t_optmgmt (int fd, struct t_optmgmt *req, struct t_optmgmt *ret) |
| int | t_getprotaddr (int fd, struct t_bind *boundaddr, struct t_bind *peeraddr) |
| int | t_resolveaddr (int fd, struct t_bind *reqAddr, struct t_bind *retAddr, OTTimeout timeout) |
| int | t_close (int fd) |
| int | t_connect (int fd, t_call *sndcall, t_call *rcvcall) |
| int | t_free (char *ptr, int struct_type) |
| int | t_getinfo (int fd, t_info *info) |
| int | t_getstate (int fd) |
| int | t_listen (int fd, t_call *call) |
| int | t_look (int fd) |
| int | t_open (char *path, int oflag, t_info *info) |
| int | t_blocking (int fd) |
| int | t_nonblocking (int fd) |
| int | t_rcv (int fd, char *buf, size_t nbytes, int *flags) |
| int | t_rcvconnect (int fd, t_call *call) |
| int | t_rcvdis (int fd, t_discon *discon) |
| int | t_rcvrel (int fd) |
| int | t_rcvudata (int fd, t_unitdata *unitdata, int *flags) |
| int | t_rcvuderr (int fd, t_uderr *uderr) |
| int | t_snd (int fd, char *buf, size_t nbytes, int flags) |
| int | t_snddis (int fd, t_call *call) |
| int | t_sndrel (int fd) |
| int | t_sndudata (int fd, t_unitdata *unitdata) |
| int | t_sync (int fd) |
| int | t_unbind (int fd) |
| int | t_error (char *errmsg) |
| int | t_isnonblocking (int fd) |
| int | t_asynchronous (int fd) |
| int | t_synchronous (int fd) |
| int | t_issynchronous (int fd) |
| int | t_usesyncidleevents (int fd, int useEvents) |
| int | t_sndrequest (int fd, t_request *req, int flags) |
| int | t_rcvreply (int fd, t_reply *rep, int *flags) |
| int | t_rcvrequest (int fd, t_request *req, int *flags) |
| int | t_sndreply (int fd, t_reply *rep, int flags) |
| int | t_cancelrequest (int fd, long sequence) |
| int | t_cancelreply (int fd, long sequence) |
| int | t_sndurequest (int fd, t_unitrequest *ureq, int flags) |
| int | t_rcvureply (int fd, t_unitreply *urep, int *flags) |
| int | t_rcvurequest (int fd, t_unitrequest *ureq, int *flags) |
| int | t_sndureply (int fd, t_unitreply *urep, int flags) |
| int | t_cancelurequest (int fd, long sequence) |
| int | t_cancelureply (int fd, long sequence) |
| int | t_cancelsynchronouscalls (int fd) |
| int | t_installnotifier (int fd, OTNotifyProcPtr proc, void *contextPtr) |
| void | t_removenotifier (int fd) |
| int | getmsg (int fd, strbuf *ctlbuf, strbuf *databuf, int *flagsp) |
| int | putmsg (int fd, const strbuf *ctlbuf, const strbuf *databuf, int flags) |
| int | getpmsg (int fd, strbuf *ctlbuf, strbuf *databuf, int *bandp, int *flagsp) |
| int | putpmsg (int fd, const strbuf *ctlbuf, const strbuf *databuf, int band, int flags) |
| int | stream_installnotifier (int fd, OTNotifyProcPtr proc, void *contextPtr) |
| int | stream_blocking (int fd) |
| int | stream_nonblocking (int fd) |
| int | stream_isblocking (int fd) |
| int | stream_synchronous (int fd) |
| int | stream_asynchronous (int fd) |
| int | stream_issynchronous (int fd) |
| int | stream_open (char *path, unsigned long flags) |
| int | stream_close (int fd) |
| int | stream_read (int fd, void *buf, size_t len) |
| int | stream_write (int fd, void *buf, size_t len) |
| int | stream_ioctl (int fd, unsigned long cmd,...) |
| int | stream_pipe (int *fds) |
| int | poll (pollfd *fds, size_t nfds, unsigned long timeout) |
Variables | |
| int | t_errno |
Open Transport client interface file for UNIX compatibility clients.
For bug reports, consult the following page on the World Wide Web:
http://developer.apple.com/bugreporter/
STREAMS Primitives getmsg()
| int poll | ( | pollfd * | fds, |
| size_t | nfds, | ||
| unsigned long | timeout | ||
| ) |
| int stream_asynchronous | ( | int | fd | ) |
| int stream_blocking | ( | int | fd | ) |
| int stream_close | ( | int | fd | ) |
| int stream_installnotifier | ( | int | fd, |
| OTNotifyProcPtr | proc, | ||
| void * | contextPtr | ||
| ) |
Raw streams operations. stream_installnotifier()
| int stream_ioctl | ( | int | fd, |
| unsigned long | cmd, | ||
| ... | |||
| ) |
| int stream_isblocking | ( | int | fd | ) |
| int stream_issynchronous | ( | int | fd | ) |
| int stream_nonblocking | ( | int | fd | ) |
| int stream_open | ( | char * | path, |
| unsigned long | flags | ||
| ) |
| int stream_pipe | ( | int * | fds | ) |
| int stream_read | ( | int | fd, |
| void * | buf, | ||
| size_t | len | ||
| ) |
| int stream_synchronous | ( | int | fd | ) |
| int stream_write | ( | int | fd, |
| void * | buf, | ||
| size_t | len | ||
| ) |
| int t_accept | ( | int | fd, |
| int | resfd, | ||
| t_call * | call | ||
| ) |
***** XTI Interfaces t_accept()
| char* t_alloc | ( | int | fd, |
| int | struct_type, | ||
| int | fields | ||
| ) |
| int t_asynchronous | ( | int | fd | ) |
| int t_blocking | ( | int | fd | ) |
| int t_cancelreply | ( | int | fd, |
| long | sequence | ||
| ) |
| int t_cancelrequest | ( | int | fd, |
| long | sequence | ||
| ) |
| int t_cancelsynchronouscalls | ( | int | fd | ) |
| int t_cancelureply | ( | int | fd, |
| long | sequence | ||
| ) |
| int t_cancelurequest | ( | int | fd, |
| long | sequence | ||
| ) |
| int t_close | ( | int | fd | ) |
| int t_error | ( | char * | errmsg | ) |
| int t_free | ( | char * | ptr, |
| int | struct_type | ||
| ) |
| int t_getinfo | ( | int | fd, |
| t_info * | info | ||
| ) |
| int t_getstate | ( | int | fd | ) |
| int t_installnotifier | ( | int | fd, |
| OTNotifyProcPtr | proc, | ||
| void * | contextPtr | ||
| ) |
| int t_isnonblocking | ( | int | fd | ) |
Apple extensions t_isnonblocking()
| int t_issynchronous | ( | int | fd | ) |
| int t_listen | ( | int | fd, |
| t_call * | call | ||
| ) |
| int t_look | ( | int | fd | ) |
| int t_nonblocking | ( | int | fd | ) |
| int t_open | ( | char * | path, |
| int | oflag, | ||
| t_info * | info | ||
| ) |
| int t_rcv | ( | int | fd, |
| char * | buf, | ||
| size_t | nbytes, | ||
| int * | flags | ||
| ) |
| int t_rcvconnect | ( | int | fd, |
| t_call * | call | ||
| ) |
| int t_rcvdis | ( | int | fd, |
| t_discon * | discon | ||
| ) |
| int t_rcvrel | ( | int | fd | ) |
| int t_rcvreply | ( | int | fd, |
| t_reply * | rep, | ||
| int * | flags | ||
| ) |
| int t_rcvrequest | ( | int | fd, |
| t_request * | req, | ||
| int * | flags | ||
| ) |
| int t_rcvudata | ( | int | fd, |
| t_unitdata * | unitdata, | ||
| int * | flags | ||
| ) |
| int t_rcvuderr | ( | int | fd, |
| t_uderr * | uderr | ||
| ) |
| int t_rcvureply | ( | int | fd, |
| t_unitreply * | urep, | ||
| int * | flags | ||
| ) |
| int t_rcvurequest | ( | int | fd, |
| t_unitrequest * | ureq, | ||
| int * | flags | ||
| ) |
| void t_removenotifier | ( | int | fd | ) |
| int t_snd | ( | int | fd, |
| char * | buf, | ||
| size_t | nbytes, | ||
| int | flags | ||
| ) |
| int t_snddis | ( | int | fd, |
| t_call * | call | ||
| ) |
| int t_sndrel | ( | int | fd | ) |
| int t_sndreply | ( | int | fd, |
| t_reply * | rep, | ||
| int | flags | ||
| ) |
| int t_sndrequest | ( | int | fd, |
| t_request * | req, | ||
| int | flags | ||
| ) |
Not XTI standard functions, but extensions for transaction endpoints t_sndrequest()
| int t_sndudata | ( | int | fd, |
| t_unitdata * | unitdata | ||
| ) |
| int t_sndureply | ( | int | fd, |
| t_unitreply * | urep, | ||
| int | flags | ||
| ) |
| int t_sndurequest | ( | int | fd, |
| t_unitrequest * | ureq, | ||
| int | flags | ||
| ) |
| int t_sync | ( | int | fd | ) |
| int t_synchronous | ( | int | fd | ) |
| int t_unbind | ( | int | fd | ) |
| int t_usesyncidleevents | ( | int | fd, |
| int | useEvents | ||
| ) |
|
extern |
***** Global Variables t_errno