view stream/cookies.h @ 29585:a17d4f8040f1

free(), delete and delete[] are all different and can't just be used at random, so change code to use the one appropriate for the allocation used.
author reimar
date Wed, 02 Sep 2009 11:07:02 +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 */