Back to index

courier  0.68.2
Functions | Variables
cdefaultdomain.c File Reference
#include "courier.h"
#include <stdlib.h>

Go to the source code of this file.

Functions

const char * config_defaultdomain ()

Variables

static const char * defaultdomain

Function Documentation

const char* config_defaultdomain ( )

Definition at line 11 of file cdefaultdomain.c.

{
       if (!defaultdomain)
       {
       char   *f=config_localfilename("defaultdomain");

              if ((defaultdomain=config_read1l(f)) == 0)
                     defaultdomain=config_me();
              free(f);
       }
       return (defaultdomain);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

const char* defaultdomain [static]

Definition at line 9 of file cdefaultdomain.c.