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
domain.h File Reference
#include "typesize.h"
Include dependency graph for domain.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mx


#define HFIXEDSZ   12 /* I hope! */
#define INT16SZ   sizeof(cit_int16_t)
#define INT32SZ   sizeof(cit_int32_t)


int getmx (char *mxbuf, char *dest)
int get_hosts (char *mxbuf, char *rectype)

Macro Definition Documentation


#define HFIXEDSZ   12 /* I hope! */

Definition at line 27 of file domain.h.


#define INT16SZ   sizeof(cit_int16_t)

Definition at line 30 of file domain.h.


#define INT32SZ   sizeof(cit_int32_t)

Definition at line 33 of file domain.h.

Function Documentation

◆ get_hosts()

int get_hosts ( char *  mxbuf,
char *  rectype 

Definition at line 33 of file domain.c.

References inetcfg.

Referenced by clamd(), getmx(), rbl_check(), and spam_assassin().

◆ getmx()

int getmx ( char *  mxbuf,
char *  dest 

Definition at line 89 of file domain.c.

References get_hosts(), HFIXEDSZ, mx::host, INT16SZ, INT32SZ, mx_compare_pref(), and mx::pref.

Referenced by smtp_attempt_delivery().