update.
[chise/concord.git] / cos-read.h
index e0494ee..c2bb55c 100644 (file)
@@ -1,4 +1,4 @@
-/* Internal definitions of CONCORD Object System
+/* Reader functions of CONCORD Object System
 
    Copyright (C) 2013 MORIOKA Tomohiko
    This file is part of the CONCORD Library.
 
    Copyright (C) 2013 MORIOKA Tomohiko
    This file is part of the CONCORD Library.
@@ -28,12 +28,20 @@ extern "C" {
 }
 #endif
 
 }
 #endif
 
+#include "cos.h"
+
+COS_object
+cos_read_int (unsigned char *str, size_t len, size_t start, size_t* endp);
+
 int
 cos_read_utf8 (unsigned char *str, size_t len, size_t start, size_t* endp);
 
 int
 cos_read_char (unsigned char *str, size_t len, size_t start, size_t* endp);
 
 int
 cos_read_utf8 (unsigned char *str, size_t len, size_t start, size_t* endp);
 
 int
 cos_read_char (unsigned char *str, size_t len, size_t start, size_t* endp);
 
+COS_String
+cos_read_string (unsigned char *str, size_t len, size_t start, size_t* endp);
+
 #if 0
 {
 #endif
 #if 0
 {
 #endif