FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
json_writer.h
Go to the documentation of this file.
1 /***************************************************************
2  Copyright (C) 2019 Siemens AG
3  Author: Gaurav Mishra <mishra.gaurav@siemens.com>
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU General Public License
7  version 2 as published by the Free Software Foundation.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License along
15  with this program; if not, write to the Free Software Foundation, Inc.,
16  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 
18  ***************************************************************/
19 
25 #ifndef _JSON_WRITER_H_
26 #define _JSON_WRITER_H_
27 
31 void writeJson();
32 
42 char *unescapePathSeparator(const char* json);
43 
47 void initializeJson();
48 
52 void destroyJson();
53 
54 
55 #endif /* _JSON_WRITER_H_ */
void writeJson()
Write the scan output as a JSON.
Definition: json_writer.c:25
void destroyJson()
Definition: json_writer.c:120
char * unescapePathSeparator(const char *json)
Unescape the path separator from JSON.
Definition: json_writer.c:70
void initializeJson()
Definition: json_writer.c:111