pass auth_str to uclient_new()
[oweals/uclient.git] / uclient.h
index 961f52357c1b306cb5e73e96eeb4a5e5c66b90c2..60b021e9993c02dbd49cdd341f80d43d10ac8d0f 100644 (file)
--- a/uclient.h
+++ b/uclient.h
@@ -55,7 +55,7 @@ struct uclient_cb {
        void (*error)(struct uclient *cl, int code);
 };
 
-struct uclient *uclient_new(const char *url, const struct uclient_cb *cb);
+struct uclient *uclient_new(const char *url, const char *auth_str, const struct uclient_cb *cb);
 void uclient_free(struct uclient *cl);
 
 int uclient_connect_url(struct uclient *cl, const char *url_str);