-
Notifications
You must be signed in to change notification settings - Fork 57
/
custom_update.h
64 lines (53 loc) · 1.12 KB
/
custom_update.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*!
* \file
* \ingroup misc
* \brief custom file update functions
*/
#ifndef UUID_3d88ab37_44ba_4e1a_9b92_8caaedef1ca0
#define UUID_3d88ab37_44ba_4e1a_9b92_8caaedef1ca0
#include <SDL.h>
#ifdef __cplusplus
extern "C"
{
#endif
/*!
* \ingroup update
* \brief Initialize the custom update
*
* The function initializes the custom updates threads.
*/
void init_custom_update();
/*!
* \ingroup update
* \brief Starts the custom update
*
* The function starts the custom updates in background threads.
*/
void start_custom_update();
/*!
* \ingroup update
* \brief Stopps the custom update
*
* The function stopps the custom updates and saves what is done
* till now.
*/
void stopp_custom_update();
/*!
* \ingroup update
* \brief Starts the updates.
*
* Starts the updates.
*/
int command_update(char *text, int len);
/*!
* \ingroup update
* \brief Prints to console the update status.
*
* Prints to the el console the current update status.
*/
int command_update_status(char *text, int len);
extern int custom_update;
#ifdef __cplusplus
}
#endif
#endif /* UUID_3d88ab37_44ba_4e1a_9b92_8caaedef1ca0 */