Mac OS 9
OpenTransportUNIX.h File Reference

Open Transport client interface file for UNIX compatibility clients. More...

#include <stddef.h>
#include <OpenTransportProtocol.h>

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
 

Detailed Description

Open Transport client interface file for UNIX compatibility clients.

Introduced In: 2.5
Avaliable From: Universal Interfaces 3.4.1
Copyright: © 1993-2001 by Apple Computer, Inc. and Mentat Inc., all rights
reserved.

For bug reports, consult the following page on the World Wide Web:

http://developer.apple.com/bugreporter/

Function Documentation

◆ getmsg()

int getmsg ( int  fd,
strbuf ctlbuf,
strbuf databuf,
int *  flagsp 
)

STREAMS Primitives getmsg()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ getpmsg()

int getpmsg ( int  fd,
strbuf ctlbuf,
strbuf databuf,
int *  bandp,
int *  flagsp 
)

getpmsg()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ poll()

int poll ( pollfd fds,
size_t  nfds,
unsigned long  timeout 
)

poll()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ putmsg()

int putmsg ( int  fd,
const strbuf ctlbuf,
const strbuf databuf,
int  flags 
)

putmsg()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ putpmsg()

int putpmsg ( int  fd,
const strbuf ctlbuf,
const strbuf databuf,
int  band,
int  flags 
)

putpmsg()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ stream_asynchronous()

int stream_asynchronous ( int  fd)

stream_asynchronous()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ stream_blocking()

int stream_blocking ( int  fd)

stream_blocking()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ stream_close()

int stream_close ( int  fd)

stream_close()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ stream_installnotifier()

int stream_installnotifier ( int  fd,
OTNotifyProcPtr  proc,
void *  contextPtr 
)

Raw streams operations. stream_installnotifier()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ stream_ioctl()

int stream_ioctl ( int  fd,
unsigned long  cmd,
  ... 
)

stream_ioctl()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ stream_isblocking()

int stream_isblocking ( int  fd)

stream_isblocking()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ stream_issynchronous()

int stream_issynchronous ( int  fd)

stream_issynchronous()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ stream_nonblocking()

int stream_nonblocking ( int  fd)

stream_nonblocking()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ stream_open()

int stream_open ( char *  path,
unsigned long  flags 
)

stream_open()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ stream_pipe()

int stream_pipe ( int *  fds)

stream_pipe()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ stream_read()

int stream_read ( int  fd,
void *  buf,
size_t  len 
)

stream_read()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ stream_synchronous()

int stream_synchronous ( int  fd)

stream_synchronous()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ stream_write()

int stream_write ( int  fd,
void *  buf,
size_t  len 
)

stream_write()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_accept()

int t_accept ( int  fd,
int  resfd,
t_call call 
)

***** XTI Interfaces t_accept()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_alloc()

char* t_alloc ( int  fd,
int  struct_type,
int  fields 
)

t_alloc()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_asynchronous()

int t_asynchronous ( int  fd)

t_asynchronous()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_bind()

int t_bind ( int  fd,
struct t_bind req,
struct t_bind ret 
)

CALL_NOT_IN_CARBON

◆ t_blocking()

int t_blocking ( int  fd)

t_blocking()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_cancelreply()

int t_cancelreply ( int  fd,
long  sequence 
)

t_cancelreply()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_cancelrequest()

int t_cancelrequest ( int  fd,
long  sequence 
)

t_cancelrequest()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_cancelsynchronouscalls()

int t_cancelsynchronouscalls ( int  fd)

t_cancelsynchronouscalls()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_cancelureply()

int t_cancelureply ( int  fd,
long  sequence 
)

t_cancelureply()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_cancelurequest()

int t_cancelurequest ( int  fd,
long  sequence 
)

t_cancelurequest()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_close()

int t_close ( int  fd)

t_close()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_connect()

int t_connect ( int  fd,
t_call sndcall,
t_call rcvcall 
)

t_connect()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_error()

int t_error ( char *  errmsg)

t_error()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_free()

int t_free ( char *  ptr,
int  struct_type 
)

t_free()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_getinfo()

int t_getinfo ( int  fd,
t_info info 
)

t_getinfo()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_getstate()

int t_getstate ( int  fd)

t_getstate()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_installnotifier()

int t_installnotifier ( int  fd,
OTNotifyProcPtr  proc,
void *  contextPtr 
)

t_installnotifier()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_isnonblocking()

int t_isnonblocking ( int  fd)

Apple extensions t_isnonblocking()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_issynchronous()

int t_issynchronous ( int  fd)

t_issynchronous()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_listen()

int t_listen ( int  fd,
t_call call 
)

t_listen()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_look()

int t_look ( int  fd)

t_look()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_nonblocking()

int t_nonblocking ( int  fd)

t_nonblocking()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_open()

int t_open ( char *  path,
int  oflag,
t_info info 
)

t_open()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_rcv()

int t_rcv ( int  fd,
char *  buf,
size_t  nbytes,
int *  flags 
)

t_rcv()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_rcvconnect()

int t_rcvconnect ( int  fd,
t_call call 
)

t_rcvconnect()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_rcvdis()

int t_rcvdis ( int  fd,
t_discon discon 
)

t_rcvdis()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_rcvrel()

int t_rcvrel ( int  fd)

t_rcvrel()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_rcvreply()

int t_rcvreply ( int  fd,
t_reply rep,
int *  flags 
)

t_rcvreply()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_rcvrequest()

int t_rcvrequest ( int  fd,
t_request req,
int *  flags 
)

t_rcvrequest()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_rcvudata()

int t_rcvudata ( int  fd,
t_unitdata unitdata,
int *  flags 
)

t_rcvudata()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_rcvuderr()

int t_rcvuderr ( int  fd,
t_uderr uderr 
)

t_rcvuderr()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_rcvureply()

int t_rcvureply ( int  fd,
t_unitreply urep,
int *  flags 
)

t_rcvureply()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_rcvurequest()

int t_rcvurequest ( int  fd,
t_unitrequest ureq,
int *  flags 
)

t_rcvurequest()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_removenotifier()

void t_removenotifier ( int  fd)

t_removenotifier()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_snd()

int t_snd ( int  fd,
char *  buf,
size_t  nbytes,
int  flags 
)

t_snd()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_snddis()

int t_snddis ( int  fd,
t_call call 
)

t_snddis()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_sndrel()

int t_sndrel ( int  fd)

t_sndrel()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_sndreply()

int t_sndreply ( int  fd,
t_reply rep,
int  flags 
)

t_sndreply()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_sndrequest()

int t_sndrequest ( int  fd,
t_request req,
int  flags 
)

Not XTI standard functions, but extensions for transaction endpoints t_sndrequest()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_sndudata()

int t_sndudata ( int  fd,
t_unitdata unitdata 
)

t_sndudata()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_sndureply()

int t_sndureply ( int  fd,
t_unitreply urep,
int  flags 
)

t_sndureply()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_sndurequest()

int t_sndurequest ( int  fd,
t_unitrequest ureq,
int  flags 
)

t_sndurequest()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_sync()

int t_sync ( int  fd)

t_sync()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_synchronous()

int t_synchronous ( int  fd)

t_synchronous()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_unbind()

int t_unbind ( int  fd)

t_unbind()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ t_usesyncidleevents()

int t_usesyncidleevents ( int  fd,
int  useEvents 
)

t_usesyncidleevents()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

Variable Documentation

◆ t_errno

int t_errno
extern

***** Global Variables t_errno

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available