From c6af29b420a118a3265a837c313348ad81b580ac Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Mon, 1 Apr 2013 15:07:53 +0900 Subject: [PATCH] New file. --- cos-read.h | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 cos-read.h diff --git a/cos-read.h b/cos-read.h new file mode 100644 index 0000000..e0494ee --- /dev/null +++ b/cos-read.h @@ -0,0 +1,44 @@ +/* Internal definitions of CONCORD Object System + + Copyright (C) 2013 MORIOKA Tomohiko + This file is part of the CONCORD Library. + + The CONCORD Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The CONCORD Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the CONCORD Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#ifndef _COS_READ_H +#define _COS_READ_H + +#ifdef __cplusplus +extern "C" { +#endif +#if 0 +} +#endif + +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); + +#if 0 +{ +#endif +#ifdef __cplusplus +} +#endif + +#endif /* !_COS_READ_H */ -- 1.7.10.4