]> diplodocus.org Git - nmh/blob - uip/mhmisc.h
vector.c: Move interface to own file.
[nmh] / uip / mhmisc.h
1 /* mhmisc.h -- misc routines to process MIME messages
2 *
3 * This code is Copyright (c) 2017, by the authors of nmh. See the
4 * COPYRIGHT file in the root directory of the nmh distribution for
5 * complete copyright information.
6 */
7
8 int part_ok(CT) PURE;
9 int part_exact(CT) PURE;
10 int type_ok(CT, int);
11 int is_inline(CT) PURE;
12 int make_intermediates(char *);
13 void content_error(char *, CT, char *, ...) CHECK_PRINTF(3, 4);
14 void flush_errors(void);
15
16 #define NPARTS 50
17 #define NTYPES 20
18
19 extern int npart;
20 extern int ntype;
21 extern char *parts[NPARTS + 1];
22 extern char *types[NTYPES + 1];
23
24 extern bool userrs;