1 /*****************************************************************************/
2 /* LibreDWG - free implementation of the DWG file format */
3 /* */
4 /* Copyright (C) 2022-2023 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 * decode_r11.h: preR13 decoding
15 * written by Reini Urban
16 */
17
18 #ifndef DECODE_R11_H
19 #define DECODE_R11_H
20
21 // exported only for unit-testing/decode_test
22 // not part of the public API
23 EXPORT int decode_preR13 (Bit_Chain *restrict dat, Dwg_Data *restrict dwg);
24 EXPORT int decode_entity_preR13 (Bit_Chain *restrict dat,
25 Dwg_Object *restrict obj,
26 Dwg_Object_Entity *ent);
27 EXPORT Dwg_Object_Ref *dwg_decode_preR13_handleref (Bit_Chain *restrict dat,
28 int size,
29 Dwg_Data *restrict dwg);
30 #endif