MIKAI
Library to modify content of a Mykey
include
mikai
mikai-reader.h
Go to the documentation of this file.
1
/*
2
* @author Lilz <https://telegram.me/Lilz73>
3
* @copyright 2020-2021 Lilz <https://telegram.me/Lilz73>
4
* @license MIKAI X License
5
*
6
* This file is part of MIKAI X.
7
*
8
* MIKAI X is free software: you can redistribute it and/or modify
9
* it under the terms of the MIKAI X License, as published by
10
* Lilz along with this program and available on "MIKAI X Download" Telegram channel
11
* <https://telegram.me/mikaidownload>.
12
*
13
* MIKAI X is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY.
15
*
16
* You should have received a copy of the MIKAI X License along
17
* with MIKAI X.
18
* If not, see <https://telegram.me/mikaidownload>.
19
*/
20
21
#ifndef MIKAI_MIKAI_READER_H
22
#define MIKAI_MIKAI_READER_H
23
24
#include <stdlib.h>
25
26
typedef
struct
MyKey
MyKey
;
27
28
/*
29
* Export functions from DLL in Windows
30
* https://docs.microsoft.com/cpp/build/exporting-from-a-dll-using-declspec-dllexport
31
*/
32
#if defined _WIN32 && !defined _WINDLL
33
#define MIKAI_EXPORT __declspec(dllexport)
34
#else
35
#define MIKAI_EXPORT
36
#endif
37
38
#ifdef __cplusplus
39
extern
"C"
{
40
#endif
/* __cplusplus */
41
47
MIKAI_EXPORT
size_t
MyKeyGetReadersCount
(
MyKey
*key);
48
55
MIKAI_EXPORT
char
*
MyKeyGetReaderDescription
(
MyKey
*key,
int
reader);
56
62
MIKAI_EXPORT
int
MyKeyWriteAll
(
MyKey
*key);
63
64
#ifdef __cplusplus
65
}
66
#endif
/* __cplusplus */
67
#endif
/* MIKAI_MIKAI_H */
MyKey
Struct that represents a MyKey.
Definition:
mikai-internal.h:31
MIKAI_EXPORT
#define MIKAI_EXPORT
Definition:
mikai-reader.h:35
MyKeyWriteAll
int MyKeyWriteAll(MyKey *key)
Write all modified blocks to SRIX4K.
MyKeyGetReaderDescription
char * MyKeyGetReaderDescription(MyKey *key, int reader)
Get the description of a reader.
MyKeyGetReadersCount
size_t MyKeyGetReadersCount(MyKey *key)
Update internal register of available readers.
Generated by
1.8.17