OSSP CVS Repository

ossp - Difference in ossp-pkg/sa/sa.h versions 1.11 and 1.12
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sa/sa.h 1.11 -> 1.12

--- sa.h 2001/10/07 14:16:47     1.11
+++ sa.h 2001/10/07 15:21:17     1.12
@@ -113,6 +113,17 @@
     SA_TIMEOUT_SEND     = 5
 } sa_timeout_t;
 
+/* list of system calls */
+typedef enum {
+    SA_SYSCALL_CONNECT,
+    SA_SYSCALL_ACCEPT,
+    SA_SYSCALL_SELECT,
+    SA_SYSCALL_READ,
+    SA_SYSCALL_WRITE,
+    SA_SYSCALL_RECVFROM,
+    SA_SYSCALL_SENDTO
+} sa_syscall_t;
+
 /* error handling operations */
 sa_rc_t sa_error        (sa_t *sa, sa_rc_t rv, char **str);
 
@@ -134,6 +145,7 @@
 sa_rc_t sa_type         (sa_t *sa, sa_type_t type);
 sa_rc_t sa_timeout      (sa_t *sa, sa_timeout_t id, long sec, long usec);
 sa_rc_t sa_buffers      (sa_t *sa, size_t rsize, size_t wsize);
+sa_rc_t sa_syscall      (sa_t *sa, sa_syscall_t id, void (*fptr)(), void *fctx);
 
 /* socket connection operations */
 sa_rc_t sa_bind         (sa_t *sa, sa_addr_t *laddr);

CVSTrac 2.0.1