X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=uclient-backend.h;h=c2b9fd538189e2c4a96240bb7bae159031abd3eb;hb=refs%2Fheads%2Fmaster;hp=b013cde0b05dd04c4ffaa97a26ef430191ab1bd0;hpb=b6e5548a3ecc562db4c8d5356bdfd9a3fa5e59f8;p=project%2Fuclient.git diff --git a/uclient-backend.h b/uclient-backend.h index b013cde..1b808ac 100644 --- a/uclient-backend.h +++ b/uclient-backend.h @@ -34,6 +34,7 @@ struct uclient_backend { int (*read)(struct uclient *cl, char *buf, unsigned int len); int (*write)(struct uclient *cl, const char *buf, unsigned int len); + int (*pending_bytes)(struct uclient *cl, bool write); }; void uclient_backend_set_error(struct uclient *cl, int code);