aboutsummaryrefslogtreecommitdiffstats
path: root/src/gnutls.c
diff options
context:
space:
mode:
authorAndreas Schwab2011-08-14 11:08:02 +0200
committerAndreas Schwab2011-08-14 11:08:02 +0200
commita3720aa275043aa5ee0f14c8a342183d293d6ae7 (patch)
tree84e433b88e047a9fa99d01c30494126c640d1614 /src/gnutls.c
parentb5f0301637acf044455c3ab39d214631f59e0d7b (diff)
downloademacs-a3720aa275043aa5ee0f14c8a342183d293d6ae7.tar.gz
emacs-a3720aa275043aa5ee0f14c8a342183d293d6ae7.zip
Follow variable naming convention
* src/gnutls.c (QCgnutls_bootprop_priority) (QCgnutls_bootprop_trustfiles, QCgnutls_bootprop_keylist) (QCgnutls_bootprop_crlfiles, QCgnutls_bootprop_callbacks) (QCgnutls_bootprop_loglevel, QCgnutls_bootprop_hostname) (QCgnutls_bootprop_min_prime_bits, QCgnutls_bootprop_verify_flags) (QCgnutls_bootprop_verify_hostname_error) (QCgnutls_bootprop_callbacks_verify): Rename from Qgnutls_bootprop_..., all uses changed. * src/xfaces.c (QCignore_defface): Rename from Qignore_defface, all uses changed.
Diffstat (limited to 'src/gnutls.c')
-rw-r--r--src/gnutls.c66
1 files changed, 33 insertions, 33 deletions
diff --git a/src/gnutls.c b/src/gnutls.c
index 62382abc437..0743ef3f4ee 100644
--- a/src/gnutls.c
+++ b/src/gnutls.c
@@ -42,19 +42,19 @@ static Lisp_Object Qgnutls_e_interrupted, Qgnutls_e_again,
42static int gnutls_global_initialized; 42static int gnutls_global_initialized;
43 43
44/* The following are for the property list of `gnutls-boot'. */ 44/* The following are for the property list of `gnutls-boot'. */
45static Lisp_Object Qgnutls_bootprop_priority; 45static Lisp_Object QCgnutls_bootprop_priority;
46static Lisp_Object Qgnutls_bootprop_trustfiles; 46static Lisp_Object QCgnutls_bootprop_trustfiles;
47static Lisp_Object Qgnutls_bootprop_keylist; 47static Lisp_Object QCgnutls_bootprop_keylist;
48static Lisp_Object Qgnutls_bootprop_crlfiles; 48static Lisp_Object QCgnutls_bootprop_crlfiles;
49static Lisp_Object Qgnutls_bootprop_callbacks; 49static Lisp_Object QCgnutls_bootprop_callbacks;
50static Lisp_Object Qgnutls_bootprop_loglevel; 50static Lisp_Object QCgnutls_bootprop_loglevel;
51static Lisp_Object Qgnutls_bootprop_hostname; 51static Lisp_Object QCgnutls_bootprop_hostname;
52static Lisp_Object Qgnutls_bootprop_min_prime_bits; 52static Lisp_Object QCgnutls_bootprop_min_prime_bits;
53static Lisp_Object Qgnutls_bootprop_verify_flags; 53static Lisp_Object QCgnutls_bootprop_verify_flags;
54static Lisp_Object Qgnutls_bootprop_verify_hostname_error; 54static Lisp_Object QCgnutls_bootprop_verify_hostname_error;
55 55
56/* Callback keys for `gnutls-boot'. Unused currently. */ 56/* Callback keys for `gnutls-boot'. Unused currently. */
57static Lisp_Object Qgnutls_bootprop_callbacks_verify; 57static Lisp_Object QCgnutls_bootprop_callbacks_verify;
58 58
59static void gnutls_log_function (int, const char *); 59static void gnutls_log_function (int, const char *);
60static void gnutls_log_function2 (int, const char*, const char*); 60static void gnutls_log_function2 (int, const char*, const char*);
@@ -716,17 +716,17 @@ one trustfile (usually a CA bundle). */)
716 return gnutls_make_error (GNUTLS_EMACS_ERROR_NOT_LOADED); 716 return gnutls_make_error (GNUTLS_EMACS_ERROR_NOT_LOADED);
717 } 717 }
718 718
719 hostname = Fplist_get (proplist, Qgnutls_bootprop_hostname); 719 hostname = Fplist_get (proplist, QCgnutls_bootprop_hostname);
720 priority_string = Fplist_get (proplist, Qgnutls_bootprop_priority); 720 priority_string = Fplist_get (proplist, QCgnutls_bootprop_priority);
721 trustfiles = Fplist_get (proplist, Qgnutls_bootprop_trustfiles); 721 trustfiles = Fplist_get (proplist, QCgnutls_bootprop_trustfiles);
722 keylist = Fplist_get (proplist, Qgnutls_bootprop_keylist); 722 keylist = Fplist_get (proplist, QCgnutls_bootprop_keylist);
723 crlfiles = Fplist_get (proplist, Qgnutls_bootprop_crlfiles); 723 crlfiles = Fplist_get (proplist, QCgnutls_bootprop_crlfiles);
724 /* callbacks = Fplist_get (proplist, Qgnutls_bootprop_callbacks); */ 724 /* callbacks = Fplist_get (proplist, QCgnutls_bootprop_callbacks); */
725 loglevel = Fplist_get (proplist, Qgnutls_bootprop_loglevel); 725 loglevel = Fplist_get (proplist, QCgnutls_bootprop_loglevel);
726 verify_flags = Fplist_get (proplist, Qgnutls_bootprop_verify_flags); 726 verify_flags = Fplist_get (proplist, QCgnutls_bootprop_verify_flags);
727 /* verify_error = Fplist_get (proplist, Qgnutls_bootprop_verify_error); */ 727 /* verify_error = Fplist_get (proplist, QCgnutls_bootprop_verify_error); */
728 verify_hostname_error = Fplist_get (proplist, Qgnutls_bootprop_verify_hostname_error); 728 verify_hostname_error = Fplist_get (proplist, QCgnutls_bootprop_verify_hostname_error);
729 prime_bits = Fplist_get (proplist, Qgnutls_bootprop_min_prime_bits); 729 prime_bits = Fplist_get (proplist, QCgnutls_bootprop_min_prime_bits);
730 730
731 if (!STRINGP (hostname)) 731 if (!STRINGP (hostname))
732 error ("gnutls-boot: invalid :hostname parameter"); 732 error ("gnutls-boot: invalid :hostname parameter");
@@ -1119,17 +1119,17 @@ syms_of_gnutls (void)
1119 DEFSYM (Qgnutls_code, "gnutls-code"); 1119 DEFSYM (Qgnutls_code, "gnutls-code");
1120 DEFSYM (Qgnutls_anon, "gnutls-anon"); 1120 DEFSYM (Qgnutls_anon, "gnutls-anon");
1121 DEFSYM (Qgnutls_x509pki, "gnutls-x509pki"); 1121 DEFSYM (Qgnutls_x509pki, "gnutls-x509pki");
1122 DEFSYM (Qgnutls_bootprop_hostname, ":hostname"); 1122 DEFSYM (QCgnutls_bootprop_hostname, ":hostname");
1123 DEFSYM (Qgnutls_bootprop_priority, ":priority"); 1123 DEFSYM (QCgnutls_bootprop_priority, ":priority");
1124 DEFSYM (Qgnutls_bootprop_trustfiles, ":trustfiles"); 1124 DEFSYM (QCgnutls_bootprop_trustfiles, ":trustfiles");
1125 DEFSYM (Qgnutls_bootprop_keylist, ":keylist"); 1125 DEFSYM (QCgnutls_bootprop_keylist, ":keylist");
1126 DEFSYM (Qgnutls_bootprop_crlfiles, ":crlfiles"); 1126 DEFSYM (QCgnutls_bootprop_crlfiles, ":crlfiles");
1127 DEFSYM (Qgnutls_bootprop_callbacks, ":callbacks"); 1127 DEFSYM (QCgnutls_bootprop_callbacks, ":callbacks");
1128 DEFSYM (Qgnutls_bootprop_callbacks_verify, "verify"); 1128 DEFSYM (QCgnutls_bootprop_callbacks_verify, "verify");
1129 DEFSYM (Qgnutls_bootprop_min_prime_bits, ":min-prime-bits"); 1129 DEFSYM (QCgnutls_bootprop_min_prime_bits, ":min-prime-bits");
1130 DEFSYM (Qgnutls_bootprop_loglevel, ":loglevel"); 1130 DEFSYM (QCgnutls_bootprop_loglevel, ":loglevel");
1131 DEFSYM (Qgnutls_bootprop_verify_flags, ":verify-flags"); 1131 DEFSYM (QCgnutls_bootprop_verify_flags, ":verify-flags");
1132 DEFSYM (Qgnutls_bootprop_verify_hostname_error, ":verify-hostname-error"); 1132 DEFSYM (QCgnutls_bootprop_verify_hostname_error, ":verify-hostname-error");
1133 1133
1134 DEFSYM (Qgnutls_e_interrupted, "gnutls-e-interrupted"); 1134 DEFSYM (Qgnutls_e_interrupted, "gnutls-e-interrupted");
1135 Fput (Qgnutls_e_interrupted, Qgnutls_code, 1135 Fput (Qgnutls_e_interrupted, Qgnutls_code,