view stream/cookies.h @ 29594:331320b4557b

Limit amount of data allocated on stack, strlen(filename) is not a good idea for file name strings that might come from arbitrary playlists, use PATH_MAX instead.
author reimar
date Wed, 02 Sep 2009 19:49:10 +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 */