From 4d9891e59e7c7ee77137fcdb3d02798af96811ff Mon Sep 17 00:00:00 2001 From: rofl0r Date: Fri, 23 Feb 2018 20:16:39 +0000 Subject: basicauth.[ch]: refactor to make basicauth_string() reusable --- src/basicauth.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/basicauth.h') 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 #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); -- cgit v1.2.3