Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/sbuf.h
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | |||||
int sbuf_cpy(struct sbuf *, const char *); | int sbuf_cpy(struct sbuf *, const char *); | ||||
int sbuf_printf(struct sbuf *, const char *, ...) | int sbuf_printf(struct sbuf *, const char *, ...) | ||||
__printflike(2, 3); | __printflike(2, 3); | ||||
int sbuf_vprintf(struct sbuf *, const char *, __va_list) | int sbuf_vprintf(struct sbuf *, const char *, __va_list) | ||||
__printflike(2, 0); | __printflike(2, 0); | ||||
int sbuf_nl_terminate(struct sbuf *); | int sbuf_nl_terminate(struct sbuf *); | ||||
int sbuf_putc(struct sbuf *, int); | int sbuf_putc(struct sbuf *, int); | ||||
void sbuf_set_drain(struct sbuf *, sbuf_drain_func *, void *); | void sbuf_set_drain(struct sbuf *, sbuf_drain_func *, void *); | ||||
int sbuf_drain(struct sbuf *); | |||||
int sbuf_trim(struct sbuf *); | int sbuf_trim(struct sbuf *); | ||||
int sbuf_error(const struct sbuf *); | int sbuf_error(const struct sbuf *); | ||||
int sbuf_finish(struct sbuf *); | int sbuf_finish(struct sbuf *); | ||||
char *sbuf_data(struct sbuf *); | char *sbuf_data(struct sbuf *); | ||||
ssize_t sbuf_len(struct sbuf *); | ssize_t sbuf_len(struct sbuf *); | ||||
int sbuf_done(const struct sbuf *); | int sbuf_done(const struct sbuf *); | ||||
void sbuf_delete(struct sbuf *); | void sbuf_delete(struct sbuf *); | ||||
void sbuf_start_section(struct sbuf *, ssize_t *); | void sbuf_start_section(struct sbuf *, ssize_t *); | ||||
Show All 16 Lines |