File: funcs.h

package info (click to toggle)
maildrop 0.54a-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 872 kB
  • ctags: 883
  • sloc: cpp: 8,469; ansic: 658; sh: 327; makefile: 82
file content (38 lines) | stat: -rw-r--r-- 1,559 bytes parent folder | download
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
30
31
32
33
34
35
36
37
38
/* DSTART                                                                    */
/*                                                                           */
/*           maildrop - mail delivery agent with filtering abilities         */
/*                                                                           */
/*  Copyright 1998, Double Precision Inc.                                    */
/*                                                                           */
/*  This program is distributed under the terms of the GNU General Public    */
/*  License. See COPYING for additional information.                         */
/* DEND                                                                      */
#ifndef	funcs_h
#define	funcs_h

static const char funcs_h_rcsid[]="$Id: funcs.h 1.1 1998/04/17 00:08:53 mrsam Exp $";

#include	"autoconf.h"
#include	"maildrop.h"

#define	SLASH_CHAR	'/'

// Miscellaneous functions that do not fit anywhere else.

void	memorycopy(void *dst, void *src, int cnt);
			// Function copies block of memory that may overlap

void	outofmem();	// Throw an out of memory error message, and die.
void	seekerr();	// Throw a bad seek error message, and die.

extern int verbose_level;
#define	VerboseLevel()	maildrop.verbose_level
const char *GetDefaultMailbox(const char *);
int	delivery(const char *);
int	filter(const char *);
void	subshell(const char *);
const char *TempName();	// Return temporary filename
const char *TempName(const char *, unsigned=0);	// ... with this prefix.

int backslash_char(int);
#endif