update.
[chise/concord.git] / cos-read.h
index e0494ee..ad923d6 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.
@@ -28,12 +28,29 @@ extern "C" {
 }
 #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);
 
+COS_String
+cos_read_string (unsigned char *str, size_t len, size_t start, size_t* endp);
+
+COS_Symbol
+cos_read_symbol (unsigned char *str, size_t len, size_t start, size_t* endp);
+
+COS_Cons
+cos_read_list (unsigned char *str, size_t len, size_t start, size_t* endp);
+
+COS_object
+cos_read_object (unsigned char *str, size_t len, size_t start, size_t* endp);
+
 #if 0
 {
 #endif