--- apr_uri.h.orig Sat Oct 27 00:20:20 2001
+++ apr_uri.h Mon Nov 19 14:46:30 2001
@@ -110,6 +110,11 @@
 #define APR_URI_UNP_OMITPATHINFO(1U<<4)/* Show "scheme://user@site:port" only */
 #define APR_URI_UNP_OMITQUERY        (1U<<5)/* Omit the "?queryarg" from the path */
 
+/* Flags to set some miscelanous things in apr_uri_t struct: */
+#define APR_URI_FLAG_IS_INITIALIZED     0x01
+#define APR_URI_FLAG_DNS_LOOKED_UP      0x02
+#define APR_URI_FLAG_DNS_RESOLVED       0x04
+
 typedef struct apr_uri_t apr_uri_t;
 
 /**
@@ -141,14 +146,12 @@
 
     /** The port number, numeric, valid only if port_str != NULL */
     apr_port_t port;
-    
-    /** has the structure been initialized */
-    unsigned is_initialized:1;
 
-    /** has the DNS been looked up yet */
-    unsigned dns_looked_up:1;
-    /** has the dns been resolved yet */
-    unsigned dns_resolved:1;
+    /** has the structure been initialized - APR_URI_FLAG_IS_INITIALIZED */
+    /** has the DNS been looked up yet - APR_URI_FLAG_DNS_LOOKED_UP */
+    /** has the dns been resolved yet - APR_URI_FLAG_DNS_RESOLVED */
+    
+    unsigned char uri_flags; /* is_initialized, dns_looked_up, dns_resolved, ... */
 };
 
 /* apr_uri.c */
