Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/msgbuf.h
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | |||||
void msgbuf_copy(struct msgbuf *src, struct msgbuf *dst); | void msgbuf_copy(struct msgbuf *src, struct msgbuf *dst); | ||||
int msgbuf_getbytes(struct msgbuf *mbp, char *buf, int buflen); | int msgbuf_getbytes(struct msgbuf *mbp, char *buf, int buflen); | ||||
int msgbuf_getchar(struct msgbuf *mbp); | int msgbuf_getchar(struct msgbuf *mbp); | ||||
int msgbuf_getcount(struct msgbuf *mbp); | int msgbuf_getcount(struct msgbuf *mbp); | ||||
void msgbuf_init(struct msgbuf *mbp, void *ptr, int size); | void msgbuf_init(struct msgbuf *mbp, void *ptr, int size); | ||||
int msgbuf_peekbytes(struct msgbuf *mbp, char *buf, int buflen, | int msgbuf_peekbytes(struct msgbuf *mbp, char *buf, int buflen, | ||||
u_int *seqp); | u_int *seqp); | ||||
void msgbuf_reinit(struct msgbuf *mbp, void *ptr, int size); | void msgbuf_reinit(struct msgbuf *mbp, void *ptr, int size); | ||||
void msgbuf_duplicate(struct msgbuf *src, struct msgbuf *dst, char *msgptr); | |||||
#ifndef MSGBUF_SIZE | #ifndef MSGBUF_SIZE | ||||
#define MSGBUF_SIZE (32768 * 3) | #define MSGBUF_SIZE (32768 * 3) | ||||
#endif | #endif | ||||
#endif /* KERNEL */ | #endif /* KERNEL */ | ||||
#endif /* !_SYS_MSGBUF_H_ */ | #endif /* !_SYS_MSGBUF_H_ */ |