-
Notifications
You must be signed in to change notification settings - Fork 1
/
qna.h
32 lines (22 loc) · 792 Bytes
/
qna.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
//
#pragma once
#include "defines/bot_api.h"
#ifdef WIN32
int __cdecl cfbot_initialize(CFBOT_CALLBACKS *callbacks, void *context);
void __cdecl cfbot_finalize();
int __cdecl cfbot_add_client(char* bot_name, char* work_dir);
void __cdecl cfbot_remove_client(char* bot_name);
void __cdecl cfbot_plugininformation(CFBOT_PLUGININFORMATION *info);
void __cdecl cfbot_pushevent(char* bot_name, char *event_data, int event_size);
#else
extern "C"
{
int cfbot_initialize(CFBOT_CALLBACKS *callbacks, void *context);
void cfbot_finalize();
int cfbot_add_client(char* bot_name, char* work_dir);
void cfbot_remove_client(char* bot_name);
void cfbot_plugininformation(CFBOT_PLUGININFORMATION *info);
void cfbot_pushevent(char* bot_name, char *event_data, int event_size);
};
#endif