| | |
| | | |
| | | #include "../base/base.h" |
| | | #include <stddef.h> |
| | | #include <string.h> |
| | | #include <ctype.h> |
| | | #include <sys/types.h> |
| | | #include <unistd.h> |
| | | //definition of size_t |
| | | #include <stdlib.h> |
| | | #ifdef __unix__ |
| | |
| | | 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; |
| | |
| | | size_t * adapter_info_size); |
| | | FUNCTION_RETURN getDiskInfos(DiskInfo * diskInfos, size_t * disk_info_size); |
| | | FUNCTION_RETURN getUserHomePath(char[MAX_PATH]); |
| | | FUNCTION_RETURN getModuleName(char buffer[MAX_PATH]); |
| | | FUNCTION_RETURN getCpuId(unsigned char identifier[6]); |
| | | FUNCTION_RETURN getMachineName(unsigned char identifier[6]); |
| | | /** |
| | |
| | | VIRTUALIZATION getVirtualization(); |
| | | void os_initialize(); |
| | | |
| | | FUNCTION_RETURN verifySignature(const char* stringToVerify, const char* signatureB64); |
| | | |
| | | #ifdef __cplusplus |
| | | } |
| | | #endif |