"Fossies" - the Fresh Open Source Software Archive

Member "citadel/internet_addressing.h" (5 Jun 2021, 1313 Bytes) of package /linux/www/citadel.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "internet_addressing.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 8.24_vs_9.01.

    1 
    2 #include "server.h"
    3 #include "ctdl_module.h"
    4 
    5 struct recptypes *validate_recipients(const char *recipients, const char *RemoteIdentifier, int Flags);
    6 void free_recipients(struct recptypes *);
    7 void process_rfc822_addr(const char *rfc822, char *user, char *node, char *name);
    8 char *rfc822_fetch_field(const char *rfc822, const char *fieldname);
    9 void sanitize_truncated_recipient(char *str);
   10 char *qp_encode_email_addrs(char *source);
   11 int alias (char *name);
   12 int IsDirectory(char *addr, int allow_masq_domains);
   13 void CtdlRebuildDirectoryIndex(void);
   14 int CtdlDirectoryAddUser(char *internet_addr, char *citadel_addr);
   15 int CtdlDirectoryDelUser(char *internet_addr, char *citadel_addr);
   16 int CtdlDirectoryLookup(char *target, char *internet_addr, size_t targbuflen);
   17 void CtdlSetEmailAddressesForUser(char *requested_user, char *new_emailaddrs);
   18 void AutoGenerateEmailAddressForUser(struct ctdluser *user);
   19 struct CtdlMessage *convert_internet_message(char *rfc822);
   20 struct CtdlMessage *convert_internet_message_buf(StrBuf **rfc822);
   21 int CtdlIsMe(char *addr, int addr_buf_len);
   22 int CtdlHostAlias(char *fqdn);
   23 char *harvest_collected_addresses(struct CtdlMessage *msg);
   24 
   25 /* 
   26  * Values that can be returned by CtdlHostAlias()
   27  */
   28 enum {
   29     hostalias_nomatch,
   30     hostalias_localhost,
   31     hostalias_masq
   32 };
   33 
   34 extern char *inetcfg;