25 #include <sys/types.h>
34 extern HAMLIB_EXPORT(
int)
read_string(
hamlib_port_t *p,
char *rxbuffer,
size_t rxmax, const
char *stopset,
int stopset_len);
int port_open(hamlib_port_t *p)
Open a hamlib_port based on its rig port type.
Definition: iofunc.c:62
int port_close(hamlib_port_t *p, rig_port_t port_type)
Close a hamlib_port.
Definition: iofunc.c:150
int read_block(hamlib_port_t *p, char *rxbuffer, size_t count)
Read bytes from an fd.
Definition: iofunc.c:385
enum rig_port_e rig_port_t
Port type.
Hamlib rig data structures.
int write_block(hamlib_port_t *p, const char *txbuffer, size_t count)
Write a block of characters to an fd.
Definition: iofunc.c:301
int read_string(hamlib_port_t *p, char *rxbuffer, size_t rxmax, const char *stopset, int stopset_len)
Read a string from an fd.
Definition: iofunc.c:482
Port definition.
Definition: rig.h:1338