view libmpdemux/cookies.h @ 18106:3a34a728fa1b

always cast stream IDs to unsigned before comparing to MAX_STREAMS. just defining them as unsigned might be a better fix though...
author reimar
date Sat, 15 Apr 2006 21:09:29 +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