* Changed the comments at the beginning of each file to a consistent format
[citadel.git] / citadel / internet_addressing.h
1 /* 
2  * $Id$
3  *
4  */
5
6 int fuzzy_match(struct usersupp *us, char *matchstring);
7 void process_rfc822_addr(char *rfc822, char *user, char *node, char *name);
8
9
10 int convert_internet_address(char *destuser, char *desthost, char *source);
11 enum {
12         rfc822_address_locally_validated,
13         rfc822_no_such_user,
14         rfc822_address_on_citadel_network,
15         rfc822_address_nonlocal,
16         rfc822_room_delivery
17 };
18
19
20 struct CtdlMessage *convert_internet_message(char *rfc822);
21
22 int CtdlHostAlias(char *fqdn);
23
24 /* 
25  * Values that can be returned by CtdlHostAlias()
26  */
27 enum {
28         hostalias_nomatch,
29         hostalias_localhost,
30         hostalias_gatewaydomain
31 };
32
33 extern char *inetcfg;