aboutsummaryrefslogtreecommitdiff
path: root/src/Cookies.h
blob: 2b6c43d414a9b9f2c8ea1a458e99beeec86e1ce2 (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
41
42
43
 /*@@
   @header    Cookies.h
   @date      Mon Sep 18 22:40:06 2000
   @author    Tom Goodale
   @desc 
   Functions to manipulate cookies.  Was http_Cookies.h; still exported by
   that name
   @enddesc
   @version $Header$
 @@*/

#ifndef __HTTP_COOKIES_H__
#define __HTTP_COOKIES_H__ 1

#include "httpRequest.h"

#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__ */