FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStorageStream.h
Go to the documentation of this file.
1 
8 #ifndef K_FIRESYNC_STORAGE_STREAM_H
9 #define K_FIRESYNC_STORAGE_STREAM_H
10 
11 #include <kApi/Io/kStream.h>
12 #include <kFireSync/kFsDef.h>
13 
26 //typedef kStream kStorageStream; --forward-declared in kFsDef.x.h
27 
45 kFsFx(kStatus) kStorageStream_Construct(kStorageStream* stream, kObject module, k32u deviceId, const kChar* fileName, kBool read, kAlloc allocator);
46 
55 
64 
65 #include <kFireSync/Utils/kStorageStream.x.h>
66 
67 #endif
kStatus kStorageStream_Construct(kStorageStream *stream, kObject module, k32u deviceId, const kChar *fileName, kBool read, kAlloc allocator)
Constructs a kStorageStream object.
Represents a stream used to write/read files to/from a remote sensor.
k64u kStorageStream_Position(kStorageStream stream)
Returns the current position of the read/write pointer, relative to the beginning of the stream...
Essential API declarations for the kFireSync library.
k64u kStorageStream_Length(kStorageStream stream)
Returns the current length of the stream.