Add initial header file

This will be used in the client and the daemon
This commit is contained in:
2024-03-02 23:02:57 -05:00
parent 78cbc47487
commit 6ca7727ee8
2 changed files with 13 additions and 0 deletions

View File

@@ -4,6 +4,8 @@
#include <zactor.h> #include <zactor.h>
#include <guestfs.h> #include <guestfs.h>
#include "libguestfs-inspect.h"
#define STREQ(a, b) (strcmp((a), (b)) == 0) #define STREQ(a, b) (strcmp((a), (b)) == 0)
void *worker_task; void *worker_task;

View File

@@ -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;
};