From 10da665cbcf682158428c491cdadf86c7b17825b Mon Sep 17 00:00:00 2001 From: m0gg Date: Fri, 21 Apr 2006 08:39:11 +0000 Subject: Added a hrequest_t parameter to authentication function --- nanohttp/nanohttp-server.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nanohttp/nanohttp-server.h') diff --git a/nanohttp/nanohttp-server.h b/nanohttp/nanohttp-server.h index 5b36c6f..85402c5 100644 --- a/nanohttp/nanohttp-server.h +++ b/nanohttp/nanohttp-server.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-server.h,v 1.18 2006/03/23 13:51:06 m0gg Exp $ + * $Id: nanohttp-server.h,v 1.19 2006/04/21 08:39:11 m0gg Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -45,7 +45,7 @@ typedef struct httpd_conn Service callback */ typedef void (*httpd_service) (httpd_conn_t *, hrequest_t *); -typedef int (*httpd_auth) (const char *user, const char *password); +typedef int (*httpd_auth) (hrequest_t *req, const char *user, const char *password); /* * Service representation object -- cgit v1.1-32-gdbae