[client] added initial ivshmem client implementation

This commit is contained in:
Geoffrey McRae
2017-10-19 16:00:57 +11:00
parent 314b8621ea
commit 48facb3746
4 changed files with 162 additions and 2 deletions

13
client/ivshmem/ivshmem.h Normal file
View File

@@ -0,0 +1,13 @@
#include <stdint.h>
#include <stdbool.h>
struct IVSHMEMInit
{
int64_t version;
int64_t clientID;
int64_t unused;
int64_t sharedFD;
};
bool ivshmem_connect(const char * unix_socket);
void ivshmem_close();