summaryrefslogtreecommitdiffhomepage
path: root/src/basicauth.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basicauth.h')
-rw-r--r--src/basicauth.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basicauth.h b/src/basicauth.h
index e9366bb..61dc5c3 100644
--- a/src/basicauth.h
+++ b/src/basicauth.h
@@ -21,8 +21,12 @@
#ifndef TINYPROXY_BASICAUTH_H
#define TINYPROXY_BASICAUTH_H
+#include <stddef.h>
#include "vector.h"
+extern ssize_t basicauth_string(const char *user, const char *pass,
+ char *buf, size_t bufsize);
+
extern void basicauth_add (vector_t authlist,
const char *user, const char *pass);