transferCtrl.h
Go to the documentation of this file.00001 #ifndef TRANSFER_CTRL_H
00002 #define TRANSFER_CTRL_H
00003
00013 #include "cpp_extern_macro.h"
00014 BEGIN_C_DECLS;
00015
00016 extern void trans_setPort(int port);
00017 extern void initTransferCtrl(int port);
00018 extern long trans_size(void);
00019 extern void trans_send(const unsigned char *data, int length);
00020 extern int trans_recv(unsigned char *data, int length);
00021 extern int trans_copy(unsigned char *data, int length);
00022 extern void trans_flush(void);
00023
00024 END_C_DECLS;
00025 #endif
00026