1/* guuid.h - UUID functions
2 *
3 * Copyright (C) 2013-2015, 2017 Red Hat, Inc.
4 *
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.
9 *
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.
14 *
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.
19 *
20 * Authors: Marc-André Lureau <marcandre.lureau@redhat.com>
21 */
22
23#ifndef __G_UUID_H__
24#define __G_UUID_H__
25
26#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
27#error "Only <glib.h> can be included directly."
28#endif
29
30#include <glib/gtypes.h>
31
32G_BEGIN_DECLS
33
34GLIB_AVAILABLE_IN_2_52
35gboolean g_uuid_string_is_valid (const gchar *str);
36
37GLIB_AVAILABLE_IN_2_52
38gchar * g_uuid_string_random (void);
39
40G_END_DECLS
41
42#endif /* __G_UUID_H__ */
43

source code of gtk/subprojects/glib/glib/guuid.h