Merge branch 'doc-types' into 'master'
[glib.git] / glib / guuid.h
blobc653188a0e9bff8d2c2fe788bb0a86db57b3714c
1 /* guuid.h - UUID functions
3 * Copyright (C) 2013-2015, 2017 Red Hat, Inc.
5 * This library is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as
7 * published by the Free Software Foundation; either version 2.1 of the
8 * licence, or (at your option) any later version.
10 * This is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
13 * License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
18 * USA.
20 * Authors: Marc-André Lureau <marcandre.lureau@redhat.com>
23 #ifndef __G_UUID_H__
24 #define __G_UUID_H__
26 #if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
27 #error "Only <glib.h> can be included directly."
28 #endif
30 #include <glib/gtypes.h>
32 G_BEGIN_DECLS
34 GLIB_AVAILABLE_IN_2_52
35 gboolean g_uuid_string_is_valid (const gchar *str);
37 GLIB_AVAILABLE_IN_2_52
38 gchar * g_uuid_string_random (void);
40 G_END_DECLS
42 #endif /* __G_UUID_H__ */