New file
Showing
1 changed file
with
79 additions
and
0 deletions
frm/frm.h
0 → 100644
1 | /* GNU Mailutils -- a suite of utilities for electronic mail | ||
2 | Copyright (C) 2005 Free Software Foundation, Inc. | ||
3 | |||
4 | GNU Mailutils is free software; you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 2, or (at your option) | ||
7 | any later version. | ||
8 | |||
9 | GNU Mailutils is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with GNU Mailutils; if not, write to the Free Software | ||
16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ | ||
17 | |||
18 | #ifdef HAVE_CONFIG_H | ||
19 | # include <config.h> | ||
20 | #endif | ||
21 | |||
22 | #include <stdio.h> | ||
23 | #include <stdlib.h> | ||
24 | #include <string.h> | ||
25 | #include <unistd.h> | ||
26 | #include <fcntl.h> | ||
27 | #include <sys/types.h> | ||
28 | #ifdef HAVE_TERMIOS_H | ||
29 | # include <termios.h> | ||
30 | #endif | ||
31 | #include <sys/ioctl.h> | ||
32 | #include <sys/stat.h> | ||
33 | |||
34 | #ifdef HAVE_ICONV_H | ||
35 | # include <iconv.h> | ||
36 | #endif | ||
37 | #ifndef MB_LEN_MAX | ||
38 | # define MB_LEN_MAX 4 | ||
39 | #endif | ||
40 | |||
41 | #include <mbswidth.h> | ||
42 | #include <xalloc.h> | ||
43 | |||
44 | #ifdef HAVE_FRIBIDI_FRIBIDI_H | ||
45 | # include <fribidi/fribidi.h> | ||
46 | #endif | ||
47 | |||
48 | #include <mailutils/address.h> | ||
49 | #include <mailutils/argp.h> | ||
50 | #include <mailutils/attribute.h> | ||
51 | #include <mailutils/debug.h> | ||
52 | #include <mailutils/errno.h> | ||
53 | #include <mailutils/header.h> | ||
54 | #include <mailutils/list.h> | ||
55 | #include <mailutils/mailbox.h> | ||
56 | #include <mailutils/message.h> | ||
57 | #include <mailutils/observer.h> | ||
58 | #include <mailutils/registrar.h> | ||
59 | #include <mailutils/stream.h> | ||
60 | #include <mailutils/url.h> | ||
61 | #include <mailutils/nls.h> | ||
62 | #include <mailutils/tls.h> | ||
63 | #include <mailutils/error.h> | ||
64 | #include <mailutils/mutil.h> | ||
65 | #include <mailutils/mime.h> | ||
66 | |||
67 | typedef int (*frm_select_t) (size_t index, message_t msg); | ||
68 | |||
69 | extern char *show_field; /* Show this header field instead of the default | ||
70 | `From: Subject:' pair. -f option */ | ||
71 | extern int show_to; /* Additionally display To: field. -l option */ | ||
72 | extern int show_number; /* Prefix each line with the message number. -n */ | ||
73 | extern int frm_debug; | ||
74 | |||
75 | extern void frm_scan (char *mailbox_name, frm_select_t fun, size_t *total); | ||
76 | extern int util_getcols (void); | ||
77 | extern void init_output (size_t s); | ||
78 | |||
79 |
-
Please register or sign in to post a comment