Debian Codegraph @

src/source/bz2_priv.h

raw symbols SCIP
1 /*
2 * Copyright 2014 Red Hat Inc., Durham, North Carolina.
3 * All Rights Reserved.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library 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 GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 *
19 *
20 */
21 #ifndef OSCAP_SOURCE_BZIP2_H
22 #define OSCAP_SOURCE_BZIP2_Hcxx . . $ `src/source/bz2_priv.h:22:9`!
23
24 #ifdef HAVE_CONFIG_Hcxx . . $ `<built-in>:409:9`!
25 #include <config.h>cxx . . $ `<file>/build/config.h`/
26 #endif
27
28 #include "common/public/oscap.h"cxx . . $ `<file>/src/common/public/oscap.h`/
29 #include "common/util.h"cxx . . $ `<file>/src/common/util.h`/
30 #include <libxml/tree.h>
31
32
33 #ifdef BZIP2_FOUNDcxx . . $ `build/config.h:50:9`!
34
35 /**
36 * Parse *.xml.bz2 file to XML DOM
37 * @param fd The file descriptor to bz2 file
38 * @returns DOM representation of the file
39 */
40 xmlDoccxx . . $ xmlDoc# *bz2_fd_read_doccxx . . $ bz2_fd_read_doc(d2eb9631c5e91c58).(int fd);
41
42 /**
43 * Parse bzip2ed memory to XML DOM.
44 * @param buffer data in memory to process (contains bzip2ed XML)
45 * @param size length of data
46 * @returns DOM representation of the data
47 */
48 xmlDoccxx . . $ xmlDoc# *bz2_mem_read_doccxx . . $ bz2_mem_read_doc(a702256848c0d94e).(const char *buffer, size_t size);
49
50 #endif // BZIP2_FOUND
51
52 /**
53 * Recognize whether the file can be parsed by this
54 * bz2 parser. Do not close the file.
55 * @param file descriptor to opened file
56 * @returns true if can be parsed.
57 */
58 boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! bz2_fd_is_bzipcxx . . $ bz2_fd_is_bzip(83c267b20bac841a).(int fd);
59
60 /**
61 * @brief Recognize whether the file can be parsed by this
62 * bz2 parser
63 * @param memory Raw memory with file content
64 * @param size Size of memory
65 * @return true if can be parsed
66 */
67 boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! bz2_memory_is_bzipcxx . . $ bz2_memory_is_bzip(4be6f7de8d2c8d82).(const char* memory, const size_t size);
68
69
70 #endif // OSCAP_SOURCE_BZIP2_H