-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtestDownloadDriver.h
More file actions
29 lines (15 loc) · 824 Bytes
/
testDownloadDriver.h
File metadata and controls
29 lines (15 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef TESTDOWNLOADDRIVER_H
#define TESTDOWNLOADDRIVER_H
#include "./fileTransferDriver.h"
const FileTransferDriver_ops_t testDownloadFileTransfer_ops;
int testDownload_prepDriverForFileTransfer( DriverState_t *driverState );
int testDownload_downloadInit( FileDownloadState_t *downloadState );
int testDownload_downloadUpdate( FileDownloadState_t *downloadState, char *outputBuffer,
int bufferMaxLength );
int testDownload_downloadFinish( FileDownloadState_t *downloadState );
int testDownload_uploadInit( FileUploadState_t *uploadState );
int testDownload_uploadUpdate( FileUploadState_t *uploadState, const char *inputBuffer,
int dataLength );
int testDownload_finishUpload( FileUploadState_t *uploadState );
const FileTransferDriver_ops_t testDownloadFileTransfer_ops;
#endif /* TESTDOWNLOADDRIVER_H */