NIM SDK API  8.5.0
nim_global.h
Go to the documentation of this file.
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
13 extern "C" {
14 #endif
15 
20 NIM_SDK_DLL_API void nim_global_free_str_buf(char* str);
21 
27 NIM_SDK_DLL_API void nim_global_free_buf(void* data);
28 
38 NIM_SDK_DLL_API void nim_global_set_proxy(enum NIMProxyType type, const char* host, int port, const char* user, const char* password);
39 
57 NIM_SDK_DLL_API void nim_global_detect_proxy(enum NIMProxyType type,
58  const char* host,
59  int port,
60  const char* user,
61  const char* password,
63  const void* user_data);
64 
72 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);
73 
89 NIM_SDK_DLL_API void nim_global_get_sdk_cache_file_info_async(const char* login_id,
90  const char* file_type,
91  int64_t end_timestamp,
92  const char* json_extension,
94  const void* user_data);
95 
111 NIM_SDK_DLL_API void nim_global_del_sdk_cache_file_async(const char* login_id,
112  const char* file_type,
113  int64_t end_timestamp,
114  const char* json_extension,
116  const void* user_data);
117 
126 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);
127 
134 NIM_SDK_DLL_API void nim_global_reg_sdk_db_error_cb(nim_global_sdk_db_error_cb_func cb, const void* user_data);
135 
143 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);
144 
145 #ifdef __cplusplus
146 };
147 #endif //__cplusplus
148 #endif // NIM_SDK_DLL_API_NIM_GLOBAL_H_
nim_sdk_get_cache_file_info_cb_func
void(* nim_sdk_get_cache_file_info_cb_func)(const char *info, const void *user_data)
Definition: nim_global_def.h:96
nim_global_upload_sdk_log
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_global_detect_proxy
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_global_free_buf
NIM_SDK_DLL_API void nim_global_free_buf(void *data)
nim_global_get_sdk_cache_file_info_async
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_global_free_str_buf
NIM_SDK_DLL_API void nim_global_free_str_buf(char *str)
nim_sdk_exception_cb_func
void(* nim_sdk_exception_cb_func)(enum NIMSDKException exception, const char *log, const void *user_data)
Definition: nim_global_def.h:70
nim_global_sdk_db_error_cb_func
void(* nim_global_sdk_db_error_cb_func)(const char *error_info, const void *user_data)
Definition: nim_global_def.h:137
nim_global_del_sdk_cache_file_async
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_global_set_proxy
NIM_SDK_DLL_API void nim_global_set_proxy(enum NIMProxyType type, const char *host, int port, const char *user, const char *password)
nim_global_reg_sdk_db_error_cb
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_del_cache_file_cb_func
void(* nim_sdk_del_cache_file_cb_func)(enum NIMResCode rescode, const void *user_data)
Definition: nim_global_def.h:104
nim_global_detect_proxy_cb_func
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:168
nim_global_reg_exception_report_cb
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_global_def.h
辅助能力 接口相关的常量函数等定义头文件
nim_sdk_feedback_cb_func
void(* nim_sdk_feedback_cb_func)(enum NIMResCode rescode, const void *user_data)
Definition: nim_global_def.h:112
nim_global_sdk_feedback_async
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)
NIMProxyType
NIMProxyType
Definition: nim_global_def.h:152