1 /*****************************************************************************/
2 /* LibreDWG - free implementation of the DWG file format */
3 /* */
4 /* Copyright (C) 2019 Free Software Foundation, Inc. */
5 /* */
6 /* This library is free software, licensed under the terms of the GNU */
7 /* General Public License as published by the Free Software Foundation, */
8 /* either version 3 of the License, or (at your option) any later version. */
9 /* You should have received a copy of the GNU General Public License */
10 /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
11 /*****************************************************************************/
12
13 /*
14 * escape.h: SVG helpers
15 * written by Reini Urban
16 */
17
18 #ifndef OUT_ESCAPE_H
19 #define OUT_ESCAPE_H
20
21 #include "dwg.h"
22 #include "common.h"
23 #include "codepages.h"
24
25 char *ATTRIBUTE_MALLOC htmlescape (const char *restrict src,
26 const Dwg_Codepage codepage);
27 char *ATTRIBUTE_MALLOC htmlwescape (BITCODE_TU wsrc);
28
29 #endif