代码拉取完成,页面将自动刷新
/* buffer.h by John Garnett, 1993/11/07 */
/* It is usually better to include "lpc_incl.h" instead of including this
directly */
#ifndef _BUFFER_H_
#define _BUFFER_H_
#ifndef NO_BUFFER_TYPE
typedef struct buffer_s {
/* first two elements of struct must be 'ref' followed by 'size' */
unsigned short ref;
unsigned int size;
#ifdef DEBUG
unsigned short extra_ref;
#endif
unsigned char item[1];
} buffer_t;
/*
* buffer.c
*/
extern buffer_t null_buf;
INLINE buffer_t *null_buffer PROT((void));
INLINE void free_buffer PROT((buffer_t *));
buffer_t *allocate_buffer PROT((int));
int write_buffer PROT((buffer_t *, int, char *, int));
char *read_buffer PROT((buffer_t *, int, int, int *));
#endif
#endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。