[backfire] merge all uhttpd changes from trunk
[openwrt-10.03/.git] / package / uhttpd / src / uhttpd.h
index ff058d62bff3e214e4dee0e5c8cb5e35a63050e7..993bf93af1dc0d436864379fbea730df2d196f00 100644 (file)
@@ -98,7 +98,7 @@ struct config {
        int (*tls_cert) (SSL_CTX *c, const char *file);
        int (*tls_key) (SSL_CTX *c, const char *file);
        void (*tls_free) (struct listener *l);
-       void (*tls_accept) (struct client *c);
+       int (*tls_accept) (struct client *c);
        void (*tls_close) (struct client *c);
        int (*tls_recv) (struct client *c, void *buf, int len);
        int (*tls_send) (struct client *c, void *buf, int len);
@@ -159,4 +159,3 @@ struct interpreter {
 #endif
 
 #endif
-