Split vnet driver to generic vnet part, tap and file interfaces

Fix most compilation issues of umka_shell on Windows(R)(TM), not all
of them.
This commit is contained in:
2023-02-01 18:30:44 +00:00
parent 0fdfde2b5b
commit be21f83af2
31 changed files with 491 additions and 302 deletions

View File

@@ -11,9 +11,9 @@
#define SHELL_H_INCLUDED
#include <stdio.h>
#include <threads.h>
#include <pthread.h>
#include "umka.h"
#include "io.h"
#include "umkaio.h"
enum shell_var_type {
SHELL_VAR_SINT,
@@ -42,8 +42,8 @@ struct shell_ctx {
FILE *fin;
FILE *fout;
const int *running;
cnd_t cmd_done;
mtx_t cmd_mutex;
pthread_cond_t cmd_done;
pthread_mutex_t cmd_mutex;
};