summaryrefslogtreecommitdiff
path: root/examples/dte/file-option.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dte/file-option.h')
-rw-r--r--examples/dte/file-option.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/examples/dte/file-option.h b/examples/dte/file-option.h
deleted file mode 100644
index ab1e930..0000000
--- a/examples/dte/file-option.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef FILE_OPTION_H
-#define FILE_OPTION_H
-
-#include <stdbool.h>
-#include "buffer.h"
-#include "util/macros.h"
-#include "util/ptr-array.h"
-#include "util/string-view.h"
-#include "util/string.h"
-
-typedef enum {
- FOPTS_FILENAME,
- FOPTS_FILETYPE,
-} FileOptionType;
-
-struct EditorState;
-
-void set_file_options(struct EditorState *e, Buffer *buffer) NONNULL_ARGS;
-void set_editorconfig_options(Buffer *buffer) NONNULL_ARGS;
-void dump_file_options(const PointerArray *file_options, String *buf);
-void free_file_options(PointerArray *file_options);
-
-NONNULL_ARGS WARN_UNUSED_RESULT
-bool add_file_options (
- PointerArray *file_options,
- FileOptionType type,
- StringView str,
- char **strs,
- size_t nstrs
-);
-
-#endif