X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuhttpd.git;a=blobdiff_plain;f=uhttpd.h;h=a465a3dbf2c5d2cb0d27e92de59f2d47ab683df7;hp=02d270508d80f21b31919dcf7ef4a2d0d3c88469;hb=38801a320d3f10de1f8ebfffd8964a1ad6d511f4;hpb=1fc5ad7f4fa30abc636680acd5e170198dfb6c32 diff --git a/uhttpd.h b/uhttpd.h index 02d2705..a465a3d 100644 --- a/uhttpd.h +++ b/uhttpd.h @@ -118,16 +118,17 @@ struct client { struct blob_buf hdr; - void (*dispatch_write_cb)(struct client *cl); - void (*dispatch_close_fds)(struct client *cl); - void (*dispatch_free)(struct client *cl); - - union { - struct { - struct blob_attr **hdr; - int fd; - } file; - } data; + struct { + void (*write_cb)(struct client *cl); + void (*close_fds)(struct client *cl); + void (*free)(struct client *cl); + union { + struct { + struct blob_attr **hdr; + int fd; + } file; + }; + } dispatch; }; extern int n_clients;