OSSP CVS Repository

ossp - Check-in [4735]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4735
Date: 2004-Oct-03 16:12:10 (local)
2004-Oct-03 14:12:10 (UTC)
User:rse
Branch:
Comment: update the documentation
Tickets:
Inspections:
Files:
ossp-pkg/sa/sa.pod      1.42 -> 1.43     18 inserted, 14 deleted

ossp-pkg/sa/sa.pod 1.42 -> 1.43

--- sa.pod       2004/06/26 11:24:47     1.42
+++ sa.pod       2004/10/03 14:12:10     1.43
@@ -503,31 +503,32 @@
 Possible values for I<id> are (expected prototypes behind I<fptr> are
 given in parenthesis):
 
-C<SA_SYSCALL_CONNECT>: "C<int (*)([void *,] int, const struct sockaddr
+B<SA_SYSCALL_CONNECT>: "C<int (*)([void *,] int, const struct sockaddr
 *, socklen_t)>", see connect(2).
 
-C<SA_SYSCALL_ACCEPT>: "C<int (*)([void *,] int, struct sockaddr *,
+B<SA_SYSCALL_ACCEPT>: "C<int (*)([void *,] int, struct sockaddr *,
 socklen_t *)>", see accept(2).
 
-C<SA_SYSCALL_SELECT>: "C<int (*)([void *,] int, fd_set *, fd_set *,
+B<SA_SYSCALL_SELECT>: "C<int (*)([void *,] int, fd_set *, fd_set *,
 fd_set *, struct timeval *)>", see select(2).
 
-C<SA_SYSCALL_READ>: "C<ssize_t (*)([void *,] int, void *, size_t)>", see
+B<SA_SYSCALL_READ>: "C<ssize_t (*)([void *,] int, void *, size_t)>", see
 read(2).
 
-C<SA_SYSCALL_WRITE>: "C<ssize_t (*)([void *,] int, const void *,
+B<SA_SYSCALL_WRITE>: "C<ssize_t (*)([void *,] int, const void *,
 size_t)>", see write(2).
 
-C<SA_SYSCALL_RECVFROM>: "C<ssize_t (*)([void *,] int, void *, size_t,
+B<SA_SYSCALL_RECVFROM>: "C<ssize_t (*)([void *,] int, void *, size_t,
 int, struct sockaddr *, socklen_t *)>", see recvfrom(2).
 
-C<SA_SYSCALL_SENDTO>: "C<ssize_t (*)([void *,] int, const void *,
+B<SA_SYSCALL_SENDTO>: "C<ssize_t (*)([void *,] int, const void *,
 size_t, int, const struct sockaddr *, socklen_t)>", see sendto(2).
+    
+B<SA_SYSCALL_GETHOSTBYNAME>: "C<struct hostent * (*)([void *,] const
+char *)>", see gethostbyname(2).
 
 Example:
 
- FILE *trace_fp = ...;
-
  ssize_t
  trace_read(void *ctx, int fd, void *buf, size_t len)
  {
@@ -543,7 +544,10 @@
      return rv;
  }
 
+ ...
+ FILE *trace_fp = ...;
  sa_syscall(sa, SA_SC_READ, trace_read, trace_fp);
+ ...
 
 =back
 
@@ -879,11 +883,11 @@
 
 B<OSSP sa> was invented in August 2001 by Ralf S. Engelschall
 E<lt>rse@engelschall.comE<gt> under contract with Cable & Wireless
-Germany E<lt>http://www.cw.com/deE<gt> for use inside the OSSP project.
-Its creation was prompted by the requirement to implement an SMTP
-logging channel for B<OSSP l2> (logging library). Its initial code was
-derived from a predecessor sub-library originally written for socket
-address abstraction inside B<OSSP lmtp2nntp>.
+E<lt>http://www.cw.com/E<gt> for use inside the OSSP project. Its
+creation was prompted by the requirement to implement an SMTP logging
+channel for the B<OSSP l2> library. Its initial code was derived
+from a predecessor sub-library originally written for socket address
+abstraction inside the B<OSSP lmtp2nntp> tool.
 
 =head1 AUTHOR
 

CVSTrac 2.0.1