#include <muse_port.h>
Collaboration diagram for muse_port_type_t:

Data Fields | |
| muse_functional_object_type_t | obj |
| void(* | close )(void *port) |
| The close function should release all system resources allocated by the port object. | |
| size_t(* | read )(void *buffer, size_t nbytes, void *port) |
Should read nbytes bytes from the port and copy them to the given buffer. | |
| size_t(* | write )(void *buffer, size_t nbytes, void *port) |
Should write the given nbytes bytes to the port. | |
| int(* | flush )(void *port) |
| If a port is buffered at the system level, this should call the system flush function appropriate for the task. | |
ALl the port arguments are pointers to the muse_port_base_t data structure.
1.4.7