NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
nim_global.h
浏览该文件的文档.
1
7#ifndef NIM_SDK_DLL_API_NIM_GLOBAL_H_
8#define NIM_SDK_DLL_API_NIM_GLOBAL_H_
9
10#include "nim_global_def.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif
21
28
38NIM_SDK_DLL_API void nim_global_set_proxy(enum NIMProxyType type, const char* host, int port, const char* user, const char* password);
39
58 const char* host,
59 int port,
60 const char* user,
61 const char* password,
63 const void* user_data);
64
72NIM_SDK_DLL_API void nim_global_reg_exception_report_cb(const char* json_extension, nim_sdk_exception_cb_func cb, const void* user_data);
73
90 const char* file_type,
91 int64_t end_timestamp,
92 const char* json_extension,
94 const void* user_data);
95
112 const char* file_type,
113 int64_t end_timestamp,
114 const char* json_extension,
116 const void* user_data);
117
126NIM_SDK_DLL_API void nim_global_sdk_feedback_async(const char* url, const char* json_extension, nim_sdk_feedback_cb_func cb, const void* user_data);
127
135
143NIM_SDK_DLL_API void nim_global_upload_sdk_log(const char* feedback_message, nim_global_upload_sdk_log_cb_func cb, const void* user_data);
144
152NIM_SDK_DLL_API void nim_global_upload_sdk_log_async(const char* feedback_message, nim_global_upload_sdk_log_async_cb_func cb, const void* user_data);
153
154#ifdef __cplusplus
155};
156#endif //__cplusplus
157#endif // NIM_SDK_DLL_API_NIM_GLOBAL_H_
#define NIM_SDK_DLL_API
Definition: nim_build_config.h:14
NIM_SDK_DLL_API void nim_global_get_sdk_cache_file_info_async(const char *login_id, const char *file_type, int64_t end_timestamp, const char *json_extension, nim_sdk_get_cache_file_info_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_global_upload_sdk_log(const char *feedback_message, nim_global_upload_sdk_log_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_global_sdk_feedback_async(const char *url, const char *json_extension, nim_sdk_feedback_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_global_reg_exception_report_cb(const char *json_extension, nim_sdk_exception_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_global_reg_sdk_db_error_cb(nim_global_sdk_db_error_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_global_del_sdk_cache_file_async(const char *login_id, const char *file_type, int64_t end_timestamp, const char *json_extension, nim_sdk_del_cache_file_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_global_free_buf(void *data)
NIM_SDK_DLL_API void nim_global_set_proxy(enum NIMProxyType type, const char *host, int port, const char *user, const char *password)
NIM_SDK_DLL_API void nim_global_upload_sdk_log_async(const char *feedback_message, nim_global_upload_sdk_log_async_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_global_detect_proxy(enum NIMProxyType type, const char *host, int port, const char *user, const char *password, nim_global_detect_proxy_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_global_free_str_buf(char *str)
辅助能力 接口相关的常量函数等定义头文件
NIMProxyType
Definition: nim_global_def.h:204
void(* nim_global_upload_sdk_log_cb_func)(int rescode, const void *user_data)
上传SDK日志回调
Definition: nim_global_def.h:187
void(* nim_global_upload_sdk_log_async_cb_func)(int rescode, const char *download_url, const void *user_data)
Definition: nim_global_def.h:196
void(* nim_sdk_get_cache_file_info_cb_func)(const char *info, const void *user_data)
Definition: nim_global_def.h:129
void(* nim_global_detect_proxy_cb_func)(bool network_connect, enum NIMProxyDetectStep step, const char *json_params, const void *user_data)
Definition: nim_global_def.h:226
void(* nim_sdk_feedback_cb_func)(enum NIMResCode rescode, const void *user_data)
Definition: nim_global_def.h:145
void(* nim_sdk_exception_cb_func)(enum NIMSDKException exception, const char *log, const void *user_data)
Definition: nim_global_def.h:86
void(* nim_sdk_del_cache_file_cb_func)(enum NIMResCode rescode, const void *user_data)
Definition: nim_global_def.h:137
void(* nim_global_sdk_db_error_cb_func)(const char *error_info, const void *user_data)
Definition: nim_global_def.h:179