Lines Matching refs:k5buf
51 struct k5buf { struct
62 void k5_buf_init_fixed(struct k5buf *buf, void *data, size_t space);
65 void k5_buf_init_dynamic(struct k5buf *buf);
69 void k5_buf_init_dynamic_zap(struct k5buf *buf);
72 void k5_buf_add(struct k5buf *buf, const char *data);
75 void k5_buf_add_len(struct k5buf *buf, const void *data, size_t len);
79 void k5_buf_add_fmt(struct k5buf *buf, const char *fmt, ...)
87 void k5_buf_add_vfmt(struct k5buf *buf, const char *fmt, va_list ap)
95 char *k5_buf_cstring(struct k5buf *buf);
99 void *k5_buf_get_space(struct k5buf *buf, size_t len);
103 void k5_buf_truncate(struct k5buf *buf, size_t len);
106 int k5_buf_status(struct k5buf *buf);
115 void k5_buf_free(struct k5buf *buf);
118 k5_buf_add_byte(struct k5buf *buf, uint8_t val) in k5_buf_add_byte()
124 k5_buf_add_uint16_be(struct k5buf *buf, uint16_t val) in k5_buf_add_uint16_be()
133 k5_buf_add_uint16_le(struct k5buf *buf, uint16_t val) in k5_buf_add_uint16_le()
142 k5_buf_add_uint32_be(struct k5buf *buf, uint32_t val) in k5_buf_add_uint32_be()
151 k5_buf_add_uint32_le(struct k5buf *buf, uint32_t val) in k5_buf_add_uint32_le()
160 k5_buf_add_uint64_be(struct k5buf *buf, uint64_t val) in k5_buf_add_uint64_be()
169 k5_buf_add_uint64_le(struct k5buf *buf, uint64_t val) in k5_buf_add_uint64_le()