X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuclient.git;a=blobdiff_plain;f=uclient-backend.h;h=50227155dd45feaa44b9d985a4c705085fd01a99;hp=f72c11fb3ad2f5eee7b14c09b96b64bb32d2ab33;hb=dbd61a7a6d5b61ba24d73f56e97b4d56baedffaf;hpb=c280d54e1bc79de4424fabc3fad011cc15587b81;ds=sidebyside diff --git a/uclient-backend.h b/uclient-backend.h index f72c11f..5022715 100644 --- a/uclient-backend.h +++ b/uclient-backend.h @@ -8,13 +8,13 @@ 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); int (*read)(struct uclient *cl, char *buf, unsigned int len); int (*write)(struct uclient *cl, char *buf, unsigned int len); - int (*set_write_len)(struct uclient *cl, unsigned int len); }; struct uclient_url {