aboutsummaryrefslogtreecommitdiff
path: root/src/dbx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbx.h')
-rw-r--r--src/dbx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dbx.h b/src/dbx.h
index 7673d5b..608ed10 100644
--- a/src/dbx.h
+++ b/src/dbx.h
@@ -4,7 +4,9 @@
#ifndef _DBX_H_
#define _DBX_H_
+#include <limits.h>
#include <stdbool.h>
+#include <stddef.h>
#include <stdint.h>
struct dbx_options {
@@ -19,6 +21,10 @@ struct dbx_options {
#define COUNTOF(x) ((sizeof(x)) / (sizeof(*x)))
+void dbx_printerr(const char *format, ...);
+void dbx_perror(const char *s, int e);
+
+bool dbx_proc_find(const char *name, char path[PATH_MAX]);
int dbx_proc_run(char *const command[]);
bool dbx_proc_exec(char *const command[]);