NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
lib.h
Go to the documentation of this file.
1
36#ifndef MUTT_EDITOR_LIB_H
37#define MUTT_EDITOR_LIB_H
38
39#include <stddef.h>
40#include "mutt.h"
41// IWYU pragma: begin_keep
42#include "enter.h"
43#include "state.h"
44#include "wdata.h"
45// IWYU pragma: end_keep
46#include "history/lib.h"
47
48struct Buffer;
49struct CompleteOps;
50
51int mw_get_field(const char *prompt, struct Buffer *buf, CompletionFlags complete, enum HistoryClass hclass, const struct CompleteOps *comp_api, void *cdata);
52void replace_part(struct EnterState *es, size_t from, const char *buf);
53
54#endif /* MUTT_EDITOR_LIB_H */
void replace_part(struct EnterState *es, size_t from, const char *buf)
Search and replace on a buffer.
Definition: functions.c:132
Enter buffer.
int mw_get_field(const char *prompt, struct Buffer *buf, CompletionFlags complete, enum HistoryClass hclass, const struct CompleteOps *comp_api, void *cdata)
Ask the user for a string -.
Definition: window.c:274
Read/write command history from/to a file.
HistoryClass
Type to differentiate different histories.
Definition: lib.h:50
Keep track when processing files.
Many unsorted constants and some structs.
uint8_t CompletionFlags
Flags for mw_get_field(), e.g. MUTT_COMP_NO_FLAGS.
Definition: mutt.h:55
Progress Bar Window Data.
String manipulation buffer.
Definition: buffer.h:36
enum FunctionRetval(* complete)(struct EnterWindowData *wdata, int op)
Definition: compapi.h:46
Keep our place when entering a string.
Definition: state.h:32