iDRS™ SDK 16
Loading...
Searching...
No Matches
ILineReader_interface.h
Go to the documentation of this file.
1
7#ifndef ILINEREADER_INTERFACE_H
8
9#define ILINEREADER_INTERFACE_H
10
11#include "CObj_interface.h"
12
13#include "idrs_common.h"
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19typedef void (*PtrGetLineFn)(IDRS_PVOID, IDRS_UINT32 const, IDRS_UINT32 const);
20
30ILineReader ILineReader_Create(PtrGetLineFn ptrGetLineFn, idrs_exception *pargException);
31
39void ILineReader_Destroy(ILineReader argILineReader, idrs_exception *pargException);
40
52void ILineReader_GetLine(ILineReader argILineReader, IDRS_PVOID pvLine, IDRS_UINT32 const ui32Line, IDRS_UINT32 const ui32Bytes, idrs_exception *pargException);
53
54#ifdef __cplusplus
55}
56#endif /* __cplusplus */
57
58#endif /* ILINEREADER_INTERFACE_H */
Interface for CObj wrapper.
ILineReader ILineReader_Create(PtrGetLineFn ptrGetLineFn, idrs_exception *pargException)
Creates a new ILineReader object.
void ILineReader_GetLine(ILineReader argILineReader, IDRS_PVOID pvLine, IDRS_UINT32 const ui32Line, IDRS_UINT32 const ui32Bytes, idrs_exception *pargException)
GetLine retrieves the data for the requested line.
void ILineReader_Destroy(ILineReader argILineReader, idrs_exception *pargException)
Destroys a ILineReader handle.
The ILineReader defines the interface required to provide a custom line reader.
unsigned int IDRS_UINT32
An unsigned integer on 32 bits.
Definition idrsstd_interface.h:29
void * IDRS_PVOID
A void pointer.
Definition idrsstd_interface.h:49