summaryrefslogtreecommitdiff
path: root/local.h
blob: 726364a5bcbadc99ae5f5ae2c55b2dd866833b1d (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
/**
 * \file local.h
 */

#ifndef _LOCAL_H
#define _LOCAL_H


#include <stdio.h>

#include "message.h"


extern char *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