summaryrefslogtreecommitdiff
path: root/src/certtool-cfg.h
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-11-07 23:27:56 +0000
committerSimon Josefsson <simon@josefsson.org>2005-11-07 23:27:56 +0000
commita5891d75997c9529b9fc5c273df8bd0df4093cd0 (patch)
treefd6eec448a88c5eb891cc145921c5793662da604 /src/certtool-cfg.h
parentaf21484a8daf15da48f7d00c4fe632708a757a64 (diff)
downloadgnutls-a5891d75997c9529b9fc5c273df8bd0df4093cd0.tar.gz
Use GNU coding style.
Diffstat (limited to 'src/certtool-cfg.h')
-rw-r--r--src/certtool-cfg.h96
1 files changed, 48 insertions, 48 deletions
diff --git a/src/certtool-cfg.h b/src/certtool-cfg.h
index 0bf2115c38..d6ce84c416 100644
--- a/src/certtool-cfg.h
+++ b/src/certtool-cfg.h
@@ -4,58 +4,58 @@ extern char *organization, *unit, *locality, *state;
extern char *cn, *challenge_password, *password, *pkcs9_email, *country;
extern char *dns_name, *email, *crl_dist_points, *pkcs12_key_name;
extern int serial, expiration_days, ca, tls_www_client, tls_www_server,
- signing_key;
+ signing_key;
extern int encryption_key, cert_sign_key, crl_sign_key, code_sign_key,
- ocsp_sign_key;
+ ocsp_sign_key;
extern int time_stamping_key, crl_next_update;
-void cfg_init(void);
-int template_parse(const char *template);
+void cfg_init (void);
+int template_parse (const char *template);
-void read_crt_set(gnutls_x509_crt crt, const char *input_str,
- const char *oid);
-void read_crq_set(gnutls_x509_crq crq, const char *input_str,
- const char *oid);
-int read_int(const char *input_str);
-const char *read_str(const char *input_str);
-int read_yesno(const char *input_str);
+void read_crt_set (gnutls_x509_crt crt, const char *input_str,
+ const char *oid);
+void read_crq_set (gnutls_x509_crq crq, const char *input_str,
+ const char *oid);
+int read_int (const char *input_str);
+const char *read_str (const char *input_str);
+int read_yesno (const char *input_str);
-const char *get_pass(void);
-const char *get_challenge_pass(void);
-const char *get_crl_dist_point_url(void);
-void get_country_crt_set(gnutls_x509_crt crt);
-void get_organization_crt_set(gnutls_x509_crt crt);
-void get_unit_crt_set(gnutls_x509_crt crt);
-void get_state_crt_set(gnutls_x509_crt crt);
-void get_locality_crt_set(gnutls_x509_crt crt);
-void get_cn_crt_set(gnutls_x509_crt crt);
-void get_uid_crt_set(gnutls_x509_crt crt);
-void get_pkcs9_email_crt_set(gnutls_x509_crt crt);
-void get_oid_crt_set(gnutls_x509_crt crt);
-int get_serial(void);
-int get_days(void);
-int get_ca_status(void);
-const char *get_pkcs12_key_name(void);
-int get_tls_client_status(void);
-int get_tls_server_status(void);
-int get_crl_next_update(void);
-int get_time_stamp_status(void);
-int get_ocsp_sign_status(void);
-int get_code_sign_status(void);
-int get_crl_sign_status(void);
-int get_cert_sign_status(void);
-int get_encrypt_status(int server);
-int get_sign_status(int server);
-const char *get_email(void);
-const char *get_dns_name(void);
-const char *get_ip_addr(void);
+const char *get_pass (void);
+const char *get_challenge_pass (void);
+const char *get_crl_dist_point_url (void);
+void get_country_crt_set (gnutls_x509_crt crt);
+void get_organization_crt_set (gnutls_x509_crt crt);
+void get_unit_crt_set (gnutls_x509_crt crt);
+void get_state_crt_set (gnutls_x509_crt crt);
+void get_locality_crt_set (gnutls_x509_crt crt);
+void get_cn_crt_set (gnutls_x509_crt crt);
+void get_uid_crt_set (gnutls_x509_crt crt);
+void get_pkcs9_email_crt_set (gnutls_x509_crt crt);
+void get_oid_crt_set (gnutls_x509_crt crt);
+int get_serial (void);
+int get_days (void);
+int get_ca_status (void);
+const char *get_pkcs12_key_name (void);
+int get_tls_client_status (void);
+int get_tls_server_status (void);
+int get_crl_next_update (void);
+int get_time_stamp_status (void);
+int get_ocsp_sign_status (void);
+int get_code_sign_status (void);
+int get_crl_sign_status (void);
+int get_cert_sign_status (void);
+int get_encrypt_status (int server);
+int get_sign_status (int server);
+const char *get_email (void);
+const char *get_dns_name (void);
+const char *get_ip_addr (void);
-void get_cn_crq_set(gnutls_x509_crq crq);
-void get_uid_crq_set(gnutls_x509_crq crq);
-void get_locality_crq_set(gnutls_x509_crq crq);
-void get_state_crq_set(gnutls_x509_crq crq);
-void get_unit_crq_set(gnutls_x509_crq crq);
-void get_organization_crq_set(gnutls_x509_crq crq);
-void get_country_crq_set(gnutls_x509_crq crq);
-void get_oid_crq_set(gnutls_x509_crq crq);
+void get_cn_crq_set (gnutls_x509_crq crq);
+void get_uid_crq_set (gnutls_x509_crq crq);
+void get_locality_crq_set (gnutls_x509_crq crq);
+void get_state_crq_set (gnutls_x509_crq crq);
+void get_unit_crq_set (gnutls_x509_crq crq);
+void get_organization_crq_set (gnutls_x509_crq crq);
+void get_country_crq_set (gnutls_x509_crq crq);
+void get_oid_crq_set (gnutls_x509_crq crq);