Mercurial > mplayer.hg
view libmpdemux/cookies.h @ 17831:f36966ddbf77
exit if calloc() fails; free(muxer) before returning NULL if muxer_init() fails (to avoid memleak). Fixes cid 173
author | nicodvb |
---|---|
date | Sun, 12 Mar 2006 18:13:11 +0000 |
parents | 2af52902e7dc |
children |
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