summaryrefslogtreecommitdiff
path: root/src/string_vec.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-11-15 19:37:48 +0000
committerPhil Jones <philj56@gmail.com>2021-11-15 19:37:48 +0000
commit49c7405b6a88e56bb69e12189adb719927343e07 (patch)
tree72c7691e746563cc1396c5b555659c813572c12e /src/string_vec.h
parent108df42e561b7e81ba09a8c278a562129e651bb6 (diff)
Multiple smaller changes.
- Remove the background image and libpng dependency - Add a prompt - Add xmalloc with out-of-memory handling - Add beginnings of a rofi-like run cache
Diffstat (limited to 'src/string_vec.h')
-rw-r--r--src/string_vec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/string_vec.h b/src/string_vec.h
index b3395ad..7ebcb53 100644
--- a/src/string_vec.h
+++ b/src/string_vec.h
@@ -3,6 +3,11 @@
#include <stddef.h>
+struct program {
+ char *name;
+ size_t run_count;
+};
+
struct string_vec {
size_t count;
size_t size;