1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-03 03:56:32 -04:00
elinks/src/dialogs/edit.h
Witold Filipczyk 0fea79cc8f [cflags] Removed -Wno-pointer-sign
Likely some new bugs were introduced by this change.
The long term goal is clean compilation by g++.
2021-01-02 16:20:27 +01:00

29 lines
564 B
C

#ifndef EL__DIALOGS_EDIT_H
#define EL__DIALOGS_EDIT_H
#include "bfu/dialog.h"
#include "session/session.h"
#include "terminal/terminal.h"
#ifdef __cplusplus
extern "C" {
#endif
enum edit_dialog_type {
EDIT_DLG_SEARCH, /* search dialog */
EDIT_DLG_ADD /* edit/add dialog */
};
void do_edit_dialog(struct terminal *, int, char *,
const char *, const char *,
struct session *, struct dialog_data *,
done_handler_T *when_done,
void when_cancel(struct dialog *),
void *, enum edit_dialog_type);
#ifdef __cplusplus
}
#endif
#endif