OSSP CVS Repository

ossp - History for /ossp-pkg/sa/sa.h
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Directory]  [Show Milestones

DateVersion Description
2006-Jun-10 12:00    1.45    Check-in [5414]: Adjusted all copyright messages for year 2006 By rse. (diff)
2005-Oct-03 10:16    1.44    Check-in [5218]: Removed SA_SYSCALL_GETHOSTBYNAME because gethostbyname(3) cannot be overridden as at is use point (function sa_addr_u2a) the sa_t object is not available. Additionally, for IPv6 getaddrinfo(3) would have been overridden, too. This fixed compilation on platforms without IPv6 APIs. By rse. (diff)
2005-Mar-29 21:24    1.43    Check-in [5041]: Follow FlexeLint suggestions and "constify" some API function parameters. By rse. (diff)
2005-Jan-24 16:10    1.42    Check-in [4981]: welcome 2005 in OSSP sa, too By rse. (diff)
2004-Oct-03 16:00    1.41    Check-in [4734]: Added SA_SYSCALL_GETHOSTBYNAME for supporting the overloading of gethostbyname(2) system calls. By rse.
2004-Jun-26 13:38    1.40    Check-in [4608]: o Provide Autoconf check (AC_CHECK_VA_COPY) for va_copy(d,s) macro and fallback implementations and now that we can be sure that va_copy() exists for us, use it in var_formatv() and ts.c instead of the direct assignments (which are not sufficiently portable).

o Remove "#undef socklen_t" from sa.h because the socklen_t fallback is a "typedef" since a longer time. By rse. (diff)

2004-Apr-02 20:21    1.39    Check-in [4478]: Adjusted all copyright messages for new year 2004. By rse. (diff)
2004-Mar-26 17:57    1.38    Check-in [4466]: add more compiler warning options and fix prototype declarations found by -Wstrict-prototypes By thl. (diff)
2003-Jan-23 17:21    1.37    Check-in [3088]: fix embedding support By thl. (diff)
2003-Jan-06 14:11    1.36    Check-in [3067]: - Adjusted all copyright messages for new year 2003. - Fixed generated owner in distribution tarball. - Prepare for 1.0.3 release By rse. (diff)
2002-Nov-28 16:42    1.35    Check-in [2917]: fix a few bugs, remove a lot of warnings; all found by splint By rse. (diff)
2002-Oct-30 21:22    1.34    Check-in [2701]: API Cleanups: use politically correct use "extern" keyword in sa.h; use leading underscores for variables names in prototypes; move "raddr" argument to second position in sa_{send,recv,sendf}. By rse. (diff)
2002-Oct-30 20:09    1.33    Check-in [2694]: Added a function sa_sendf(3) which is a convience wrapper to sa_send(3) for sending formatted data. This is similar to what sa_writef(3) does for sa_write(3).

The difference is just that sa_writef(3) does not need a temporary buffer (because can use the stream I/O write buffer) while sa_sendf(3) requires a temporary buffer for its operation. Nevertheless the temporary buffer is allocated only if the formatted data is large. For small formatted data a fast stack-based buffer is used for higher performance. By rse. (diff)

2002-Oct-30 09:42    1.32    Check-in [2686]: Rewrote the implementation of sa_option(3) in order to make options configurable before the underlying socket is implicitly allocated. This fixes especially sa_option(sa, SA_OPTION_REUSEADDR, 1) before sa_bind(). By rse. (diff)
2002-Oct-11 17:27    1.31    Check-in [2566]: - fix inet_ntoa(3) usage - fallback to usage of inet_addr(3) if inet_aton(3) does not exists - add casts for arguments to [gs]etsockopt(3) to shut down warnings

(This especially gets OSSP sa running under dead Solaris 2.6...) By rse. (diff)

2002-Mar-15 11:47    1.30    Check-in [2017]: polishing for release By rse. (diff)
2002-Jan-30 17:43    1.29    Check-in [1721]: add optional OSSP ex based exception handling support By rse. (diff)
2002-Jan-02 14:44    1.28    Check-in [1485]: add support for lingering on close By rse. (diff)
2002-Jan-02 14:35    1.27    Check-in [1484]: add support for reusability of address or port By rse. (diff)
2002-Jan-02 13:43    1.26    Check-in [1478]: bump copyright year By rse. (diff)
2001-Nov-30 10:50    1.25    Check-in [1390]: add missing API function call namespace protector By rse. (diff)
2001-Oct-31 13:41    1.24    Check-in [1229]: - provide additional SA_ERR_IMP result code for indicating that an implementation part is not available on the current platform.

- provide new sa_option() function for setting various socket options.

- implement SA_OPTION_NAGLE (for enabling/disabling Nagle's Algorithm) and SA_OPTION_NONBLOCK (for enabling/disabling non-blocking I/O mode). By rse. (diff)

2001-Oct-11 10:00    1.23    Check-in [1152]: updated embedding support for new and renamed functions By thl. (diff)
2001-Oct-10 11:21    1.22    Check-in [1142]: Revert my idea of using an L2-style error handling also in SA, because this is not possible in a consistent way due to the multiple objects and the fact that we cannot remember anything without an object (in L2 an environment object will be introduced soon, so there is it is a different game). So we use a plain sa_error() which is now similar to strerror(3). By rse. (diff)
2001-Oct-10 09:42    1.21    Check-in [1138]: Change

   sa_rc_t sa_buffers      (sa_t *sa, size_t rsize, size_t wsize);

to sa_rc_t sa_buffer (sa_t *sa, sa_buffer_t id, size_t size);

in order to make this API function more flexible. By rse. (diff)

2001-Oct-09 22:19    1.20    Check-in [1137]: [still untested stuff]

- Remove SA_TIMEOUT_RECV and SA_TIMEOUT_SEND, because SA_TIMEOUT_READ and SA_TIMEOUT_WRITE are sufficient because you cannot use datagram and stream communication at the same time anyway. So there is no need to distinguish between the two communications in timeouts. Additionally this enables the next point from being able to be implemented at all.

- Implement the read/write timeouts alternatively in kernel-space through the newer SO_RCVTIMEO and SO_SNDTIMEO socket options. This means a select(2) system call less for each read/write operation. By rse. (diff)

2001-Oct-09 20:55    1.19    Check-in [1132]: - error text cleanup - allow "sa_t *" to be NULL By rse. (diff)
2001-Oct-09 20:34    1.18    Check-in [1128]: Change return code semantic for timeouts from "rv == SA_ERR_SYS && errno == ETIMEDOUT" to a dedicated timeout return value "rv == SA_ERR_TMT". By rse. (diff)
2001-Oct-09 16:05    1.17    Check-in [1122]: Support prefixlen == 0 for an "always matches" and instead use prefixlen == -1 for "full match". Credits to Thomas ;) By rse. (diff)
2001-Oct-09 15:19    1.16    Check-in [1120]: Implement new sa_addr_match() function which can be used for Access Control List (ACL) implementations. It is capable of matching Unix Domain and Internet Addresses (both IPv4 and IPv6) with prefix lengths. By rse. (diff)
2001-Oct-08 17:01    1.15    Check-in [1109]: Revert my idea of fixing the socklen_t stuff with a fallback substitution in sa.h, because this is nasty for the inclusion in L2. Do it with a less-heavy #define on-the-fly in sa.h By rse. (diff)
2001-Oct-08 16:47    1.14    Check-in [1106]: make SA more portable (now also works under Tru64 5.0) By rse. (diff)
2001-Oct-08 12:03    1.13    Check-in [1097]: Various cleanups By rse. (diff)
2001-Oct-07 17:21    1.12    Check-in [1096]: Implement (still fully untested!) system call overriding support through a new function sa_syscall(). Anybody here who finds predestinated to test this out in depth? By rse. (diff)
2001-Oct-07 16:16    1.11    Check-in [1094]: Provide distinct timeouts, i.e., an own timeout for each individual I/O function. This is especially useful because an accept(2) timeout is usually something totally different than a connect(2) timeout. By rse. (diff)
2001-Oct-06 18:01    1.10    Check-in [1093]: Add sa_error() function. By rse. (diff)
2001-Oct-06 13:05    1.9    Check-in [1088]: reflect recent changes By rse. (diff)
2001-Oct-05 23:11    1.8    Check-in [1084]: more documentation By rse. (diff)
2001-Oct-05 22:52    1.7    Check-in [1083]: Woohhhooo: Second major revamp of Socket Abstraction (SA) library. This time is gets really close to a 100% clean and polished library. By rse. (diff)
2001-Oct-05 13:49    1.6    Check-in [1076]: update to reflect latest changes By rse. (diff)
2001-Oct-05 13:40    1.5    Check-in [1074]: Major revamp of SA library in order to support Unix Domain sockets. - "{tcp,udp}://host:port" addresses are now "inet://host:port" addresses - "unix:/path/to/socket" is the address for Unix Domain sockets - sa_type() was introduced which sets socket type to stream or datagram By rse. (diff)
2001-Oct-04 13:25    1.4    Check-in [1067]: Change sa_addr_t API: - there is now a constructor and destructor - renamed sa_x2x functions to sa_addr_x2x By rse. (diff)
2001-Oct-03 21:40    1.3    Check-in [1062]: - Use an own minimal snprintf(3) - Rename sa_printf to sa_writef By rse. (diff)
2001-Oct-02 16:12    1.2    Check-in [1056]: provide embedding support By thl. (diff)
2001-Oct-02 15:27    1.1    Check-in [1051]: Initial revision By rse.
2001-Oct-02 15:27    Check-in [1050]: Import first cut of OSSP SA By rse.

CVSTrac 2.0.1