home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / lynx2.8.1dev.10.tar.gz / lynx2.8.1dev.10.tar / lynx2-8 / src / LYCookie.h < prev    next >
C/C++ Source or Header  |  1997-07-12  |  537b  |  25 lines

  1.  
  2. #ifndef LYCOOKIES_H
  3. #define LYCOOKIES_H
  4.  
  5. extern void LYSetCookie PARAMS((
  6.     CONST char *    SetCookie,
  7.     CONST char *    SetCookie2,
  8.     CONST char *    address));
  9. extern char *LYCookie PARAMS((
  10.     CONST char *    hostname,
  11.     CONST char *    partialpath,
  12.     int        port,
  13.     BOOL        secure));
  14.  
  15. typedef enum {ACCEPT_ALWAYS, REJECT_ALWAYS, QUERY_USER} behaviour;
  16.  
  17. struct _domain_entry {
  18.     char *    domain;  /* Domain for which these cookies are valid */
  19.     behaviour    bv;
  20.     HTList *    cookie_list;
  21. };
  22. typedef struct _domain_entry domain_entry;
  23.  
  24. #endif /* LYCOOKIES_H */
  25.