X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/bfff2c60b2c860c2bc466bdab94daf770d86aec5..8f802697c8d9c4fc52e4d0ce4facf643358aac1a:/uip/popsbr.c diff --git a/uip/popsbr.c b/uip/popsbr.c index 81f3db75..9ccf6dcc 100644 --- a/uip/popsbr.c +++ b/uip/popsbr.c @@ -5,14 +5,16 @@ * complete copyright information. */ -#include +#include "h/mh.h" +#include "sbr/credentials.h" +#include "sbr/client.h" #include "sbr/error.h" -#include -#include -#include +#include "h/utils.h" +#include "h/oauth.h" +#include "h/netsec.h" -#include -#include +#include "popsbr.h" +#include "h/signals.h" #include "sbr/base64.h" #define TRM "." @@ -83,7 +85,7 @@ check_mech(char *server_mechs, size_t server_mechs_size) * suitable for passing to exec. Returned array must be freed. Shouldn't * be possible to call this with host set to NULL. */ -char ** +static char ** parse_proxy(char *proxy, char *host) { char **pargv, **p; @@ -556,7 +558,7 @@ pop_done (void) } -int +static int command(const char *fmt, ...) { va_list ap; @@ -616,7 +618,7 @@ vcommand (const char *fmt, va_list ap) } -int +static int multiline (void) { char buffer[BUFSIZ + LEN(TRM)];