YAZ  5.23.1
Typedefs | Functions
cookie.h File Reference

HTTP cookie handling. More...

#include <yaz/zgdu.h>

Go to the source code of this file.

Typedefs

typedef struct yaz_cookies_syaz_cookies_t
 

Functions

yaz_cookies_t yaz_cookies_create (void)
 
void yaz_cookies_destroy (yaz_cookies_t yt)
 
void yaz_cookies_response (yaz_cookies_t yc, Z_HTTP_Response *res)
 
void yaz_cookies_request (yaz_cookies_t yc, ODR odr, Z_HTTP_Request *req)
 
void yaz_cookies_reset (yaz_cookies_t yc)
 

Detailed Description

HTTP cookie handling.

Definition in file cookie.h.

Typedef Documentation

typedef struct yaz_cookies_s* yaz_cookies_t

Definition at line 40 of file cookie.h.

Function Documentation

yaz_cookies_t yaz_cookies_create ( void  )

Definition at line 28 of file cookie.c.

References yaz_cookies_s::list, and xmalloc.

Referenced by yaz_url_create(), and ZOOM_connection_connect().

void yaz_cookies_destroy ( yaz_cookies_t  yt)

Definition at line 35 of file cookie.c.

References xfree, and yaz_cookies_reset().

Referenced by yaz_url_destroy(), ZOOM_connection_connect(), and ZOOM_connection_destroy().

void yaz_cookies_request ( yaz_cookies_t  yc,
ODR  odr,
Z_HTTP_Request req 
)
void yaz_cookies_reset ( yaz_cookies_t  yc)
void yaz_cookies_response ( yaz_cookies_t  yc,
Z_HTTP_Response res 
)