diff options
Diffstat (limited to 'src/conf.h')
| -rw-r--r-- | src/conf.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/conf.h b/src/conf.h new file mode 100644 index 0000000..a104185 --- /dev/null +++ b/src/conf.h | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | /* | ||
| 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon | ||
| 3 | |||
| 4 | Copyright (C) 2013 Nikias Bassen <nikias@gmx.li> | ||
| 5 | |||
| 6 | This program is free software; you can redistribute it and/or modify | ||
| 7 | it under the terms of the GNU General Public License as published by | ||
| 8 | the Free Software Foundation, either version 2 or version 3. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program; if not, write to the Free Software | ||
| 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 18 | |||
| 19 | */ | ||
| 20 | |||
| 21 | #ifndef __CONF_H__ | ||
| 22 | #define __CONF_H__ | ||
| 23 | |||
| 24 | #ifdef HAVE_CONFIG_H | ||
| 25 | #include <config.h> | ||
| 26 | #endif | ||
| 27 | |||
| 28 | #include <plist/plist.h> | ||
| 29 | |||
| 30 | const char *config_get_config_dir(); | ||
| 31 | |||
| 32 | void config_get_system_buid(char **system_buid); | ||
| 33 | |||
| 34 | int config_get_device_record(const char *udid, char **record_data, uint64_t *record_size); | ||
| 35 | int config_set_device_record(const char *udid, char* record_data, uint64_t record_size); | ||
| 36 | int config_remove_device_record(const char *udid); | ||
| 37 | |||
| 38 | void config_device_record_get_host_id(const char *udid, char **host_id); | ||
| 39 | |||
| 40 | #endif | ||
