diff options
| author | 2008-07-31 21:54:16 -0700 | |
|---|---|---|
| committer | 2008-07-31 21:54:16 -0700 | |
| commit | d05ae226356cc674a055c784a4b9b75825162ba6 (patch) | |
| tree | 9cfff8c5e5f90c4d5b0d7e36a2b1ac5b78a4baf9 /src/userpref.h | |
| parent | bbd289b44c94aeb327675352d187209639e64baa (diff) | |
| download | libimobiledevice-d05ae226356cc674a055c784a4b9b75825162ba6.tar.gz libimobiledevice-d05ae226356cc674a055c784a4b9b75825162ba6.tar.bz2 | |
Added a way to load HostID from a user specific config file.
Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'src/userpref.h')
| -rw-r--r-- | src/userpref.h | 31 |
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 | */ | ||
| 29 | char* get_host_id(); | ||
| 30 | |||
| 31 | #endif | ||
