summaryrefslogtreecommitdiff
path: root/local.h
blob: f2cd0f11f293c1c333ea7314ac8129ea93df48ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
 * \file local.h
 */

#ifndef _LOCAL_H
#define _LOCAL_H


#include <stdio.h>

#include "message.h"


extern char *mda;
extern char *force_mda;
extern FILE *mda_fp;


/** Check whether it's a local or a remote address */
int local_address(const char *address);

/** Send a message locally (via a MDA) */
void local_init(message_t *msg);

void local_flush(message_t *msg);

void local_cleanup(void);

#endif