X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=cos-read.h;h=c2bb55cafd4166c6517cefed025914d240667931;hb=60b503a34be005a31bed11acf598b7377c077531;hp=e0494ee719704ec622a08521090469419121dbb1;hpb=c6af29b420a118a3265a837c313348ad81b580ac;p=chise%2Fconcord.git diff --git a/cos-read.h b/cos-read.h index e0494ee..c2bb55c 100644 --- a/cos-read.h +++ b/cos-read.h @@ -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,20 @@ 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); + #if 0 { #endif