From 6ca7727ee8ee27a7e979e22cc965366464d4482d Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Sat, 2 Mar 2024 23:02:57 -0500 Subject: [PATCH] Add initial header file This will be used in the client and the daemon --- guestfs-inspectd.c | 2 ++ libguestfs-inspect.h | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/guestfs-inspectd.c b/guestfs-inspectd.c index ac8b006..d92617f 100644 --- a/guestfs-inspectd.c +++ b/guestfs-inspectd.c @@ -4,6 +4,8 @@ #include #include +#include "libguestfs-inspect.h" + #define STREQ(a, b) (strcmp((a), (b)) == 0) void *worker_task; diff --git a/libguestfs-inspect.h b/libguestfs-inspect.h index e69de29..760b8d2 100644 --- a/libguestfs-inspect.h +++ b/libguestfs-inspect.h @@ -0,0 +1,11 @@ +enum guestfs_inspect_command { + GUESTFS_COMMAND_LS, + GUESTFS_COMMAND_TOUCH, + GUESTFS_COMMAND_MKDIR, + GUESTFS_COMMAND_CAT +}; + +struct guestfs_inpsect_command { + enum guestfs_inspect_command command; +}; +