OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/l2_ut_sa.h versions 1.13 and 1.14
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/l2/l2_ut_sa.h 1.13 -> 1.14

--- l2_ut_sa.h   2001/11/30 09:51:09     1.13
+++ l2_ut_sa.h   2002/10/11 16:00:48     1.14
@@ -1,11 +1,11 @@
 /*
-**  SA - OSSP Socket Abstraction Library
-**  Copyright (c) 2001 Ralf S. Engelschall <rse@engelschall.com>
-**  Copyright (c) 2001 The OSSP Project <http://www.ossp.org/>
-**  Copyright (c) 2001 Cable & Wireless Deutschland <http://www.cw.com/de/>
+**  OSSP sa - Socket Abstraction
+**  Copyright (c) 2001-2002 Ralf S. Engelschall <rse@engelschall.com>
+**  Copyright (c) 2001-2002 The OSSP Project <http://www.ossp.org/>
+**  Copyright (c) 2001-2002 Cable & Wireless Deutschland <http://www.cw.com/de/>
 **
-**  This file is part of OSSP SA, a socket abstraction library which
-**  can be found at http://www.ossp.org/pkg/sa/.
+**  This file is part of OSSP sa, a socket abstraction library which
+**  can be found at http://www.ossp.org/pkg/lib/sa/.
 **
 **  Permission to use, copy, modify, and distribute this software for
 **  any purpose with or without fee is hereby granted, provided that
@@ -43,7 +43,7 @@
 
 /* fallback for POSIX socklen_t */
 #if defined(HAVE_CONFIG_H) && !defined(HAVE_SOCKLEN_T)
-#define socklen_t int
+typedef int socklen_t;
 #endif
 
 /* embedding support */
@@ -138,6 +138,9 @@
 /* list of options */
 typedef enum {
     SA_OPTION_NAGLE,
+    SA_OPTION_LINGER,
+    SA_OPTION_REUSEADDR,
+    SA_OPTION_REUSEPORT,
     SA_OPTION_NONBLOCK
 } sa_option_t;
 
@@ -152,6 +155,9 @@
     SA_SYSCALL_SENDTO
 } sa_syscall_t;
 
+/* unique library identifier */
+extern const char sa_id[];
+
 /* address object operations */
 sa_rc_t sa_addr_create  (sa_addr_t **saa);
 sa_rc_t sa_addr_destroy (sa_addr_t *saa);

CVSTrac 2.0.1