4 #include <linux/types.h>
12 int init_mb(struct msg_buf *mb, size_t size);
13 void uninit_mb(struct msg_buf *mb);
15 int cmp_mb(struct msg_buf *mb, size_t size);
16 size_t remained_mb(struct msg_buf *mb);
17 int is_end_mb(struct msg_buf *mb);
19 int get_u32(struct msg_buf *mb, u32 *val);
20 int get_u64(struct msg_buf *mb, u64 *val);
22 int get_string(struct msg_buf *mb, char **str);
23 void put_strung(char *str);
25 #endif /* _MSG_BUF_H */