summaryrefslogtreecommitdiff
path: root/local.h
blob: 7ce218d4f320debd316d54f249517e1ebebb2c96 (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) */
int local_init(message_t *msg);

int local_flush(message_t *msg);

void local_cleanup(void);

#endif