X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=buffer.h;fp=buffer.h;h=29f201e78db928a8002b141d579cf84db9b6a89d;hp=0000000000000000000000000000000000000000;hb=666a29207bb781f47ec85f6a3c3cdeb554b30c21;hpb=ba5e3af4ea19e1d20c80941c077039871ec84258 diff --git a/buffer.h b/buffer.h new file mode 100644 index 0000000..29f201e --- /dev/null +++ b/buffer.h @@ -0,0 +1,22 @@ +/* + * 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_BUFFER_H +#define _MUTT_BUFFER_H + +#include "mutt.h" + +int mutt_extract_token (BUFFER *, BUFFER *, int); +BUFFER *mutt_buffer_init (BUFFER *); +BUFFER *mutt_buffer_from (BUFFER *, char *); +void mutt_buffer_free (BUFFER **); +void mutt_buffer_add (BUFFER *, const char *, size_t); +void mutt_buffer_addstr (BUFFER *, const char *); +void mutt_buffer_addch (BUFFER *, char); + +#endif /* !_MUTT_BUFFER_H */