summaryrefslogtreecommitdiff
path: root/src/compgen.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-06-10 19:36:29 +0100
committerPhil Jones <philj56@gmail.com>2022-06-10 19:36:29 +0100
commit7c31982244f179cb2f51bb1d81b21ad4efd649ba (patch)
tree07c612f81b6b5a15aa2c0587fdee7077ceaeba36 /src/compgen.h
parenta6ac47fb763fd4448c0269e274f061226fa0f10a (diff)
Various small changes.
- Split the compgen and history sorting parts of compgen(), for future dmenu-like work. - Add a separate tofi-compgen executable. - Remove harfbuzz-glib usage, as we shouldn't be doing any complicated unicode stuff.
Diffstat (limited to 'src/compgen.h')
-rw-r--r--src/compgen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compgen.h b/src/compgen.h
index 502bcb5..c79f548 100644
--- a/src/compgen.h
+++ b/src/compgen.h
@@ -4,6 +4,7 @@
#include "history.h"
#include "string_vec.h"
-struct string_vec compgen(struct history *history);
+struct string_vec compgen(void);
+void compgen_history_sort(struct string_vec *programs, struct history *history);
#endif /* COMPGEN_H */