7#ifndef NIM_SDK_DLL_API_NIM_NOS_H_
8#define NIM_SDK_DLL_API_NIM_NOS_H_
62 const void* res_user_data,
64 const void* prg_user_data);
92 const void* res_user_data,
94 const void* prg_user_data);
116 const void* res_user_data,
118 const void* prg_user_data);
137 const void* res_user_data,
139 const void* prg_user_data);
169 const char* json_extension,
171 const void* res_user_data,
173 const void* prg_user_data,
175 const void* speed_user_data,
177 const void* info_user_data);
208 const char* json_extension,
210 const void* res_user_data,
212 const void* prg_user_data,
214 const void* speed_user_data,
216 const void* info_user_data);
257 const char* json_extension,
259 const void* res_user_data,
261 const void* prg_user_data,
263 const void* speed_user_data,
265 const void* info_user_data);
299 const char* json_extension,
301 const void* res_user_data,
303 const void* prg_user_data,
305 const void* speed_user_data,
307 const void* info_user_data);
340 const char* json_extension,
342 const void* user_data);
#define NIM_SDK_DLL_API
Definition: nim_build_config.h:14
NIM_SDK_DLL_API void nim_nos_download_media_ex(const char *json_msg, const char *json_extension, nim_nos_download_cb_func res_cb, const void *res_user_data, nim_nos_download_prg_cb_func prg_cb, const void *prg_user_data, nim_nos_download_speed_cb_func speed_cb, const void *speed_user_data, nim_nos_download_info_cb_func info_cb, const void *info_user_data)
NIM_SDK_DLL_API void nim_nos_stop_upload_ex(const char *task_id, const char *json_extension)
NIM_SDK_DLL_API void nim_nos_set_quick_trans(int quick_trans)
NIM_SDK_DLL_API void nim_nos_reg_upload_cb(nim_nos_upload_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_nos_download_ex(const char *nos_url, const char *json_extension, nim_nos_download_cb_func res_cb, const void *res_user_data, nim_nos_download_prg_cb_func prg_cb, const void *prg_user_data, nim_nos_download_speed_cb_func speed_cb, const void *speed_user_data, nim_nos_download_info_cb_func info_cb, const void *info_user_data)
NIM_SDK_DLL_API void nim_nos_upload2(const char *local_file, const char *tag, nim_nos_upload_cb_func res_cb, const void *res_user_data, nim_nos_upload_prg_cb_func prg_cb, const void *prg_user_data)
NIM_SDK_DLL_API void nim_nos_init_config(const char *json_tags, nim_nos_init_config_cb_func cb, const char *json_extension, const void *user_data)
NIM_SDK_DLL_API void nim_nos_safeurl_to_originurl(const char *safe_url, const char *json_extension, nim_nos_safeurl_to_originurl_cb_func callback_result, const void *user_data)
NIM_SDK_DLL_API void nim_nos_upload(const char *local_file, nim_nos_upload_cb_func res_cb, const void *res_user_data, nim_nos_upload_prg_cb_func prg_cb, const void *prg_user_data)
NIM_SDK_DLL_API void nim_nos_stop_download_ex(const char *task_id, const char *json_extension)
NIM_SDK_DLL_API void nim_nos_reg_download_cb(nim_nos_download_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_nos_download(const char *nos_url, nim_nos_download_cb_func res_cb, const void *res_user_data, nim_nos_download_prg_cb_func prg_cb, const void *prg_user_data)
NIM_SDK_DLL_API void nim_nos_download_media(const char *json_msg, nim_nos_download_cb_func res_cb, const void *res_user_data, nim_nos_download_prg_cb_func prg_cb, const void *prg_user_data)
NIM_SDK_DLL_API void nim_nos_stop_download_media(const char *json_msg)
NIM_SDK_DLL_API void nim_nos_upload_ex(const char *local_file, const char *json_extension, nim_nos_upload_cb_func res_cb, const void *res_user_data, nim_nos_upload_prg_cb_func prg_cb, const void *prg_user_data, nim_nos_upload_speed_cb_func speed_cb, const void *speed_user_data, nim_nos_upload_info_cb_func info_cb, const void *info_user_data)
NIM_SDK_DLL_API void nim_nos_reg_custom_token_cb(nim_nos_custom_token_cb_func cb)
NIM_SDK_DLL_API void nim_nos_upload_ex2(const char *local_file, const char *tag, const char *json_extension, nim_nos_upload_cb_func res_cb, const void *res_user_data, nim_nos_upload_prg_cb_func prg_cb, const void *prg_user_data, nim_nos_upload_speed_cb_func speed_cb, const void *speed_user_data, nim_nos_upload_info_cb_func info_cb, const void *info_user_data)
void(* nim_nos_upload_cb_func)(int rescode, const char *url, const char *json_extension, const void *user_data)
Definition: nim_nos_def.h:106
void(* nim_nos_download_speed_cb_func)(int64_t download_speed, const char *json_extension, const void *user_data)
Definition: nim_nos_def.h:82
void(* nim_nos_download_info_cb_func)(int64_t actual_download_size, int64_t download_speed, const char *json_extension, const void *user_data)
Definition: nim_nos_def.h:96
void(* nim_nos_custom_token_cb_func)(const char *url, char *token, const int length)
Definition: nim_nos_def.h:153
void(* nim_nos_safeurl_to_originurl_cb_func)(int rescode, const char *origin_url, const void *user_data)
Definition: nim_nos_def.h:144
void(* nim_nos_download_cb_func)(int rescode, const char *file_path, const char *call_id, const char *res_id, const char *json_extension, const void *user_data)
Definition: nim_nos_def.h:58
void(* nim_nos_download_prg_cb_func)(int64_t downloaded_size, int64_t file_size, const char *json_extension, const void *user_data)
Definition: nim_nos_def.h:73
void(* nim_nos_upload_prg_cb_func)(int64_t uploaded_size, int64_t file_size, const char *json_extension, const void *user_data)
Definition: nim_nos_def.h:116
void(* nim_nos_upload_speed_cb_func)(int64_t upload_speed, const char *json_extension, const void *user_data)
Definition: nim_nos_def.h:125
void(* nim_nos_upload_info_cb_func)(int64_t actual_upload_size, int64_t upload_speed, const char *json_extension, const void *user_data)
Definition: nim_nos_def.h:135
void(* nim_nos_init_config_cb_func)(enum NIMNosInitConfigResultType rescode, const char *json_result, const char *json_extension, const void *user_data)
Definition: nim_nos_def.h:38