YAZ  5.23.1
Data Structures | Functions
cookie.c File Reference

HTTP cookie utility. More...

#include <yaz/cookie.h>
#include <yaz/log.h>

Go to the source code of this file.

Data Structures

struct  cookie
struct  yaz_cookies_s


yaz_cookies_t yaz_cookies_create (void)
void yaz_cookies_destroy (yaz_cookies_t yc)
void yaz_cookies_reset (yaz_cookies_t yc)
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)

Detailed Description

HTTP cookie utility.

Definition in file cookie.c.

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  yc)

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