Implementation of an input/output device tied to a stream reader. More...
#include <string.h>
#include "skinkit.h"
#include "swdevice.h"
#include "skindevs.h"
#include "streamdev.h"
#include "kitdevs.h"
#include "mem.h"
Data Structures | |
struct | StreamDeviceState |
Structure to hold device-specific state. More... | |
Typedefs | |
typedef struct StreamDeviceState | StreamDeviceState |
Structure to hold device-specific state. | |
Functions | |
HqBool | registerStreamReader (const char *devname, const char *pFile, HqnReadStream *pRS) |
Register an input stream against a file name. More... | |
HqBool | registerStreamWriter (const char *devname, const char *pFile, HqnWriteStream *pWS) |
Register an output stream against a file name. More... | |
void | UnregisterStreamReaderWriter (const char *devname, const char *pFile) |
Unregister the input/output stream associated with the file. More... | |
Variables | |
DEVICETYPE | Stream_Device_Type |
The pipeline input device type structure. | |
Implementation of an input/output device tied to a stream reader.
HqBool registerStreamReader | ( | const char * | devname, |
const char * | pFile, | ||
HqnReadStream * | pRS | ||
) |
Register an input stream against a file name.
devname | device name; |
pFile | file name; |
pRS | input stream; |
HqBool registerStreamWriter | ( | const char * | devname, |
const char * | pFile, | ||
HqnWriteStream * | pWS | ||
) |
Register an output stream against a file name.
devname | device name; |
pFile | file name; |
pWS | write stream; |
void UnregisterStreamReaderWriter | ( | const char * | devname, |
const char * | pFile | ||
) |
Unregister the input/output stream associated with the file.
devname | device name; |
pFile | file name; |