YAZ  5.25.0
Typedefs | Functions
cookie.h File Reference

HTTP cookie handling. More...

#include <yaz/zgdu.h>

Go to the source code of this file.


typedef struct yaz_cookies_syaz_cookies_t


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

◆ yaz_cookies_t

typedef struct yaz_cookies_s* yaz_cookies_t

Definition at line 40 of file cookie.h.

Function Documentation

◆ yaz_cookies_create()

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().

◆ yaz_cookies_destroy()

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().

◆ yaz_cookies_request()

void yaz_cookies_request ( yaz_cookies_t  yc,
ODR  odr,
Z_HTTP_Request req 

◆ yaz_cookies_reset()

void yaz_cookies_reset ( yaz_cookies_t  yc)

◆ yaz_cookies_response()

void yaz_cookies_response ( yaz_cookies_t  yc,
Z_HTTP_Response res