OSSP CVS Repository

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

ossp-pkg/sa/sa.h 1.20 -> 1.21

--- sa.h 2001/10/09 20:19:58     1.20
+++ sa.h 2001/10/10 07:42:26     1.21
@@ -124,6 +124,12 @@
     SA_TIMEOUT_WRITE    = 3
 } sa_timeout_t;
 
+/* list of buffers */
+typedef enum {
+    SA_BUFFER_READ,
+    SA_BUFFER_WRITE
+} sa_buffer_t;
+
 /* list of system calls */
 typedef enum {
     SA_SYSCALL_CONNECT,
@@ -153,7 +159,7 @@
 /* socket parameter operations */
 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_buffer       (sa_t *sa, sa_buffer_t  id, size_t size);
 sa_rc_t sa_syscall      (sa_t *sa, sa_syscall_t id, void (*fptr)(), void *fctx);
 
 /* socket connection operations */

CVSTrac 2.0.1