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)  

domain.c File Reference
#include "sysdep.h"
#include <stdio.h>
#include <syslog.h>
#include <arpa/nameser.h>
#include <arpa/nameser_compat.h>
#include <resolv.h>
#include <libcitadel.h>
#include "sysdep_decls.h"
#include "citadel.h"
#include "domain.h"
#include "internet_addressing.h"
Include dependency graph for domain.c:

Go to the source code of this file.

Functions

int get_hosts (char *mxbuf, char *rectype)
 
int mx_compare_pref (const void *mx1, const void *mx2)
 
int getmx (char *mxbuf, char *dest)
 

Function Documentation

◆ get_hosts()

int get_hosts ( char *  mxbuf,
char *  rectype 
)

Definition at line 34 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 90 of file domain.c.

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

Referenced by smtp_attempt_delivery().

◆ mx_compare_pref()

int mx_compare_pref ( const void *  mx1,
const void *  mx2 
)

Definition at line 64 of file domain.c.

Referenced by getmx().