--- sa.h 2001/10/02 14:12:27 1.2
+++ sa.h 2001/10/03 19:40:31 1.3
@@ -105,6 +105,8 @@
/* parameter operations */
sa_rc_t sa_timeout (sa_t *sa, long sec, long usec);
sa_rc_t sa_buffers (sa_t *sa, size_t rsize, size_t wsize);
+sa_rc_t sa_getoption(sa_t *sa, int optname, void *optval, socklen_t *optlen);
+sa_rc_t sa_setoption(sa_t *sa, int optname, const void *optval, socklen_t optlen);
/* connection operations */
sa_rc_t sa_bind (sa_t *sa, sa_addr_t *laddr);
@@ -122,7 +124,7 @@
sa_rc_t sa_readline (sa_t *sa, char *buf, size_t buflen, size_t *bufdone);
sa_rc_t sa_write (sa_t *sa, const char *buf, size_t buflen, size_t *bufdone);
sa_rc_t sa_writeto (sa_t *sa, const char *buf, size_t buflen, size_t *bufdone, sa_addr_t *raddr);
-sa_rc_t sa_printf (sa_t *sa, const char *fmt, ...);
+sa_rc_t sa_writef (sa_t *sa, const char *fmt, ...);
sa_rc_t sa_flush (sa_t *sa);
#endif /* __SA_H__ */
|