45
45
int mgmt_readline(int fd, char *buf, int maxlen);
46
46
int mgmt_writeline(int fd, const char *data, int nbytes);
49
48
int mgmt_read_pipe(int fd, char *buf, int bytes_to_read);
50
49
int mgmt_write_pipe(int fd, char *buf, int bytes_to_write);
59
54
struct in_addr *mgmt_sortipaddrs(int num, struct in_addr **list);
63
57
/* the following functions are all DEPRECATED. The Diags
64
58
interface should be used exclusively in the future */