view src/cookies.h @ 1494:9225a90ad7dd

make Doctree a non-virtual class Doctree now is a proper class with it's own implementation. StyleEngine no longer needs to provide the Doctree interface itself. This hopefully make the code easier to understand and should also be a bit faster as no virtual methods are involved.
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Thu, 07 Jan 2010 16:23:05 +0100
parents 44838cc1f38d
children 6fd1c55d8022
line wrap: on
line source
#ifndef __COOKIES_H__
#define __COOKIES_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */


#ifdef DISABLE_COOKIES
# define a_Cookies_get_query(url)  dStrdup("")
# define a_Cookies_init()    ;
# define a_Cookies_freeall() ;
#else
  char *a_Cookies_get_query(const DilloUrl *request_url);
  void  a_Cookies_set(Dlist *cookie_string, const DilloUrl *set_url);
  void  a_Cookies_init( void );
  void  a_Cookies_freeall( void );
#endif


#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* !__COOKIES_H__ */