core: move most mpcommon.c contents to mplayer.c
[mplayer/glamo.git] / stream / cookies.h
blob88ff96d66a861f678f1821f35860617c64a8e887
1 /*
2 * HTTP Cookies
3 * Reads Netscape and Mozilla cookies.txt files
5 * Copyright (c) 2003 Dave Lambley <mplayer@davel.me.uk>
7 * This file is part of MPlayer.
9 * MPlayer is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * MPlayer is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License along
20 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 #ifndef MPLAYER_COOKIES_H
25 #define MPLAYER_COOKIES_H
27 #include "http.h"
29 void cookies_set(HTTP_header_t * http_hdr, const char *hostname,
30 const char *url);
32 #endif /* MPLAYER_COOKIES_H */