fix prefix id passing
[project/uclient.git] / uclient-backend.h
index 5f83995..fdebf26 100644 (file)
@@ -8,6 +8,7 @@ struct uclient_backend {
 
        struct uclient *(*alloc)(void);
        void (*free)(struct uclient *cl);
+       void (*update_url)(struct uclient *cl);
 
        int (*connect)(struct uclient *cl);
        int (*request)(struct uclient *cl);
@@ -27,8 +28,9 @@ struct uclient_url {
        const char *auth;
 };
 
-extern const struct uclient_backend uclient_backend_http;
+void uclient_backend_set_error(struct uclient *cl);
 void uclient_backend_set_eof(struct uclient *cl);
 void uclient_backend_reset_state(struct uclient *cl);
+struct uclient_url *uclient_get_url(const char *url_str, const char *auth_str);
 
 #endif