diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-22 18:31:41 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-22 18:31:51 +0100 |
commit | 95fa6036384f116a2cc1e9f1298bea57ef81d611 (patch) | |
tree | d43ce8212b44f99f75cc1ff13286765331844517 /uclient.h | |
parent | dbd61a7a6d5b61ba24d73f56e97b4d56baedffaf (diff) | |
download | uclient-95fa6036384f116a2cc1e9f1298bea57ef81d611.tar.gz |
make uclient_backend_http visible to allow the client to test for it
the struct is still opaque, it is only used for pointer tests
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient.h')
-rw-r--r-- | uclient.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -47,6 +47,8 @@ int uclient_write(struct uclient *cl, char *buf, int len); int uclient_request(struct uclient *cl); /* HTTP */ +extern const struct uclient_backend uclient_backend_http; + int uclient_http_set_header(struct uclient *cl, const char *name, const char *value); int uclient_http_reset_headers(struct uclient *cl, const char *name, const char *value); int uclient_http_set_request_type(struct uclient *cl, const char *type); |