midgard/guid.h

00001 /*
00002  * Copyright (C) 2005 Jukka Zitting <jz@yukatan.fi>
00003  *
00004  * This program is free software; you can redistribute it and/or modify it
00005  * under the terms of the GNU Lesser General Public License as published
00006  * by the Free Software Foundation; either version 2 of the License, or
00007  * (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00017  */
00018 #ifndef MIDGARD_GUID_H
00019 #define MIDGARD_GUID_H
00020 
00042 #include "midgard/midgard_defs.h"
00043 #include <glib.h>
00044 
00052 extern gboolean midgard_is_guid(const gchar *guid);
00053 
00063 extern gchar *midgard_guid_new(midgard *mgd);
00064 
00073 extern gchar *midgard_guid_external(midgard *mgd, const gchar *external);
00074 
00085 extern gchar *mgd_create_guid(midgard *mgd, const gchar *table, guint id);
00086 
00087 #endif

Generated on Thu Feb 22 06:15:13 2007 for midgard-core by  doxygen 1.4.6