]> granicus.if.org Git - apache/commitdiff
just making server_signature enum decl easier to read (for both humans and C::Scan)
authorDoug MacEachern <dougm@apache.org>
Thu, 22 Feb 2001 08:42:09 +0000 (08:42 +0000)
committerDoug MacEachern <dougm@apache.org>
Thu, 22 Feb 2001 08:42:09 +0000 (08:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88274 13f79535-47bb-0310-9956-ffa450edef68

include/http_core.h

index 05c09bff690bf9e1e4404022426fb0d679d1fc90..db9bf037b0eb86d3da0b4502efa0b355e8233063 100644 (file)
@@ -353,6 +353,13 @@ typedef struct {
 typedef unsigned char allow_options_t;
 typedef unsigned char overrides_t;
 
+typedef enum {
+    srv_sig_unset,
+    srv_sig_off,
+    srv_sig_on,
+    srv_sig_withmail
+} server_signature_e;
+
 typedef struct {
     /* path of the directory/regex/etc.  see also d_is_fnmatch below */
     char *d;
@@ -439,8 +446,9 @@ typedef struct {
     long limit_xml_body;           /* limit on bytes in XML request msg body */
 
     /* logging options */
-    enum { srv_sig_unset, srv_sig_off, srv_sig_on,
-           srv_sig_withmail } server_signature;
+
+    server_signature_e server_signature;
+
     int loglevel;
     
     /* Access control */