]> diplodocus.org Git - nmh/blob - h/prototypes.h
12abb1d2b34a7a982cb0b89fa9bd19763454eaba
[nmh] / h / prototypes.h
1 /* prototypes.h -- various prototypes
2 *
3 * If you modify functions here, please document their current behavior
4 * as much as practical.
5 */
6
7 /*
8 * prototype from config.h
9 */
10 char *etcpath(char *) NONNULL(1);
11
12 /*
13 * prototypes from the nmh subroutine library
14 */
15
16 struct msgs_array;
17
18 int m_gmprot (void) PURE;
19 char *m_name (int);
20
21 int pidwait (pid_t, int);
22
23 void scan_detect_mbox_style (FILE *);
24 void scan_finished(void);
25
26 /*
27 * prototypes for some routines in uip
28 */
29 int annotate (char *, char *, char *, bool, bool, int, bool);
30 void annolist(char *, char *, char *, int);
31 void annopreserve(int);
32 int mhl(int, char **);
33 int mhlsbr(int, char **, FILE *(*)(char *));
34 int distout (char *, char *, char *);
35 int sendsbr (char **, int, char *, char *, struct stat *, int, const char *);
36 int what_now (char *, int, int, char *, char *,
37 int, struct msgs *, char *, int, char *, int);
38 int WhatNow(int, char **) NORETURN;