--- sa.pod 2001/10/02 18:47:47 1.3
+++ sa.pod 2001/10/05 11:49:10 1.4
@@ -43,24 +43,29 @@
sa_t,
sa_rc_t.
+=item B<Address Object Operations>:
+
+sa_addr_create,
+sa_addr_destroy.
+
=item B<Address Operations>:
-sa_u2a,
-sa_s2a,
-sa_a2u,
-sa_a2s.
+sa_addr_u2a,
+sa_addr_s2a,
+sa_addr_a2u,
+sa_addr_a2s.
-=item B<Object Operations>:
+=item B<Socket Object Operations>:
sa_create,
sa_destroy.
-=item B<Parameter Operations>:
+=item B<Socket Parameter Operations>:
sa_timeout,
sa_buffers.
-=item B<Connection Operations>:
+=item B<Socket Connection Operations>:
sa_bind,
sa_connect,
@@ -71,14 +76,14 @@
sa_getfd,
sa_shutdown.
-=item B<Input/Output Operations>:
+=item B<Socket Input/Output Operations>:
sa_read,
sa_readfrom,
sa_readline,
sa_write,
sa_writeto,
-sa_printf,
+sa_writef,
sa_flush.
=back
@@ -120,7 +125,7 @@
=item B<Convinience I/O Functions>
If B<OSSP sa> is used for TCP-based stream I/O, for convinience reasons
-line reading (sa_readline(3)) and output formatting (sa_printf(3))
+line reading (sa_readline(3)) and output formatting (sa_writef(3))
functions are provided, modelled after STDIO's fgets(3) and fprintf(3).
=back
@@ -133,25 +138,37 @@
=item B<sa_t>
+=item B<sa_rc_tt>
+
=back
=head1 FUNCTIONS
+=head2 Address Object Operations
+
+=over 4
+
+=item sa_rc_t B<sa_addr_create>(sa_addr_t **I<saa>);
+
+=item sa_rc_t B<sa_addr_destroy>(sa_addr_t *I<saa>);
+
+=back
+
=head2 Address Operations
=over 4
-=item sa_rc_t B<sa_u2a>(sa_addr_t **I<saa>, const char *I<uri>, ...);
+=item sa_rc_t B<sa_addr_u2a>(sa_addr_t *I<saa>, const char *I<uri>, ...);
-=item sa_rc_t B<sa_s2a>(sa_addr_t **I<saa>, const struct sockaddr *I<sabuf>, socklen_t I<salen>);
+=item sa_rc_t B<sa_addr_s2a>(sa_addr_t *I<saa>, const struct sockaddr *I<sabuf>, socklen_t I<salen>);
-=item sa_rc_t B<sa_a2u>(const sa_addr_t *I<saa>, char **I<uri>);
+=item sa_rc_t B<sa_addr_a2u>(sa_addr_t *I<saa>, char **I<uri>);
-=item sa_rc_t B<sa_a2s>(const sa_addr_t *I<saa>, struct sockaddr **I<sabuf>, socklen_t *I<salen>);
+=item sa_rc_t B<sa_addr_a2s>(sa_addr_t *I<saa>, struct sockaddr **I<sabuf>, socklen_t *I<salen>);
=back
-=head2 Object Operations
+=head2 Socket Object Operations
=over 4
@@ -161,17 +178,23 @@
=back
-=head2 Parameter Operations
+=head2 Socket Parameter Operations
=over 4
+=item sa_rc_t B<sa_type>(sa_t *I<sa>, sa_type_t I<type>);
+
=item sa_rc_t B<sa_timeout>(sa_t *I<sa>, long I<sec>, long I<usec>);
=item sa_rc_t B<sa_buffers>(sa_t *I<sa>, size_t I<rsize>, size_t I<wsize>);
+=item sa_rc_t B<sa_getoption>(sa_t *I<sa>, int I<optname>, void *I<optval>, socklen_t *I<optlen>);
+
+=item sa_rc_t B<sa_setoption>(sa_t *I<sa>, int I<optname>, const void *I<optval>, socklen_t I<optlen>);
+
=back
-
-=head2 Connection Operations
+
+=head2 Socket Connection Operations
=over 4
@@ -193,7 +216,7 @@
=back
-=head2 Input/Output Operations
+=head2 Socket Input/Output Operations
=over 4
@@ -207,7 +230,7 @@
=item sa_rc_t B<sa_writeto>(sa_t *I<sa>, const char *I<buf>, size_t I<buflen>, size_t *I<bufdone>, sa_addr_t *I<raddr>);
-=item sa_rc_t B<sa_printf>(sa_t *I<sa>, const char *I<fmt>, ...);
+=item sa_rc_t B<sa_writef>(sa_t *I<sa>, const char *I<fmt>, ...);
=item sa_rc_t B<sa_flush>(sa_t *I<sa>);
|