From acb92e98ab01d5582d52737a7ad89919a00458aa Mon Sep 17 00:00:00 2001 From: Dmitri Pal Date: Wed, 25 Feb 2009 13:59:43 -0500 Subject: Adding copyrights and a new sink. Interim commit. --- collection/elapi_util.c | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'collection/elapi_util.c') diff --git a/collection/elapi_util.c b/collection/elapi_util.c index 1224c25..e275703 100644 --- a/collection/elapi_util.c +++ b/collection/elapi_util.c @@ -1,4 +1,22 @@ -/* Copyright */ +/* + ELAPI + + Different serialization methods of the collection. + + Copyright (C) Dmitri Pal 2009 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + This program 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 General Public License for more details. + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #include #include @@ -12,7 +30,7 @@ const char *get_type(int type) { switch(type) { - case ELAPI_TYPE_STRING: return ELAPI_TYPE_NAME_STRING; + case ELAPI_TYPE_STRING: return ELAPI_TYPE_NAME_STRING; case ELAPI_TYPE_INTEGER: return ELAPI_TYPE_NAME_INTEGER; case ELAPI_TYPE_UNSIGNED: return ELAPI_TYPE_NAME_UNSIGNED; case ELAPI_TYPE_LONG: return ELAPI_TYPE_NAME_LONG; -- cgit