1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /* e-uid.c - Unique ID generator.
3 *
4 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
5 *
6 * This library is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation.
9 *
10 * This library is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
13 * for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this library. If not, see <http://www.gnu.org/licenses/>.
17 *
18 * Authors: Dan Winship <danw@ximian.com>
19 */
20
21 #include "e-uid.h"
22
23 #include "e-data-server-util.h"
24
25 /**
26 * e_uid_new:
27 *
28 * Generate a new unique string for use e.g. in account lists.
29 *
30 * Returns: The newly generated UID. The caller should free the string
31 * when it's done with it.
32 *
33 * Deprecated: 3.26: Use e_util_generate_uid() instead.
34 **/
35 gchar *
e_uid_new(void)36 e_uid_new (void)
37 {
38 return e_util_generate_uid ();
39 }
40