Rocco Rutte:
[apps/madmutt.git] / enter.h
1 /*
2  * Copyright notice from original mutt:
3  * Copyright (C) 1996-2000 Michael R. Elkins <me@mutt.org>
4  *
5  * This file is part of mutt-ng, see http://www.muttng.org/.
6  * It's licensed under the GNU General Public License,
7  * please see the file GPL in the top level source directory.
8  */
9 #ifndef _MUTT_ENTER_H
10 #define _MUTT_ENTER_H
11
12 typedef struct {
13   wchar_t *wbuf;
14   size_t wbuflen;
15   size_t lastchar;
16   size_t curpos;
17   size_t begin;
18   int tabs;
19 } ENTER_STATE;
20
21 void mutt_free_enter_state (ENTER_STATE **);
22 int mutt_enter_string (char *buf, size_t buflen, int y, int x, int flags);
23 int _mutt_enter_string (char *, size_t, int, int, int, int, char ***, int *,
24                         ENTER_STATE *);
25
26 #endif /* !_MUTT_ENTER_H */