| | |
| | | |
| | | #ifdef __unix__ |
| | | #define DllExport |
| | | #define MAX_PATH 1024 |
| | | #ifndef MAX_PATH |
| | | #define MAX_PATH 1024 |
| | | #endif |
| | | #else |
| | | #include <windows.h> |
| | | #define DllExport __declspec( dllexport ) |
| | |
| | | * This method calculate the pc identifier. The string has to be shown |
| | | * to the user in order to calculate the license. |
| | | */ |
| | | void identify_pc(IDENTIFICATION_STRATEGY pc_id_method, |
| | | DllExport void identify_pc(IDENTIFICATION_STRATEGY pc_id_method, |
| | | char chbuffer[PC_IDENTIFIER_SIZE + 1]); |
| | | /* |
| | | * The optional parameter License contains the information the program that uses the library |