view libmpdemux/cookies.h @ 19085:e5ec659ec1c6

added checks for stupid code like casting return value of malloc and friends, sizeof(char) and similar 1 byte types, &&1, ||0, +0, -0, *1, *0 typical usage: ./checktree.sh -none -stupid -showcont somefile.c
author ivo
date Fri, 14 Jul 2006 22:05:49 +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