66c02024770648992b7443b5d83c931382e3970f
[profile/ivi/gsignond.git] / include / gsignond / gsignond-utils.h
1 /* vi: set et sw=4 ts=4 cino=t0,(0: */
2 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 /*
4  * This file is part of gsignond
5  *
6  * Copyright (C) 2013 Intel Corporation.
7  *
8  * Contact: Jussi Laako <jussi.laako@linux.intel.com>
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free Software Foundation; either
13  * version 2.1 of the License, or (at your option) any later version.
14  *
15  * This library is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public
21  * License along with this library; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
23  * 02110-1301 USA
24  */
25
26 #ifndef _GSIGNOND_UTILS_H_
27 #define _GSIGNOND_UTILS_H_
28
29 #include <glib.h>
30
31 G_BEGIN_DECLS
32
33 gboolean
34 gsignond_wipe_file (const gchar *filename);
35
36 gboolean
37 gsignond_wipe_directory (const gchar *dirname);
38
39 gchar *
40 gsignond_generate_nonce ();
41
42 G_END_DECLS
43
44 #endif  /* _SGINOND_UTILS_H_ */
45