About: Citadel is an advanced messaging and collaboration system for groupware and BBS applications (preferred OS: Linux).
  Fossies Dox: citadel.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

No Matches
internet_addressing.h File Reference
#include "server.h"
#include "ctdl_module.h"
Include dependency graph for internet_addressing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


enum  { hostalias_nomatch , hostalias_localhost , hostalias_masq }


struct recptypesvalidate_recipients (char *recipients, const char *RemoteIdentifier, int Flags)
void free_recipients (struct recptypes *)
void process_rfc822_addr (const char *rfc822, char *user, char *node, char *name)
char * rfc822_fetch_field (const char *rfc822, const char *fieldname)
void sanitize_truncated_recipient (char *str)
char * qp_encode_email_addrs (char *source)
int alias (char *name)
int IsDirectory (char *addr, int allow_masq_domains)
void CtdlRebuildDirectoryIndex (void)
int CtdlDirectoryAddUser (char *internet_addr, char *citadel_addr)
int CtdlDirectoryDelUser (char *internet_addr, char *citadel_addr)
int CtdlDirectoryLookup (char *target, char *internet_addr, size_t targbuflen)
void CtdlSetEmailAddressesForUser (char *requested_user, char *new_emailaddrs)
void AutoGenerateEmailAddressForUser (struct ctdluser *user)
struct CtdlMessageconvert_internet_message (char *rfc822)
struct CtdlMessageconvert_internet_message_buf (StrBuf **rfc822)
int CtdlIsMe (char *addr, int addr_buf_len)
int CtdlHostAlias (char *fqdn)
char * harvest_collected_addresses (struct CtdlMessage *msg)
int is_email_subscribed_to_list (char *email, char *room_name)


char * inetcfg

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Definition at line 29 of file internet_addressing.h.

Function Documentation

◆ alias()

int alias ( char *  name)

◆ AutoGenerateEmailAddressForUser()

void AutoGenerateEmailAddressForUser ( struct ctdluser user)

◆ convert_internet_message()

struct CtdlMessage * convert_internet_message ( char *  rfc822)

Definition at line 1002 of file internet_addressing.c.

References convert_internet_message_buf(), and free().

Referenced by CtdlOutputMsg().

◆ convert_internet_message_buf()

◆ CtdlDirectoryAddUser()

int CtdlDirectoryAddUser ( char *  internet_addr,
char *  citadel_addr 

◆ CtdlDirectoryDelUser()

int CtdlDirectoryDelUser ( char *  internet_addr,
char *  citadel_addr 

Definition at line 1223 of file internet_addressing.c.

References cdb_delete(), CDB_DIRECTORY, directory_key(), and SIZ.

Referenced by CtdlSetEmailAddressesForUser().

◆ CtdlDirectoryLookup()

int CtdlDirectoryLookup ( char *  target,
char *  internet_addr,
size_t  targbuflen 

◆ CtdlHostAlias()

int CtdlHostAlias ( char *  fqdn)

◆ CtdlIsMe()

int CtdlIsMe ( char *  addr,
int  addr_buf_len 

◆ CtdlRebuildDirectoryIndex()

void CtdlRebuildDirectoryIndex ( void  )

◆ CtdlSetEmailAddressesForUser()

void CtdlSetEmailAddressesForUser ( char *  requested_user,
char *  new_emailaddrs 

◆ free_recipients()

◆ harvest_collected_addresses()

char * harvest_collected_addresses ( struct CtdlMessage msg)

◆ is_email_subscribed_to_list()

int is_email_subscribed_to_list ( char *  email,
char *  room_name 

◆ IsDirectory()

◆ process_rfc822_addr()

void process_rfc822_addr ( const char *  rfc822,
char *  user,
char *  node,
char *  name 

◆ qp_encode_email_addrs()

char * qp_encode_email_addrs ( char *  source)

Definition at line 546 of file internet_addressing.c.

References free(), malloc(), and process_rfc822_addr().

Referenced by OutputRFC822MsgHeaders().

◆ rfc822_fetch_field()

char * rfc822_fetch_field ( const char *  rfc822,
const char *  fieldname 

Definition at line 1110 of file internet_addressing.c.

References malloc(), and SIZ.

Referenced by imap_do_search_msg(), and imap_fetch_envelope().

◆ sanitize_truncated_recipient()

void sanitize_truncated_recipient ( char *  str)

Definition at line 115 of file internet_addressing.c.

Referenced by OutputCtdlMsgHeaders(), and OutputRFC822MsgHeaders().

◆ validate_recipients()

Variable Documentation

◆ inetcfg

char* inetcfg

Definition at line 40 of file internet_addressing.c.

Referenced by CtdlHostAlias(), get_hosts(), ical_freebusy(), and inetcfg_setTo().