~ubuntu-branches/ubuntu/lucid/curl/lucid-security

« back to all changes in this revision

Viewing changes to lib/cookie.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-12-12 15:04:52 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20051212150452-2ymlra67b2p7kjyy
Tags: 7.15.1-1ubuntu1
Resynchronise with Debian to get URL parser overflow fix from 7.15.1
(CVE-2005-4077).

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21
21
 * KIND, either express or implied.
22
22
 *
23
 
 * $Id: cookie.h,v 1.17 2004/10/06 07:50:18 bagder Exp $
 
23
 * $Id: cookie.h,v 1.19 2005/08/17 08:55:43 bagder Exp $
24
24
 ***************************************************************************/
25
25
 
26
26
#include <stdio.h>
38
38
  char *value;       /* name = <this> */
39
39
  char *path;         /* path = <this> */
40
40
  char *domain;      /* domain = <this> */
41
 
  long expires;    /* expires = <this> */
 
41
  curl_off_t expires;  /* expires = <this> */
42
42
  char *expirestr;   /* the plain text version */
43
43
  bool tailmatch;    /* weather we do tail-matchning of the domain name */
44
44
 
92
92
void Curl_cookie_cleanup(struct CookieInfo *);
93
93
int Curl_cookie_output(struct CookieInfo *, char *);
94
94
 
 
95
#if defined(CURL_DISABLE_HTTP) || defined(CURL_DISABLE_COOKIES)
 
96
#define Curl_cookie_list(x) NULL
 
97
#define Curl_cookie_loadfiles(x)
 
98
#else
 
99
struct curl_slist *Curl_cookie_list(struct SessionHandle *data);
 
100
void Curl_cookie_loadfiles(struct SessionHandle *data);
 
101
#endif
 
102
 
95
103
#endif