NetSurf
content_debug.h
Go to the documentation of this file.
1/*
2 * Copyright 2016 Vincent Sanders <vince@netsurf-browser.org>
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/**
20 * \file
21 * Interface to content handling debug.
22 */
23
24#ifndef _NETSURF_CONTENT_CONTENT_DEBUG_H_
25#define _NETSURF_CONTENT_CONTENT_DEBUG_H_
26
27#include <stdio.h>
28
29/**
30 * Dump debug information to file.
31 *
32 * \param h content handle to debug.
33 * \param f File to write output to.
34 * \param op Debug operation type.
35 */
36nserror content_debug_dump(struct hlcache_handle *h, FILE *f, enum content_debug op);
37
38#endif
nserror content_debug_dump(struct hlcache_handle *h, FILE *f, enum content_debug op)
Dump debug information to file.
Definition: content.c:922
content_debug
Debugging dump operations.
Definition: content_type.h:30
nserror
Enumeration of error codes.
Definition: errors.h:29
High-level cache handle.
Definition: hlcache.c:66