GATE
copymachines.h File Reference

File and device data copy tools. More...

Classes

struct  gate_tech_stream_copier_config_class
 
struct  gate_tech_stream_copier_result_class
 

Macros

#define GATE_STREAM_COPIER_STATUS_PROGRESS   1
 
#define GATE_STREAM_COPIER_STATUS_COMPLETED   2
 
#define GATE_STREAM_COPIER_STATUS_INPUTERROR   3
 
#define GATE_STREAM_COPIER_STATUS_OUTPUTERROR   4
 

Typedefs

typedef void(* gate_stream_copier_callback_t) (int status, gate_uint64_t current_position, gate_uint64_t total_bytes_copied, gate_result_t result, char const *message, struct gate_tech_stream_copier_config_class const *config)
 
typedef struct gate_tech_stream_copier_config_class gate_stream_copier_config_t
 
typedef struct gate_tech_stream_copier_result_class gate_stream_copier_result_t
 

Functions

GATE_TECH_API gate_result_t gate_stream_copier_init (gate_stream_copier_config_t *config, void *user_param)
 
GATE_TECH_API gate_result_t gate_stream_copier_run (gate_stream_copier_config_t *config, gate_stream_t *input, gate_stream_t *output, gate_stream_copier_result_t *result)
 
GATE_TECH_API gate_result_t gate_stream_copier_cancel (gate_stream_copier_config_t *config)
 

Detailed Description

File and device data copy tools.