1 struct conn
*conn_connect(char *addr
, char *port
);
2 int conn_tls(struct conn
*conn
, char *certfile
);
3 int conn_write(struct conn
*conn
, char *buf
, int len
);
4 int conn_read(struct conn
*conn
, char *buf
, int len
);
5 int conn_close(struct conn
*conn
);