NetSurf
cookies.h
Go to the documentation of this file.
1/*
2 * Copyright 2009 Paul Blokus <paul_pl@users.sourceforge.net>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19/** \file
20 * Cookies (interface).
21 */
22
23#ifndef __NSGTK_COOKIES_H__
24#define __NSGTK_COOKIES_H__
25
26/**
27 * make the cookie window visible.
28 *
29 * \return NSERROR_OK on success else appropriate error code on faliure.
30 */
31nserror nsgtk_cookies_present(const char *search_term);
32
33/**
34 * Free any resources allocated for the cookie window.
35 *
36 * \return NSERROR_OK on success else appropriate error code on faliure.
37 */
39
40
41#endif /* __NSGTK_COOKIES_H__ */
nserror
Enumeration of error codes.
Definition: errors.h:29
nserror nsgtk_cookies_present(const char *search_term)
make the cookie window visible.
Definition: cookies.c:312
nserror nsgtk_cookies_destroy(void)
Free any resources allocated for the cookie window.
Definition: cookies.c:326