upipe/ucookie.h header reference

Upipe functions to parse HTTP cookies More

Header inclusion  

Members  

Type  

Functions  

Description  

Upipe functions to parse HTTP cookies

Members detail  

#define _UPIPE_UCOOKIE_H_  

This macro is declared in upipe/ucookie.h source file, line 31.

struct ucookie  

This struct is declared in upipe/ucookie.h source file, line 40.

This struct stores a parsed cookie.

FieldDescription
struct ustring name;cookie name
struct ustring value;cookie value
struct ustring expires;cookie expiration
struct ustring max_age;cookie max age
struct ustring domain;cookie domain
struct ustring path;cookie path
bool secure;cookie secure
bool http_only;cookie http only

int ucookie_from_str(struct ucookie *ucookie, const char *str)  

This function is declared in upipe/ucookie.h source file, line 83.

This function makes an ucookie structure from a string.

Parameter list:

  • ucookie: a pointer to an ucookie structure
  • str: the string to parse

The return value is an error code

struct ucookie ucookie_null(void )  

This function is declared in upipe/ucookie.h source file, line 64.

This function returns an initialized ucookie structure.

The return value is an initialized ucookie structure

Valid XHTML 1.0 StrictGenerated by cmassiot on Fri Feb 2 23:57:19 2018 using MkDoc