summaryrefslogtreecommitdiffstats
path: root/src/authz.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/authz.h')
-rw-r--r--src/authz.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/authz.h b/src/authz.h
index ad39b35..f9fbfa3 100644
--- a/src/authz.h
+++ b/src/authz.h
@@ -138,14 +138,6 @@ int cmd_validate(const policy_t *p, validate_opts o);
// util.c --------------------------------------------------------------------
-// A growing string. strncat with hand-computed room is how buffer bugs are
-// born.
-typedef struct {
- char *s; // never NULL once sb_init has run
- size_t len;
- size_t cap;
-} strbuf_t;
-
// A file, one entry per line. The newline is kept, and a last line without one
// is given one, so the lines may be written straight back out again.
typedef struct {
@@ -164,11 +156,6 @@ void lines_free(lines_t *l);
// nothing at all for a file that is optional here.
int authz_read_lines(const char *path, lines_t *l);
-void sb_init(strbuf_t *b);
-void sb_add(strbuf_t *b, const char *s);
-void sb_addf(strbuf_t *b, const char *fmt, ...);
-void sb_free(strbuf_t *b);
-
void *xmalloc(size_t n);
void *xrealloc(void *p, size_t n);
char *xstrdup(const char *s);