25 lines
603 B
C++
25 lines
603 B
C++
#ifndef MY_LIBRARY_H
|
|
#define MY_LIBRARY_H
|
|
#define _CRT_SECURE_NO_WARNINGS
|
|
|
|
#include <iostream>
|
|
#include <cstring>
|
|
#include <stdio.h>
|
|
|
|
typedef unsigned long long undefined8;
|
|
typedef unsigned long undefined4;
|
|
typedef unsigned char undefined;
|
|
typedef unsigned char byte;
|
|
typedef unsigned long ulong;
|
|
typedef unsigned int uint;
|
|
|
|
void hex_to_bytes(char* input, char* output, ulong buffer_size);
|
|
|
|
void bytes_to_hex(char* input, char* output, ulong buffer_size);
|
|
|
|
void _modkey2key(uint* mod, uint* tok);
|
|
|
|
extern "C" __declspec(dllexport) char* modkey2key(char* mod, char* tok);
|
|
|
|
#endif
|