00001 /***************************** License ********************************** 00002 00003 Copyright (C) 2008 by Communicative Machines 00004 http://www.cmlabs.com All rights reserved. 00005 00006 This library is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Lesser General Public 00008 License as published by the Free Software Foundation; either 00009 version 2.1 of the License, or (at your option) any later version. 00010 00011 This library is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Lesser General Public License for more details. 00015 00016 You should have received a copy of the GNU Lesser General Public 00017 License along with this library; if not, write to the Free Software 00018 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 00020 ************************************************************************/ 00021 /***************************************************************** 00022 * File Name: uuidlib.h 00023 * Description: 00024 * This header contains the prototype definitions 00025 * 00026 * Software distributed under the License is distributed on an 00027 * "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express 00028 * or implied. See the License for the specific language governing 00029 * rights and limitations under the License. 00030 * 00031 *****************************************************************/ 00032 00033 char* fn_uuid_create(char* uuid); 00034 char* fn_guid_create(char* guid); 00035 char* fn_squash_guid(char* guid, char* uuid); 00036 char* fn_expand_uuid(char* uuid, char* guid); 00037 char* _uuid_to_uuid(uuid__t* _uuid, char* uuid); 00038 char* guid_to__uuid(char* guid, uuid__t* _uuid); 00039 char* _uuid_to_guid(uuid__t* _uuid, char* guid); 00040 uuid__t* uuid_to__uuid(char* uuid, uuid__t* _uuid); 00041 int sq_to_int(char i); 00042