(COS_Object_retain_function_table): New variable.
[chise/concord.git] / cos-read.h
1 /* Reader functions of CONCORD Object System
2
3    Copyright (C) 2013 MORIOKA Tomohiko
4    This file is part of the CONCORD Library.
5
6    The CONCORD Library is free software; you can redistribute it and/or
7    modify it under the terms of the GNU Lesser General Public
8    License as published by the Free Software Foundation; either
9    version 2.1 of the License, or (at your option) any later version.
10
11    The CONCORD Library is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14    Lesser General Public License for more details.
15
16    You should have received a copy of the GNU Lesser General Public
17    License along with the CONCORD Library; if not, write to the Free
18    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19    02111-1307 USA.  */
20
21 #ifndef _COS_READ_H
22 #define _COS_READ_H
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 #if 0
28 }
29 #endif
30
31 #include "cos.h"
32
33 COS_object
34 cos_read_int (unsigned char *str, size_t len, size_t start, size_t* endp);
35
36 int
37 cos_read_utf8 (unsigned char *str, size_t len, size_t start, size_t* endp);
38
39 int
40 cos_read_char (unsigned char *str, size_t len, size_t start, size_t* endp);
41
42 COS_String
43 cos_read_string (unsigned char *str, size_t len, size_t start, size_t* endp);
44
45 #if 0
46 {
47 #endif
48 #ifdef __cplusplus
49 }
50 #endif
51
52 #endif /* !_COS_READ_H */