summaryrefslogtreecommitdiff
path: root/frm
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-03-03 11:43:56 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-03-03 11:43:56 +0000
commita86ea58091b9ccfd656abfb163b72fdcda6ffa7e (patch)
treeb61170e9d15419160b2f6de69b7796c362dfaadb /frm
parent891f9c44ccf15caccba072d9525f08c374772c62 (diff)
downloadmailutils-a86ea58091b9ccfd656abfb163b72fdcda6ffa7e.tar.gz
mailutils-a86ea58091b9ccfd656abfb163b72fdcda6ffa7e.tar.bz2
New file
Diffstat (limited to 'frm')
-rw-r--r--frm/frm.h79
1 files changed, 79 insertions, 0 deletions
diff --git a/frm/frm.h b/frm/frm.h
new file mode 100644
index 000000000..e9cece794
--- /dev/null
+++ b/frm/frm.h
@@ -0,0 +1,79 @@
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
67typedef int (*frm_select_t) (size_t index, message_t msg);
68
69extern char *show_field; /* Show this header field instead of the default
70 `From: Subject:' pair. -f option */
71extern int show_to; /* Additionally display To: field. -l option */
72extern int show_number; /* Prefix each line with the message number. -n */
73extern int frm_debug;
74
75extern void frm_scan (char *mailbox_name, frm_select_t fun, size_t *total);
76extern int util_getcols (void);
77extern void init_output (size_t s);
78
79

Return to:

Send suggestions and report system problems to the System administrator.