aboutsummaryrefslogtreecommitdiff
path: root/src/http_Cookies.h
blob: 51792272053c70617ae7ea1cb479ce7cbbab4bb0 (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
34
35
36
37
38
39
40
 /*@@
   @header    http_Cookies.h
   @date      Mon Sep 18 22:40:06 2000
   @author    Tom Goodale
   @desc 
   Functions to manipulate cookies.
   @enddesc
   @version $Header$
 @@*/

#ifndef __HTTP_COOKIES_H__
#define __HTTP_COOKIES_H__ 1

#ifdef __cplusplus
extern "C" 
{
#endif

int HTTP_CookieSend(httpRequest *request,
                    const char *name, 
                    const char *value, 
                    const char *path,
                    const char *domain,
                    const char *expires,
                    int secure);

int HTTP_CookieCancel(httpRequest *request,
                      const char *name, 
                      const char *path);

char *HTTP_CookieGet(httpRequest *request,
                     const char *name);


#ifdef __cplusplus
}
#endif

#endif /* __HTTP_COOKIES_H__ */