Back to index

courier  0.68.2
Functions | Variables
courier-config.c File Reference
#include "courier.h"
#include "prefix.h"
#include "exec_prefix.h"
#include "sysconfdir.h"
#include "localstatedir.h"
#include "libexecdir.h"
#include "bindir.h"
#include "sbindir.h"
#include "datadir.h"
#include "uidgid.h"
#include "configargs.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>

Go to the source code of this file.

Functions

int main (int argc, char **argv)

Variables

static const char prefix [] = PREFIX
static const char exec_prefix [] = EXEC_PREFIX
static const char sysconfdir [] = SYSCONFDIR
static const char localstatedir [] = LOCALSTATEDIR
static const char libexecdir [] = LIBEXECDIR
static const char bindir [] = BINDIR
static const char sbindir [] = SBINDIR
static const char datadir [] = DATADIR
static const char mailuser [] = MAILUSER
static const char mailgroup [] = MAILGROUP
static const char configargs [] = CONFIGURE_ARGS

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 39 of file courier-config.c.

{
       printf("prefix=%s\n", prefix);
       printf("exec_prefix=%s\n", exec_prefix);
       printf("bindir=%s\n", bindir);
       printf("sbindir=%s\n", sbindir);
       printf("libexecdir=%s\n", libexecdir);
       printf("sysconfdir=%s\n", sysconfdir);
       printf("datadir=%s\n", datadir);
       printf("localstatedir=%s\n", localstatedir);
       printf("mailuser=%s\n", mailuser);
       printf("mailgroup=%s\n", mailgroup);
       printf("mailuid=%d\n", MAILUID);
       printf("mailgid=%d\n", MAILGID);
       printf("configure_args=\"%s\"\n", configargs);
       exit(0);
       return (0);
}

Variable Documentation

const char bindir[] = BINDIR [static]

Definition at line 30 of file courier-config.c.

const char configargs[] = CONFIGURE_ARGS [static]

Definition at line 37 of file courier-config.c.

const char datadir[] = DATADIR [static]

Definition at line 32 of file courier-config.c.

const char exec_prefix[] = EXEC_PREFIX [static]

Definition at line 26 of file courier-config.c.

const char libexecdir[] = LIBEXECDIR [static]

Definition at line 29 of file courier-config.c.

const char localstatedir[] = LOCALSTATEDIR [static]

Definition at line 28 of file courier-config.c.

const char mailgroup[] = MAILGROUP [static]

Definition at line 35 of file courier-config.c.

const char mailuser[] = MAILUSER [static]

Definition at line 34 of file courier-config.c.

const char prefix[] = PREFIX [static]

Definition at line 25 of file courier-config.c.

const char sbindir[] = SBINDIR [static]

Definition at line 31 of file courier-config.c.

const char sysconfdir[] = SYSCONFDIR [static]

Definition at line 27 of file courier-config.c.