view stream/cookies.h @ 29577:0ce49cb1b85b

Change real_setup_and_get_header to use goto a single exit path to simplify proper freeing of allocated data.
author reimar
date Wed, 02 Sep 2009 10:10:42 +0000
parents 0f1b5b68af32
children ce0122361a39
line wrap: on
line source

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

#ifndef MPLAYER_COOKIES_H
#define MPLAYER_COOKIES_H

#include "http.h"

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

#endif /* MPLAYER_COOKIES_H */