summaryrefslogtreecommitdiffstats
path: root/src/userpref.h
diff options
context:
space:
mode:
authorGravatar Matt Colyer2008-09-01 15:04:31 -0700
committerGravatar Matt Colyer2008-09-01 15:04:31 -0700
commit2b05e48cb4a90dfc94ff584124f08e431398bb1a (patch)
treee0c8255e2cd5592a31295ac8ce89d8846feb7043 /src/userpref.h
parent7ac3d681889a6a8f9987837ace5465f2967cfff9 (diff)
downloadlibplist-2b05e48cb4a90dfc94ff584124f08e431398bb1a.tar.gz
libplist-2b05e48cb4a90dfc94ff584124f08e431398bb1a.tar.bz2
Enforce a modified kr style.
Use "make indent" from now on before committing.
Diffstat (limited to 'src/userpref.h')
-rw-r--r--src/userpref.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/userpref.h b/src/userpref.h
index 553c5df..5171929 100644
--- a/src/userpref.h
+++ b/src/userpref.h
@@ -28,44 +28,44 @@
*
* @return the HostID if exist in config file. Returns NULL otherwise.
*/
-char* get_host_id();
+char *get_host_id();
/**
* Determine if we already paired this device.
*
* @return 1 if device is already paired. Returns 0 otherwise.
*/
-int is_device_known(char* uid);
+int is_device_known(char *uid);
/**
* @return 1 if everything went well. Returns 0 otherwise.
*/
-int store_device_public_key(char* uid, char* public_key);
+int store_device_public_key(char *uid, char *public_key);
/**
* @return 1 if everything went well. Returns 0 otherwise.
*/
-int get_root_private_key(gnutls_datum_t* root_privkey);
+int get_root_private_key(gnutls_datum_t * root_privkey);
/**
* @return 1 if everything went well. Returns 0 otherwise.
*/
-int get_host_private_key(gnutls_datum_t* host_privkey);
+int get_host_private_key(gnutls_datum_t * host_privkey);
/**
* @return 1 if everything went well. Returns 0 otherwise.
*/
-int get_root_certificate(gnutls_datum_t* root_cert);
+int get_root_certificate(gnutls_datum_t * root_cert);
/**
* @return 1 if everything went well. Returns 0 otherwise.
*/
-int get_host_certificate(gnutls_datum_t* host_cert);
+int get_host_certificate(gnutls_datum_t * host_cert);
/**
* Setup a brand new config file.
* @return 1 if everything went well. Returns 0 otherwise.
*/
-int init_config_file(char* host_id, gnutls_datum_t* root_key, gnutls_datum_t* host_key, gnutls_datum_t* root_cert, gnutls_datum_t* host_cert);
+int init_config_file(char *host_id, gnutls_datum_t * root_key, gnutls_datum_t * host_key, gnutls_datum_t * root_cert,
+ gnutls_datum_t * host_cert);
#endif
-