?? ss_strm.x
字號:
/********************************************************************20**
Name: System Services -- STREAMS
Type: C include file
Desc: Data structure definitions for STREAMS messages.
File: ss_strm.x
Sid: ss_strm.x 1.2 - 08/11/98 10:47:26
Prg: kp
*********************************************************************21*/
#ifndef __SSSTRMX__
#define __SSSTRMX__
#ifdef __cplusplus
extern "C" {
#endif
/* message block is defined in ssi.x */
typedef struct ssmsgb SsMblk;
/* data block */
struct ssdatab
{
struct ssfree_rtn *db_frtnp; /* free routine */
U8 *db_base; /* base of data buffer */
U8 *db_lim; /* limit of data buffer */
U8 db_ref; /* reference count */
U8 db_type; /* type of data block */
};
typedef struct ssdatab SsDblk;
/* to free memory used with esballoc() */
struct ssfree_rtn
{
void (*free_func)(char *); /* free function */
char *free_arg; /* argument to function */
};
typedef struct ssfree_rtn SsFrtn;
/* STREAMS functions prototypes */
PUBLIC S16 ssStrmCfg ARGS((Region, Region));
PUBLIC S32 ssAdjMsg ARGS((SsMblk *, S32));
PUBLIC SsMblk *ssAllocB ARGS((S32, U32));
PUBLIC SsMblk *ssCopyB ARGS((SsMblk *));
PUBLIC SsMblk *ssCopyMsg ARGS((SsMblk *));
PUBLIC SsMblk *ssDupB ARGS((SsMblk *));
PUBLIC SsMblk *ssDupMsg ARGS((SsMblk *));
PUBLIC SsMblk *ssESBAlloc ARGS((U8 *, S32, S32, SsFrtn *));
PUBLIC void ssFreeB ARGS((SsMblk *));
PUBLIC void ssFreeMsg ARGS((SsMblk *));
PUBLIC void ssLinkB ARGS((SsMblk *, SsMblk *));
PUBLIC S32 ssMsgDSize ARGS((SsMblk *));
PUBLIC S32 ssPullupMsg ARGS((SsMblk *, S32));
PUBLIC SsMblk *ssRmvB ARGS((SsMblk *, SsMblk *));
PUBLIC S32 ssTestB ARGS((S32, U32));
PUBLIC SsMblk *ssUnlinkB ARGS((SsMblk *));
#ifdef __cplusplus
}
#endif
#endif /* __SSSTRMX__ */
/********************************************************************30**
End of file: ss_strm.x 1.2 - 08/11/98 10:47:26
*********************************************************************31*/
/********************************************************************40**
Notes:
*********************************************************************41*/
/********************************************************************50**
*********************************************************************51*/
/********************************************************************60**
Revision history:
*********************************************************************61*/
/********************************************************************90**
ver pat init description
------------ -------- ---- ----------------------------------------------
1.1 --- kp 1. initial release
1.2 --- kp 1. C++ compilable, cosmetic changes
*********************************************************************91*/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -