diff options
| author | 2010-03-16 03:13:38 +0100 | |
|---|---|---|
| committer | 2010-03-16 03:13:38 +0100 | |
| commit | 08d2af5d611319748afba2aaba5e6c8a99f1b396 (patch) | |
| tree | 8bf4a3533f2acf11368dc37a9c653689ace99b77 /include/libimobiledevice/lockdown.h | |
| parent | 3e0c5021100c879ff7d0776d4c7bb4f0ec88e0d7 (diff) | |
| download | libimobiledevice-08d2af5d611319748afba2aaba5e6c8a99f1b396.tar.gz libimobiledevice-08d2af5d611319748afba2aaba5e6c8a99f1b396.tar.bz2 | |
Complete documentation of public interface and fix a lot of bogus comments
This change unifies the documentation comment syntax, fixes a few bad
documentation comments and completes documentation where it was missing.
Diffstat (limited to 'include/libimobiledevice/lockdown.h')
| -rw-r--r-- | include/libimobiledevice/lockdown.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/include/libimobiledevice/lockdown.h b/include/libimobiledevice/lockdown.h index 6abf6d6..4504ef1 100644 --- a/include/libimobiledevice/lockdown.h +++ b/include/libimobiledevice/lockdown.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /** | 1 | /** |
| 2 | * @file libimobiledevice/lockdown.h | 2 | * @file libimobiledevice/lockdown.h |
| 3 | * @brief Communcation with the lockdown device daemon | 3 | * @brief Implementation to communicate with the lockdown device daemon |
| 4 | * \internal | 4 | * \internal |
| 5 | * | 5 | * |
| 6 | * Copyright (c) 2008 Zach C. All Rights Reserved. | 6 | * Copyright (c) 2008 Zach C. All Rights Reserved. |
| @@ -30,7 +30,8 @@ extern "C" { | |||
| 30 | 30 | ||
| 31 | #include <libimobiledevice/libimobiledevice.h> | 31 | #include <libimobiledevice/libimobiledevice.h> |
| 32 | 32 | ||
| 33 | /* Error Codes */ | 33 | /** @name Error Codes */ |
| 34 | /*@{*/ | ||
| 34 | #define LOCKDOWN_E_SUCCESS 0 | 35 | #define LOCKDOWN_E_SUCCESS 0 |
| 35 | #define LOCKDOWN_E_INVALID_ARG -1 | 36 | #define LOCKDOWN_E_INVALID_ARG -1 |
| 36 | #define LOCKDOWN_E_INVALID_CONF -2 | 37 | #define LOCKDOWN_E_INVALID_CONF -2 |
| @@ -52,18 +53,21 @@ extern "C" { | |||
| 52 | #define LOCKDOWN_E_INVALID_ACTIVATION_RECORD -18 | 53 | #define LOCKDOWN_E_INVALID_ACTIVATION_RECORD -18 |
| 53 | 54 | ||
| 54 | #define LOCKDOWN_E_UNKNOWN_ERROR -256 | 55 | #define LOCKDOWN_E_UNKNOWN_ERROR -256 |
| 56 | /*@}*/ | ||
| 55 | 57 | ||
| 58 | /** Represents an error code. */ | ||
| 56 | typedef int16_t lockdownd_error_t; | 59 | typedef int16_t lockdownd_error_t; |
| 57 | 60 | ||
| 58 | typedef struct lockdownd_client_private lockdownd_client_private; | 61 | typedef struct lockdownd_client_private lockdownd_client_private; |
| 59 | typedef lockdownd_client_private *lockdownd_client_t; /**< The client handle. */ | 62 | typedef lockdownd_client_private *lockdownd_client_t; /**< The client handle. */ |
| 60 | 63 | ||
| 61 | struct lockdownd_pair_record { | 64 | struct lockdownd_pair_record { |
| 62 | char *device_certificate; | 65 | char *device_certificate; /**< The device certificate */ |
| 63 | char *host_certificate; | 66 | char *host_certificate; /**< The host certificate */ |
| 64 | char *host_id; | 67 | char *host_id; /**< A unique HostID for the host computer */ |
| 65 | char *root_certificate; | 68 | char *root_certificate; /**< The root certificate */ |
| 66 | }; | 69 | }; |
| 70 | /** A pair record holding device, host and root certificates along the host_id */ | ||
| 67 | typedef struct lockdownd_pair_record *lockdownd_pair_record_t; | 71 | typedef struct lockdownd_pair_record *lockdownd_pair_record_t; |
| 68 | 72 | ||
| 69 | /* Interface */ | 73 | /* Interface */ |
