diff options
author | snowdrop | 2006-02-18 20:14:35 +0000 |
---|---|---|
committer | snowdrop | 2006-02-18 20:14:35 +0000 |
commit | d45b4bc26f330d2ce29e4a06ffdae74d82e8b43b (patch) | |
tree | d4b985c32b1246f5cde7c294b6654b27f71cc81b /nanohttp/nanohttp-common.h | |
parent | 29b034ec9c827c7311e69fcb5765ef4e43478c29 (diff) | |
download | csoap-d45b4bc26f330d2ce29e4a06ffdae74d82e8b43b.tar.gz csoap-d45b4bc26f330d2ce29e4a06ffdae74d82e8b43b.tar.bz2 |
added basic authentication and SOAP-Header capabilities for request objects
Thanks to Heiko Ronsdorf
Diffstat (limited to 'nanohttp/nanohttp-common.h')
-rw-r--r-- | nanohttp/nanohttp-common.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/nanohttp/nanohttp-common.h b/nanohttp/nanohttp-common.h index 607fc2b..d982d51 100644 --- a/nanohttp/nanohttp-common.h +++ b/nanohttp/nanohttp-common.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-common.h,v 1.24 2006/01/18 16:28:24 mrcsys Exp $ + * $Id: nanohttp-common.h,v 1.25 2006/02/18 20:14:36 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003-2004 Ferhat Ayaz @@ -39,6 +39,8 @@ #define HEADER_DATE "Date" #define HEADER_ACCEPT "Accept" +#define HEADER_AUTHORIZATION "Authorization" +#define HEADER_WWW_AUTHENTICATE "WWW-Authenticate" #define NHTTPD_ARG_PORT "-NHTTPport" #define NHTTPD_ARG_TERMSIG "-NHTTPtsig" @@ -189,15 +191,6 @@ char *herror_func(herror_t err); char *herror_message(herror_t err); void herror_release(herror_t err); - -/* - string function to compare strings ignoring case - Returns 1 if s1 equals s2 and 0 otherwise. - */ -int strcmpigcase(const char *s1, const char *s2); - - - /* hpairnode_t represents a pair (key, value) pair. This is also a linked list. |