mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-04 10:30:42 +00:00
22 lines
516 B
C
22 lines
516 B
C
#pragma once
|
|
|
|
#include "tonlibjson_export.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
TONLIBJSON_EXPORT void *tonlib_client_json_create();
|
|
|
|
TONLIBJSON_EXPORT void tonlib_client_json_send(void *client, const char *request);
|
|
|
|
TONLIBJSON_EXPORT const char *tonlib_client_json_receive(void *client, double timeout);
|
|
|
|
TONLIBJSON_EXPORT const char *tonlib_client_json_execute(void *client, const char *request);
|
|
|
|
TONLIBJSON_EXPORT void tonlib_client_json_destroy(void *client);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|