aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-08-02 13:07:41 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-08-02 13:07:41 +0530
commit246a95dbd8f79033124a1c8aba8af6ee03a6af8e (patch)
tree16d98d35f19812375f4400015388bd21196c3341 /include
parent0f5bde0d9bf98d973012038f8a77183a6e758b21 (diff)
msg: run every 500ms instead of watching for changes
Diffstat (limited to 'include')
-rw-r--r--include/msg.h2
-rw-r--r--include/util.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/msg.h b/include/msg.h
index 4f44bf0..3dea0d9 100644
--- a/include/msg.h
+++ b/include/msg.h
@@ -32,6 +32,6 @@ typedef struct {
bool verbose;
} msg_t;
-int run(void);
+int run(bool log);
#endif
diff --git a/include/util.h b/include/util.h
index d3c26a1..69c51f2 100644
--- a/include/util.h
+++ b/include/util.h
@@ -23,6 +23,7 @@ typedef struct {
void *ptr;
} ptr_wrapper_t;
+int msleep(long msec);
char *ltrim(char *s);
char *rtrim(char *s);
char *trim(char *s);