| | |
| | | |
| | | #include "../base/base.h" |
| | | #include <stddef.h> |
| | | #include <string.h> |
| | | #include <ctype.h> |
| | | #include <sys/types.h> |
| | | //definition of size_t |
| | | #include <stdlib.h> |
| | | #ifdef __unix__ |
| | | #include <unistd.h> |
| | | #include <stdbool.h> |
| | | #endif |
| | | |
| | | typedef enum { |
| | | NONE, VMWARE |
| | | NONE, CONTAINER, VM |
| | | } VIRTUALIZATION; |
| | | |
| | | typedef enum { |
| | |
| | | typedef struct { |
| | | int id; |
| | | char description[1024]; |
| | | unsigned char mac_address[6]; |
| | | unsigned char mac_address[8]; |
| | | unsigned char ipv4_address[4]; |
| | | IFACE_TYPE type; |
| | | } OsAdapterInfo; |
| | |
| | | VIRTUALIZATION getVirtualization(); |
| | | void os_initialize(); |
| | | |
| | | FUNCTION_RETURN verifySignature(const char* stringToVerify, const char* signatureB64); |
| | | |
| | | #ifdef __cplusplus |
| | | } |
| | | #endif |