Since we break the config anyway, does it make sense to take the chance
and rename the ugly directives of old mod_auth_anon to more "normalized"
ones?

The attached patch shows, what I mean exactly.

nd
-- 
my @japh = (sub{q~Just~},sub{q~Another~},sub{q~Perl~},sub{q~Hacker~});
my $japh = q[sub japh { }]; print join       #########################
 [ $japh =~ /{(.)}/] -> [0] => map $_ -> ()  #            André Malo #
=> @japh;                                    # http://www.perlig.de/ #
Index: mod_authn_anon.c
===================================================================
RCS file: /home/cvspublic/httpd-2.0/modules/aaa/mod_authn_anon.c,v
retrieving revision 1.1
diff -u -r1.1 mod_authn_anon.c
--- mod_authn_anon.c    10 Sep 2002 00:15:39 -0000      1.1
+++ mod_authn_anon.c    14 Oct 2002 15:20:51 -0000
@@ -161,21 +161,21 @@
 
 static const command_rec authn_anon_cmds[] =
 {
-    AP_INIT_ITERATE("Anonymous", anon_set_string_slots, NULL, OR_AUTHCFG, 
+    AP_INIT_ITERATE("AuthAnonUsers", anon_set_string_slots, NULL, OR_AUTHCFG, 
      "a space-separated list of user IDs"),
-    AP_INIT_FLAG("Anonymous_MustGiveEmail", ap_set_flag_slot,
+    AP_INIT_FLAG("AuthAnonEmail", ap_set_flag_slot,
      (void *)APR_OFFSETOF(authn_anon_config_rec, mustemail),
      OR_AUTHCFG, "Limited to 'on' or 'off'"),
-    AP_INIT_FLAG("Anonymous_NoUserId", ap_set_flag_slot,
+    AP_INIT_FLAG("AuthAnonNoUserID", ap_set_flag_slot,
      (void *)APR_OFFSETOF(authn_anon_config_rec, nouserid),
      OR_AUTHCFG, "Limited to 'on' or 'off'"),
-    AP_INIT_FLAG("Anonymous_VerifyEmail", ap_set_flag_slot,
+    AP_INIT_FLAG("AuthAnonVerifyEmail", ap_set_flag_slot,
      (void *)APR_OFFSETOF(authn_anon_config_rec, verifyemail),
      OR_AUTHCFG, "Limited to 'on' or 'off'"),
-    AP_INIT_FLAG("Anonymous_LogEmail", ap_set_flag_slot,
+    AP_INIT_FLAG("AuthAnonLogEmail", ap_set_flag_slot,
      (void *)APR_OFFSETOF(authn_anon_config_rec, logemail),
      OR_AUTHCFG, "Limited to 'on' or 'off'"),
-    AP_INIT_FLAG("Anonymous_Authoritative", ap_set_flag_slot,
+    AP_INIT_FLAG("AuthAnonAuthoritative", ap_set_flag_slot,
      (void *)APR_OFFSETOF(authn_anon_config_rec, authoritative),
      OR_AUTHCFG, "Limited to 'on' or 'off'"),
     {NULL}

Reply via email to