diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
| commit | dcacc00e3750300617ba6e16eb346713f91a783a (patch) | |
| tree | 38e2d4fb5ed9d119711d4295c6eda4b014af73fd /examples/dte/file-history.h | |
| parent | 58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff) | |
| download | crep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz | |
Remove testing data
Diffstat (limited to 'examples/dte/file-history.h')
| -rw-r--r-- | examples/dte/file-history.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/examples/dte/file-history.h b/examples/dte/file-history.h deleted file mode 100644 index 0a51891..0000000 --- a/examples/dte/file-history.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef FILE_HISTORY_H -#define FILE_HISTORY_H - -#include <stdbool.h> -#include "util/hashmap.h" -#include "util/macros.h" - -typedef struct FileHistoryEntry { - struct FileHistoryEntry *next; - struct FileHistoryEntry *prev; - char *filename; - unsigned long row; - unsigned long col; -} FileHistoryEntry; - -typedef struct { - char *filename; - HashMap entries; - FileHistoryEntry *first; - FileHistoryEntry *last; -} FileHistory; - -void file_history_add(FileHistory *hist, unsigned long row, unsigned long col, const char *filename); -void file_history_load(FileHistory *hist, char *filename); -void file_history_save(const FileHistory *hist); -bool file_history_find(const FileHistory *hist, const char *filename, unsigned long *row, unsigned long *col) WARN_UNUSED_RESULT; -void file_history_free(FileHistory *history); - -#endif |
