]> code.citadel.org Git - citadel.git/blobdiff - citadel/internet_addressing.h
* Renamed CtdlLocalHost() to CtdlHostAlias() and worked it a little deeper into
[citadel.git] / citadel / internet_addressing.h
index 7ce714a2c60d9c0c150154c0382a9a5a676ed502..7f08de119753d190546e99c4d0cf0e794fe639d1 100644 (file)
@@ -7,8 +7,22 @@ enum {
        rfc822_address_locally_validated,
        rfc822_no_such_user,
        rfc822_address_on_citadel_network,
-       rfc822_address_invalid
+       rfc822_address_invalid,
+       rfc822_room_delivery
 };
 
 
 struct CtdlMessage *convert_internet_message(char *rfc822);
+
+int CtdlHostAlias(char *fqdn);
+
+/* 
+ * Values that can be returned by CtdlHostAlias()
+ */
+enum {
+       hostalias_nomatch,
+       hostalias_localhost,
+       hostalias_gatewaydomain
+};
+
+extern char *inetcfg;