aboutsummaryrefslogtreecommitdiff
path: root/src/http_Auth.h
blob: c5bf70e80f117d9403ac160d880f6ea086e2bf58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 /*@@
   @header    http_Auth.h
   @date      Fri Sep 15 13:20:01 2000
   @author    Tom Goodale
   @desc 
   
   @enddesc
   @version $Header$
 @@*/

#ifndef __HTTP_AUTH_H__
#define __HTTP_AUTH_H__ 1

#ifdef __cplusplus
extern "C" 
{
#endif

int HTTP_AuthAddUser(const char *database, 
                     const char *name,
                     const char *password,
                     const char *encryption_scheme);

int HTTP_AuthenticateBasic(httpRequest *request,
                           const char *database,
                           char *user,
                           int length);

#ifdef __cplusplus
}
#endif

#endif /* __HTTP_AUTH_H__ */