9 #ifndef ASPERA_FASP_STREAM_CLIENT_WRAPPER_H
10 #define ASPERA_FASP_STREAM_CLIENT_WRAPPER_H
17 #ifdef FASPSTREAM_CPP_EXPORTS
18 #define FASPSTREAM_C_API __declspec(dllexport)
20 #define FASPSTREAM_C_API __declspec(dllimport)
24 #define FASPSTREAM_C_API
31 struct fasp_stream_client;
287 char *private_key_file);
305 char *log_directory);
314 char *command_to_execute);
FASPSTREAM_C_API int fasp_stream_client_write(fasp_stream_client_t *fsc, char *buff, size_t len)
FASPSTREAM_C_API int fasp_stream_client_get_cipher_type(fasp_stream_client_t *fsc)
FASPSTREAM_C_API int fasp_stream_client_get_force_send_milliseconds(fasp_stream_client_t *fsc)
FASPSTREAM_C_API void fasp_stream_client_set_command_to_execute(fasp_stream_client_t *fsc, char *command_to_execute)
FASPSTREAM_C_API void fasp_stream_client_set_lock_policy(fasp_stream_client_t *fsc, int lock)
FASPSTREAM_C_API void fasp_stream_client_set_license(fasp_stream_client_t *fsc, char *license)
FASPSTREAM_C_API void fasp_stream_client_set_ssh_user(fasp_stream_client_t *fsc, char *ssh_user)
FASPSTREAM_C_API const char * fasp_stream_client_get_private_key_file(fasp_stream_client_t *fsc)
FASPSTREAM_C_API void fasp_stream_client_set_transfer_mode(fasp_stream_client_t *fsc, int transfer_mode)
FASPSTREAM_C_API int fasp_stream_client_get_rate_minimum(fasp_stream_client_t *fsc)
FASPSTREAM_C_API void fasp_stream_client_set_rate_minimum(fasp_stream_client_t *fsc, int minimum)
FASPSTREAM_C_API int fasp_stream_client_abort(fasp_stream_client_t *fsc)
FASPSTREAM_C_API int fasp_stream_client_new(char *app_id, fasp_stream_client_t **fsc)
FASPSTREAM_C_API void fasp_stream_client_set_cipher_type(fasp_stream_client_t *fsc, int type)
FASPSTREAM_C_API int fasp_stream_client_get_datagram_size(fasp_stream_client_t *fsc)
FASPSTREAM_C_API void fasp_stream_client_set_datagram_size(fasp_stream_client_t *fsc, int size)
FASPSTREAM_C_API int fasp_stream_client_is_lock_policy(fasp_stream_client_t *fsc)
FASPSTREAM_C_API int fasp_stream_client_get_port(fasp_stream_client_t *fsc)
FASPSTREAM_C_API const char * fasp_stream_client_get_log_directory(fasp_stream_client_t *fsc)
FASPSTREAM_C_API int fasp_stream_client_get_transfer_mode(fasp_stream_client_t *fsc)
FASPSTREAM_C_API int fasp_stream_client_is_lock_target(fasp_stream_client_t *fsc)
FASPSTREAM_C_API void fasp_stream_client_set_faspstream_path(fasp_stream_client_t *fsc, char *path)
FASPSTREAM_C_API int fasp_stream_client_get_policy(fasp_stream_client_t *fsc)
#define FASPSTREAM_C_API
Definition: fasp_stream_client.h:24
Definition: fasp_stream_channel.h:39
FASPSTREAM_C_API const char * fasp_stream_client_get_hostname(fasp_stream_client_t *fsc)
FASPSTREAM_C_API void fasp_stream_client_set_lock_minimum(fasp_stream_client_t *fsc, int lock_min)
FASPSTREAM_C_API void fasp_stream_client_set_max_memory(fasp_stream_client_t *fsc, int max_mem)
FASPSTREAM_C_API int fasp_stream_client_read(fasp_stream_client_t *fsc, char *buff, size_t len)
FASPSTREAM_C_API int fasp_stream_client_destroy(fasp_stream_client_t *fsc)
FASPSTREAM_C_API void fasp_stream_client_set_chunk_size(fasp_stream_client_t *fsc, int size)
FASPSTREAM_C_API int fasp_stream_client_connect(fasp_stream_client_t *fsc, char *host)
FASPSTREAM_C_API void fasp_stream_client_register_log_callback(fasp_stream_client_t *fsc, log_callback_f log_function)
FASPSTREAM_C_API int fasp_stream_client_get_chunk_size(fasp_stream_client_t *fsc)
FASPSTREAM_C_API int fasp_stream_channel_client_new(char *app_id, fasp_stream_client_t **fsc, fasp_stream_socket_wrapper_t *sock)
FASPSTREAM_C_API int fasp_stream_client_get_udp_port(fasp_stream_client_t *fsc)
FASPSTREAM_C_API int fasp_stream_client_get_max_memory(fasp_stream_client_t *fsc)
FASPSTREAM_C_API void fasp_stream_client_set_udp_port(fasp_stream_client_t *fsc, int port)
struct fasp_stream_client fasp_stream_client_t
Definition: fasp_stream_client.h:32
FASPSTREAM_C_API void fasp_stream_client_set_port(fasp_stream_client_t *fsc, int tcp_port)
FASPSTREAM_C_API const char * fasp_stream_client_get_license(fasp_stream_client_t *fsc)
FASPSTREAM_C_API int fasp_stream_client_is_lock_minimum(fasp_stream_client_t *fsc)
FASPSTREAM_C_API const char * fasp_stream_client_get_faspstream_path(fasp_stream_client_t *fsc)
FASPSTREAM_C_API void fasp_stream_client_set_private_key_file(fasp_stream_client_t *fsc, char *private_key_file)
FASPSTREAM_C_API int fasp_stream_client_cleanup(fasp_stream_client_t *fsc)
FASPSTREAM_C_API void fasp_stream_client_set_force_send_milliseconds(fasp_stream_client_t *fsc, int milliseconds)
FASPSTREAM_C_API const char * fasp_stream_client_get_ssh_user(fasp_stream_client_t *fsc)
FASPSTREAM_C_API int fasp_stream_client_get_aggressiveness(fasp_stream_client_t *fsc)
FASPSTREAM_C_API const char * fasp_stream_client_get_command_to_execute(fasp_stream_client_t *fsc)
FASPSTREAM_C_API int fasp_stream_client_get_rate_target(fasp_stream_client_t *fsc)
FASPSTREAM_C_API void fasp_stream_client_set_lock_target(fasp_stream_client_t *fsc, int target)
FASPSTREAM_C_API void fasp_stream_client_set_log_directory(fasp_stream_client_t *fsc, char *log_directory)
void(* log_callback_f)(char const *s)
Definition: fasp_stream_constants.h:67
FASPSTREAM_C_API void fasp_stream_client_set_aggressiveness(fasp_stream_client_t *fsc, int aggressive)
FASPSTREAM_C_API void fasp_stream_client_set_hostname(fasp_stream_client_t *fsc, char *name)
FASPSTREAM_C_API void fasp_stream_client_set_policy(fasp_stream_client_t *fsc, int new_policy)
FASPSTREAM_C_API void fasp_stream_client_set_rate_target(fasp_stream_client_t *fsc, int target)