| | |
| | | extern "C" { |
| | | #endif |
| | | |
| | | #include "../base/base.h" |
| | | #include <stddef.h> |
| | | #include <string.h> |
| | | #include <ctype.h> |
| | |
| | | #include <unistd.h> |
| | | #include <stdbool.h> |
| | | #endif |
| | | #include "../base/base.h" |
| | | |
| | | typedef struct { |
| | | int id; |
| | | char device[255]; |
| | | char device[MAX_PATH]; |
| | | unsigned char disk_sn[8]; |
| | | char label[255]; |
| | | bool preferred; |
| | | int preferred; |
| | | } DiskInfo; |
| | | |
| | | 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]); |
| | | /** |
| | | * Get an identifier of the machine in an os specific way. |