![]() |
Stream Hooks
An implementation of as_rec should provide implementations for each of the hooks.
Definition at line 81 of file as_stream.h.
#include "as_stream.h"
Collaboration diagram for as_stream_hooks:Data Fields | |
| int(* | destroy )(as_stream *stream) |
| as_val *(* | read )(const as_stream *stream) |
| as_stream_status(* | write )(const as_stream *stream, as_val *value) |
| int(* as_stream_hooks::destroy) (as_stream *stream) |
Destroy the stream.
Definition at line 86 of file as_stream.h.
Read the next value from the stream.
Definition at line 91 of file as_stream.h.
| as_stream_status(* as_stream_hooks::write) (const as_stream *stream, as_val *value) |
Write a value to the stream.
Definition at line 96 of file as_stream.h.