X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=enter.h;fp=enter.h;h=aaf677f3d466b2a9762cd16ed07ca64f1930892b;hb=cf69ddd650f124d3aed242285434ba2b97fb4b79;hp=0000000000000000000000000000000000000000;hpb=666a29207bb781f47ec85f6a3c3cdeb554b30c21;p=apps%2Fmadmutt.git diff --git a/enter.h b/enter.h new file mode 100644 index 0000000..aaf677f --- /dev/null +++ b/enter.h @@ -0,0 +1,26 @@ +/* + * Copyright notice from original mutt: + * Copyright (C) 1996-2000 Michael R. Elkins + * + * This file is part of mutt-ng, see http://www.muttng.org/. + * It's licensed under the GNU General Public License, + * please see the file GPL in the top level source directory. + */ +#ifndef _MUTT_ENTER_H +#define _MUTT_ENTER_H + +typedef struct { + wchar_t *wbuf; + size_t wbuflen; + size_t lastchar; + size_t curpos; + size_t begin; + int tabs; +} ENTER_STATE; + +void mutt_free_enter_state (ENTER_STATE **); +int mutt_enter_string (char *buf, size_t buflen, int y, int x, int flags); +int _mutt_enter_string (char *, size_t, int, int, int, int, char ***, int *, + ENTER_STATE *); + +#endif /* !_MUTT_ENTER_H */