Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-06 08:41:19

0001 /* guuid.h - UUID functions
0002  *
0003  * Copyright (C) 2013-2015, 2017 Red Hat, Inc.
0004  *
0005  * This library is free software; you can redistribute it and/or modify
0006  * it under the terms of the GNU Lesser General Public License as
0007  * published by the Free Software Foundation; either version 2.1 of the
0008  * licence, or (at your option) any later version.
0009  *
0010  * This is distributed in the hope that it will be useful, but WITHOUT
0011  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0012  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
0013  * License for more details.
0014  *
0015  * You should have received a copy of the GNU Lesser General Public
0016  * License along with this library; if not, write to the Free Software
0017  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
0018  * USA.
0019  *
0020  * Authors: Marc-André Lureau <marcandre.lureau@redhat.com>
0021  */
0022 
0023 #ifndef __G_UUID_H__
0024 #define __G_UUID_H__
0025 
0026 #if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
0027 #error "Only <glib.h> can be included directly."
0028 #endif
0029 
0030 #include <glib/gtypes.h>
0031 
0032 G_BEGIN_DECLS
0033 
0034 GLIB_AVAILABLE_IN_2_52
0035 gboolean      g_uuid_string_is_valid       (const gchar   *str);
0036 
0037 GLIB_AVAILABLE_IN_2_52
0038 gchar *       g_uuid_string_random         (void);
0039 
0040 G_END_DECLS
0041 
0042 #endif  /* __G_UUID_H__ */