summaryrefslogtreecommitdiffstats
path: root/src/userpref.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/userpref.h')
-rw-r--r--src/userpref.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/userpref.h b/src/userpref.h
new file mode 100644
index 0000000..8567a53
--- /dev/null
+++ b/src/userpref.h
@@ -0,0 +1,31 @@
1/*
2 * userpref.h
3 * contains methods to access user specific certificates IDs and more.
4 *
5 * Copyright (c) 2008 Jonathan Beck All Rights Reserved.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#ifndef USERPREF_H
22#define USERPREF_H
23
24/**
25* \fn char* get_host_id()
26* method to get user's HostID. Caller must free returned buffer.
27* \return the HostID if exist in config file. Returns NULL otherwise.
28*/
29char* get_host_id();
30
31#endif