39853108fa76e4877b2261c59a3588c5e886d888
[apps/madmutt.git] / lib.h
1 /*
2  * Copyright notice from original mutt:
3  * Copyright (C) 1996-2000 Michael R. Elkins <me@mutt.org>
4  * Copyright (C) 1999-2000 Thomas Roessler <roessler@does-not-exist.org>
5  *
6  * This file is part of mutt-ng, see http://www.muttng.org/.
7  * It's licensed under the GNU General Public License,
8  * please see the file GPL in the top level source directory.
9  */
10
11 /* mutt functions which are generally useful. */
12
13 #ifndef _LIB_H
14 # define _LIB_H
15
16 # include <stdio.h>
17 # include <string.h>
18 # ifdef HAVE_UNISTD_H
19 #  include <unistd.h>           /* needed for SEEK_SET */
20 # endif
21 # include <sys/types.h>
22 # include <sys/stat.h>
23 # include <time.h>
24 # include <limits.h>
25 # include <stdarg.h>
26 # include <signal.h>
27
28 # ifndef _POSIX_PATH_MAX
29 #  include <posix1_lim.h>
30 # endif
31
32 void mutt_exit (int);
33
34 /* The actual library functions. */
35
36 void mutt_nocurses_error (const char *, ...);
37
38 #endif