citadel
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)  

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.

Enumerations

enum  { hostalias_nomatch , hostalias_localhost , hostalias_masq }
 

Functions

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)
 

Variables

char * inetcfg
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
hostalias_nomatch 
hostalias_localhost 
hostalias_masq 

Definition at line 28 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 1256 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 1477 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()

◆ 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 761 of file internet_addressing.c.

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

Referenced by OutputRFC822MsgHeaders().

◆ rfc822_fetch_field()

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

Definition at line 1364 of file internet_addressing.c.

References malloc(), SIZ, and snprintf().

Referenced by imap_do_search_msg(), and imap_fetch_envelope().

◆ sanitize_truncated_recipient()

void sanitize_truncated_recipient ( char *  str)

Definition at line 328 of file internet_addressing.c.

Referenced by OutputCtdlMsgHeaders(), and OutputRFC822MsgHeaders().

◆ validate_recipients()

Variable Documentation

◆ inetcfg

char* inetcfg
extern