summaryrefslogtreecommitdiff
path: root/src/desktop_vec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop_vec.h')
-rw-r--r--src/desktop_vec.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/desktop_vec.h b/src/desktop_vec.h
index 85c885e..a731566 100644
--- a/src/desktop_vec.h
+++ b/src/desktop_vec.h
@@ -1,6 +1,7 @@
#ifndef DESKTOP_VEC_H
#define DESKTOP_VEC_H
+#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
#include <stdint.h>
@@ -35,7 +36,8 @@ void desktop_vec_sort(struct desktop_vec *restrict vec);
struct desktop_entry *desktop_vec_find(struct desktop_vec *restrict vec, const char *name);
struct string_vec desktop_vec_filter(
const struct desktop_vec *restrict vec,
- const char *restrict substr);
+ const char *restrict substr,
+ bool fuzzy);
struct desktop_vec desktop_vec_load(FILE *file);
void desktop_vec_save(struct desktop_vec *restrict vec, FILE *restrict file);