tanvastouch_diagnostics.h
Go to the documentation of this file.
1 /***************************************************************************************************
2  *
3  * Tanvas, Inc
4  * https://tanvas.co
5  *
6  * Copyright(c) 2019. All Rights Reserved
7  *
8  * Source code from Tanvas is supplied under the terms of a license agreement
9  * and may not be copied or disclosed except in accordance with the terms of that agreement.
10  * The various license agreements may be found at the Tanvas web site.
11  *
12  **************************************************************************************************/
13 
14 #ifndef TANVAS_TANVASTOUCH_DIAGNOSTICS_H
15 #define TANVAS_TANVASTOUCH_DIAGNOSTICS_H
16 
17 #include "tanvastouch.h"
18 #include <stdbool.h>
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
33 TANVASTOUCH_API int tanvastouch_diag_set_server_enabled(tanvastouch_ctx* ctx, bool enabled,
34  const char* path);
35 
51 TANVASTOUCH_API int tanvastouch_diag_get_server_path(tanvastouch_ctx* ctx, bool* running,
52  char* path_buffer, size_t path_buffer_len,
53  size_t* actual_path_len);
54 
55 #ifdef __cplusplus
56 } /* extern "C" */
57 #endif
58 
59 #endif /* TANVAS_TANVASTOUCH_DIAGNOSTICS_H */
tanvastouch_ctx
struct tanvastouch_ctx tanvastouch_ctx
Definition: tanvastouch.h:157
tanvastouch_diag_get_server_path
TANVASTOUCH_API int tanvastouch_diag_get_server_path(tanvastouch_ctx *ctx, bool *running, char *path_buffer, size_t path_buffer_len, size_t *actual_path_len)
tanvastouch_diag_set_server_enabled
TANVASTOUCH_API int tanvastouch_diag_set_server_enabled(tanvastouch_ctx *ctx, bool enabled, const char *path)
tanvastouch.h