view stream/cookies.h @ 23838:8287ef1758cb

subdata must be set to NULL when the corresponding data was freed. "mp_input_queue_cmd(mp_input_parse_cmd("sub_select"));" will do this somewhen as well, but that might already be too late.
author reimar
date Wed, 25 Jul 2007 17:13:02 +0000
parents 3f0d00abc073
children 3baf6a2283da
line wrap: on
line source

/*
 * HTTP Cookies
 * Reads Netscape and Mozilla cookies.txt files
 * 
 * by Dave Lambley <mplayer@davel.me.uk>
 */

#ifndef COOKIES_H
#define COOKIES_H

#include "http.h"

extern void cookies_set(HTTP_header_t * http_hdr, const char *hostname,
			const char *url);

#endif