?? ss_msg.h
字號:
/********************************************************************20**
Name: System Services -- Message manipulation functions
Type: C source file
Desc: Macro definitions for message related functions.
File: ss_msg.h
Sid: ss_msg.h 1.2 - 08/11/98 10:47:12
Prg: sn
*********************************************************************21*/
#ifndef __SSMSGH__
#define __SSMSGH__
#ifdef __cplusplus
extern "C" {
#endif
/* default SS region ID */
#define SS_DFLT_REGION 0
#define SS_DFLT_POOL 0
/* pool types */
#define SS_POOL_UND 0
#define SS_POOL_DYNAMIC 1
#define SS_POOL_STATIC 2
/* utility macros */
#define FIND_OFFSET(current, idx) \
{ \
S16 bufSiz; \
while (idx) \
{ \
bufSiz = (current->b_wptr - current->b_rptr); \
if (bufSiz > idx) \
break; \
idx -= bufSiz; \
current = current->b_cont; \
} \
}
#define FIND_OFFSET_AND_PREV(previous, current, idx) \
{ \
S16 bufSiz; \
while (idx) \
{ \
bufSiz = (current->b_wptr - current->b_rptr); \
if (bufSiz > idx) \
break; \
idx -= bufSiz; \
previous = current; \
current = current->b_cont; \
} \
}
#ifdef __cplusplus
}
#endif
#endif /* __SSMSGH__ */
/********************************************************************30**
End of file: ss_msg.h 1.2 - 08/11/98 10:47:12
*********************************************************************31*/
/********************************************************************40**
Notes:
*********************************************************************41*/
/********************************************************************50**
*********************************************************************51*/
/********************************************************************60**
Revision history:
*********************************************************************61*/
/********************************************************************90**
ver pat init description
------------ -------- ---- ----------------------------------------------
1.1 --- sn 1. initial release
1.2 --- kp 1. C++ compilable, cosmetic changes
*********************************************************************91*/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -