![]() |
Stream Hooks
An implementation of as_rec should provide implementations for each of the hooks.
Definition at line 85 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 90 of file as_stream.h.
Read the next value from the stream.
Definition at line 95 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 100 of file as_stream.h.