⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xti.h

📁 OpenSS7 This the fourth public release of the OpenSS7 Master Package. See README in the release for
💻 H
📖 第 1 页 / 共 2 页
字号:
/** XTI Library Function: t_rcvvudata - receive a data unit into one or more  * noncontiguous buffers. */extern int t_rcvvudata(int, struct t_unitdata *, struct t_iovec *, unsigned int, int *);/** XTI Library Function: t_removeleaf - remove a leaf from a point to  * multipoint connection. */extern int t_removeleaf(int, int, int);/** XTI Library Function: t_snd - send data or expedited data over a connection.  */extern int t_snd(int, char *, unsigned int, int);/** XTI Library Function: t_snddis - send user-initiated disconnect request. */extern int t_snddis(int, const struct t_call *);/** XTI Library Function: t_sndopt - send data with options. */extern int t_sndopt(int fd, const struct t_unitdata *optdata, int flags);/** XTI Library Function: t_sndrel - initiate an orderly release. */extern int t_sndrel(int);/** XTI Library Function: t_sndreldata - initiate or respond to an orderly  * release with user data. */extern int t_sndreldata(int, struct t_discon *);/** XTI Library Function: t_sndudata - send a data unit. */extern int t_sndudata(int, const struct t_unitdata *);/** XTI Library Function: t_sndv - send data or expedited data, from one or more  * noncontiguous buffers, on a connection. */extern int t_sndv(int, const struct t_iovec *, unsigned int, int);/** XTI Library Function: t_sndvopt - send data with options from one or more  * non-contiguous buffers. */extern int t_sndvopt(int fd, const struct t_unitdata *optdata, const		     struct t_iovec *iov, unsigned int iovcount, int flags);/** XTI Library Function: t_sndvudata - send a data unit from one or more  * non-contiguous buffers. */extern int t_sndvudata(int, struct t_unitdata *, struct t_iovec *, unsigned int);/** XTI Library Function: t_strerror - generate error message string. */extern const char *t_strerror(int);/** XTI Library Function: t_sync - synchronise transport library. */extern int t_sync(int);/** XTI Library Function: t_sysconf - get configurable XTI variables. */extern int t_sysconf(int);/** XTI Library Function: t_unbind - disable a transport endpoint. */extern int t_unbind(int);/* *INDENT-ON* *//** @} *//** @name Non-Thread-Safe XTI Library Functions  * These are the non-thread-safe versions of the XTI Library functions.  They  * can by called directly using these symbols if thread safety is not  * required and they may by just a little bit faster than the "t_" versions  * (which are the same as the "_r" thread-safe versions).  * @{ */extern int __xnet_t_accept(int, int, const struct t_call *);extern int __xnet_t_addleaf(int, int, struct netbuf *);extern char *__xnet_t_alloc(int, int, int);extern int __xnet_t_bind(int, const struct t_bind *, struct t_bind *);extern int __xnet_t_close(int);extern int __xnet_t_connect(int, const struct t_call *, struct t_call *);extern int __xnet_t_error(const char *);extern int __xnet_t_free(void *, int);extern int __xnet_t_getinfo(int, struct t_info *);extern int __xnet_t_getprotaddr(int, struct t_bind *, struct t_bind *);extern int __xnet_t_getstate(int);extern int __xnet_t_listen(int, struct t_call *);extern int __xnet_t_look(int);extern int __xnet_t_open(const char *, int, struct t_info *);extern int __xnet_t_optmgmt(int, const struct t_optmgmt *, struct t_optmgmt *);extern int __xnet_t_rcv(int, char *, unsigned int, int *);extern int __xnet_t_rcvconnect(int, struct t_call *);extern int __xnet_t_rcvdis(int, struct t_discon *);extern int __xnet_t_rcvleafchange(int, struct t_leaf_status *);extern int __xnet_t_rcvopt(int fd, struct t_unitdata *optdata, int *flags);extern int __xnet_t_rcvrel(int);extern int __xnet_t_rcvreldata(int, struct t_discon *);extern int __xnet_t_rcvudata(int, struct t_unitdata *, int *);extern int __xnet_t_rcvuderr(int, struct t_uderr *);extern int __xnet_t_rcvv(int, struct t_iovec *, unsigned int, int *);extern int __xnet_t_rcvvopt(int fd, const struct t_unitdata *optdata, const			    struct t_iovec *iov, unsigned int iovcount, int flags);extern int __xnet_t_rcvvudata(int, struct t_unitdata *, struct t_iovec *, unsigned int, int *);extern int __xnet_t_removeleaf(int, int, int);extern int __xnet_t_snd(int, char *, unsigned int, int);extern int __xnet_t_snddis(int, const struct t_call *);extern int __xnet_t_sndopt(int fd, const struct t_unitdata *optdata, int flags);extern int __xnet_t_sndrel(int);extern int __xnet_t_sndreldata(int, struct t_discon *);extern int __xnet_t_sndudata(int, const struct t_unitdata *);extern int __xnet_t_sndv(int, const struct t_iovec *, unsigned int, int);extern int __xnet_t_sndvopt(int fd, const struct t_unitdata *optdata, const			    struct t_iovec *iov, unsigned int iovcount, int flags);extern int __xnet_t_sndvudata(int, struct t_unitdata *, struct t_iovec *, unsigned int);extern const char *__xnet_t_strerror(int);extern int __xnet_t_sync(int);extern int __xnet_t_sysconf(int);extern int __xnet_t_unbind(int);/** @} *//** @name Thread-Safe XTI Library Functions  * These are thread-safe versions of the XTI Library functions.  Functions  * that do not appear on this list (with an "_r") do not require thread  * protection (normally because they can contain a thread cancellation point  * and they do not accept a file descriptor for which read lock protection in  * required.)  *  * These are the thread-safe (reentrant), and asyncrhonous thread  * cancellation conforming versions of the XTI Library functions without the  * "_r" at the end.  Many of these functions contain asyncrhonous thread  * cancellation deferral because they cannot contain thread cancellation  * points and yet the implementation calls functions that contain thread  * cancellation points.  *  * Functions that do not appear on this list (with an "_r") do not require  * thread protection (normally because they can contain a thread cancellation  * point and they do not accept a file descriptor for which read lock  * protection in required.)  * @{ */extern int __xnet_t_accept_r(int fd, int resfd, const struct t_call *call);extern int __xnet_t_addleaf_r(int fd, int leafid, struct netbuf *addr);extern char *__xnet_t_alloc_r(int fd, int type, int fields);extern int __xnet_t_bind_r(int fd, const struct t_bind *req, struct t_bind *ret);extern int __xnet_t_close_r(int fd);extern int __xnet_t_connect_r(int fd, const struct t_call *sndcall, struct t_call *rcvcall);extern int __xnet_t_getinfo_r(int fd, struct t_info *info);extern int __xnet_t_getstate_r(int fd);extern int __xnet_t_listen_r(int fd, struct t_call *call);extern int __xnet_t_look_r(int fd);extern int __xnet_t_open_r(const char *path, int oflag, struct t_info *info);extern int __xnet_t_optmgmt_r(int fd, const struct t_optmgmt *req, struct t_optmgmt *ret);extern int __xnet_t_rcv_r(int fd, char *buf, unsigned int nbytes, int *flags);extern int __xnet_t_rcvconnect_r(int fd, struct t_call *call);extern int __xnet_t_rcvdis_r(int fd, struct t_discon *discon);extern int __xnet_t_rcvleafchange_r(int fd, struct t_leaf_status *change);extern int __xnet_t_rcvrel_r(int fd);extern int __xnet_t_rcvreldata_r(int fd, struct t_discon *discon);extern int __xnet_t_rcvopt_r(int fd, struct t_unitdata *optdata, int *flags);extern int __xnet_t_rcvudata_r(int fd, struct t_unitdata *unitdata, int *flags);extern int __xnet_t_rcvv_r(int fd, struct t_iovec *iov, unsigned int iovcount, int *flags);extern int __xnet_t_rcvvudata_r(int fd, struct t_unitdata *unitdata, struct t_iovec *iov,				unsigned int iovcount, int *flags);extern int __xnet_t_removeleaf_r(int fd, int leafid, int reason);extern int __xnet_t_snd_r(int fd, char *buf, unsigned int nbytes, int flags);extern int __xnet_t_snddis_r(int fd, const struct t_call *call);extern int __xnet_t_sndrel_r(int fd);extern int __xnet_t_sndreldata_r(int fd, struct t_discon *discon);extern int __xnet_t_sndopt_r(int fd, const struct t_unitdata *optdata, int flags);extern int __xnet_t_sndvopt_r(int fd, const struct t_unitdata *optdata, const struct t_iovec *iov,			      unsigned int iovcount, int flags);extern int __xnet_t_sndudata_r(int fd, const struct t_unitdata *unitdata);extern int __xnet_t_sndv_r(int fd, const struct t_iovec *iov, unsigned int iovcount, int flags);extern int __xnet_t_sndvudata_r(int fd, struct t_unitdata *unitdata, struct t_iovec *iov,				unsigned int iovcount);extern int __xnet_t_unbind_r(int fd);/** @} */#endif				/* __KERNEL__ *//** @} */#ifdef __END_DECLS/* *INDENT-OFF* */__END_DECLS/* *INDENT-ON* */#endif#endif				/* _XTI_H */// vim: com=srO\:/**,mb\:*,ex\:*/,srO\:/*,mb\:*,ex\:*/,b\:TRANS

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -