22 lines
436 B
C
Raw Normal View History

2021-02-16 12:26:40 -05:00
#pragma once
2022-06-10 21:59:57 -04:00
#include <libreborn/libreborn.h>
2021-02-16 12:26:40 -05:00
#ifdef __cplusplus
extern "C" {
#endif
2021-09-11 23:18:12 -04:00
#ifndef MCPI_SERVER_MODE
2021-02-16 12:26:40 -05:00
void chat_open();
2021-02-16 17:08:43 -05:00
unsigned int chat_get_counter();
2021-09-11 23:18:12 -04:00
#endif // #ifndef MCPI_SERVER_MODE
2021-02-16 12:26:40 -05:00
2021-07-04 19:02:45 -04:00
__attribute__((visibility("internal"))) extern int _chat_enabled;
2021-09-11 23:18:12 -04:00
#ifndef MCPI_SERVER_MODE
2021-06-17 17:32:24 -04:00
__attribute__((visibility("internal"))) void _chat_queue_message(char *message);
2021-09-11 23:18:12 -04:00
#endif // #ifndef MCPI_SERVER_MODE
2021-06-17 17:32:24 -04:00
2021-02-16 12:26:40 -05:00
#ifdef __cplusplus
}
2021-07-04 19:02:45 -04:00
#endif