OSSP CVS Repository

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

Check-in Number: 1097
Date: 2001-Oct-08 12:03:54 (local)
2001-Oct-08 10:03:54 (UTC)
User:rse
Branch:
Comment: Various cleanups
Tickets:
Inspections:
Files:
ossp-pkg/sa/Makefile.in      1.3 -> 1.4     3 inserted, 2 deleted
ossp-pkg/sa/README      1.1 -> 1.2     50 inserted, 0 deleted
ossp-pkg/sa/aclocal.m4      1.1 -> 1.2     29 inserted, 0 deleted
ossp-pkg/sa/configure.ac      1.2 -> 1.3     3 inserted, 2 deleted
ossp-pkg/sa/sa-config.in      added-> 1.1
ossp-pkg/sa/sa.ac      1.2 -> 1.3     3 inserted, 2 deleted
ossp-pkg/sa/sa.c      1.11 -> 1.12     3 inserted, 2 deleted
ossp-pkg/sa/sa.h      1.12 -> 1.13     3 inserted, 2 deleted
ossp-pkg/sa/sa.pod      1.7 -> 1.8     4 inserted, 3 deleted
ossp-pkg/sa/sa_test.c      1.5 -> 1.6     29 inserted, 0 deleted

ossp-pkg/sa/Makefile.in 1.3 -> 1.4

--- Makefile.in  2001/10/05 11:40:22     1.3
+++ Makefile.in  2001/10/08 10:03:54     1.4
@@ -1,7 +1,8 @@
 ##
 ##  SA - OSSP Socket Abstraction Library
-##  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
-##  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
+##  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/>
 ##
 ##  This file is part of OSSP SA, a socket abstraction library which
 ##  can be found at http://www.ossp.org/pkg/sa/.


ossp-pkg/sa/README 1.1 -> 1.2

--- README       2001/10/02 13:27:44     1.1
+++ README       2001/10/08 10:03:54     1.2
@@ -0,0 +1,50 @@
+   ___  __ _ 
+  / __|/ _` |
+  \__ \ (_| |
+  |___/\__,_|
+
+  SA - Socket Abstraction Library
+  Version 0.1.0 (13-Sep-2001)
+
+  ABSTRACT
+
+  The OSSP SA library is an abstraction library for the Unix socket
+  interface featuring stream and datagram oriented communication over
+  Unix Domain and Internet Domain sockets. It provides the following key
+  features: address abstraction, type abstraction, I/O timeouts, I/O
+  stream buffering and convinience I/O functions.
+
+  COPYRIGHT AND LICENSE
+
+  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/>
+
+  This file is part of OSSP SA, a socket abstraction library which
+  can be found at http://www.ossp.org/pkg/sa/.
+
+  Permission to use, copy, modify, and distribute this software for
+  any purpose with or without fee is hereby granted, provided that
+  the above copyright notice and this permission notice appear in all
+  copies.
+
+  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+  SUCH DAMAGE.
+
+  HOME AND DOCUMENTATION
+
+  The documentation and latest release can be found on
+
+  o http://www.ossp.org/pkg/sa/
+  o  ftp://ftp.ossp.org/pkg/sa/
+


ossp-pkg/sa/aclocal.m4 1.1 -> 1.2

--- aclocal.m4   2001/10/02 13:27:44     1.1
+++ aclocal.m4   2001/10/08 10:03:54     1.2
@@ -1,3 +1,32 @@
+dnl ##
+dnl ##  SA - OSSP Socket Abstraction Library
+dnl ##  Copyright (c) 2001 Ralf S. Engelschall <rse@engelschall.com>
+dnl ##  Copyright (c) 2001 The OSSP Project <http://www.ossp.org/>
+dnl ##  Copyright (c) 2001 Cable & Wireless Deutschland <http://www.cw.com/de/>
+dnl ##
+dnl ##  This file is part of OSSP SA, a socket abstraction library which
+dnl ##  can be found at http://www.ossp.org/pkg/sa/.
+dnl ##
+dnl ##  Permission to use, copy, modify, and distribute this software for
+dnl ##  any purpose with or without fee is hereby granted, provided that
+dnl ##  the above copyright notice and this permission notice appear in all
+dnl ##  copies.
+dnl ##
+dnl ##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+dnl ##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+dnl ##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+dnl ##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+dnl ##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+dnl ##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+dnl ##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+dnl ##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+dnl ##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+dnl ##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+dnl ##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+dnl ##  SUCH DAMAGE.
+dnl ##
+dnl ##  aclocal.m4: GNU Autoconf local macro definitions
+dnl ##
 
 dnl ##
 dnl ##  Check whether compiler option works


ossp-pkg/sa/configure.ac 1.2 -> 1.3

--- configure.ac 2001/10/02 18:37:19     1.2
+++ configure.ac 2001/10/08 10:03:54     1.3
@@ -1,7 +1,8 @@
 dnl ##
 dnl ##  SA - OSSP Socket Abstraction Library
-dnl ##  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
-dnl ##  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
+dnl ##  Copyright (c) 2001 Ralf S. Engelschall <rse@engelschall.com>
+dnl ##  Copyright (c) 2001 The OSSP Project <http://www.ossp.org/>
+dnl ##  Copyright (c) 2001 Cable & Wireless Deutschland <http://www.cw.com/de/>
 dnl ##
 dnl ##  This file is part of OSSP SA, a socket abstraction library which
 dnl ##  can be found at http://www.ossp.org/pkg/sa/.


ossp-pkg/sa/sa-config.in -> 1.1

*** /dev/null    Sat Nov 23 01:17:18 2024
--- -    Sat Nov 23 01:17:23 2024
***************
*** 0 ****
--- 1,145 ----
+ #!/bin/sh
+ ##
+ ##  SA - OSSP Logging 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/>
+ ##
+ ##  This file is part of OSSP SA, a socket abstraction library which
+ ##  can be found at http://www.ossp.org/pkg/sa/.
+ ##
+ ##  Permission to use, copy, modify, and distribute this software for
+ ##  any purpose with or without fee is hereby granted, provided that
+ ##  the above copyright notice and this permission notice appear in all
+ ##  copies.
+ ##
+ ##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ ##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ ##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ ##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+ ##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ ##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ ##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ ##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ ##  SUCH DAMAGE.
+ ##
+ ##  sa-config.in: SA library build utility
+ ##
+ 
+ DIFS='         
+ '
+ 
+ prefix="@prefix@"
+ exec_prefix="@exec_prefix@"
+ 
+ sa_prefix="$prefix"
+ sa_exec_prefix="$exec_prefix"
+ sa_bindir="@bindir@"
+ sa_libdir="@libdir@"
+ sa_includedir="@includedir@"
+ sa_mandir="@mandir@"
+ sa_datadir="@datadir@"
+ sa_acdir="@datadir@/aclocal"
+ sa_cflags="@CFLAGS@"
+ sa_ldflags="@LDFLAGS@"
+ sa_libs="@LIBS@"
+ sa_version="@SA_VERSION_STR@"
+ 
+ help=no
+ version=no
+ 
+ usage="sa-config"
+ usage="$usage [--help] [--version] [--all]"
+ usage="$usage [--prefix] [--exec-prefix] [--bindir] [--libdir] [--includedir] [--mandir] [--datadir] [--acdir]"
+ usage="$usage [--cflags] [--ldflags] [--libs]"
+ if [ $# -eq 0 ]; then
+     echo "sa-config:Error: Invalid option" 1>&2
+     echo "sa-config:Usage: $usage" 1>&2
+     exit 1
+ fi
+ output=''
+ output_extra=''
+ all=no
+ prev=''
+ OIFS="$IFS" IFS="$DIFS"
+ for option
+ do
+     if [ ".$prev" != . ]; then
+         eval "$prev=\$option"
+         prev=''
+         continue
+     fi
+     case "$option" in
+         -*=*) optarg=`echo "$option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+            *) optarg='' ;;
+     esac
+     case "$option" in
+         --help|-h)
+             echo "Usage: $usage"
+             exit 0
+             ;;
+         --version|-v)
+             echo "OSSP SA $sa_version"
+             exit 0
+             ;;
+         --all)
+             all=yes
+             ;;
+         --prefix)
+             output="$output $sa_prefix"
+             ;;
+         --exec-prefix)
+             output="$output $sa_exec_prefix"
+             ;;
+         --bindir)
+             output="$output $sa_bindir"
+             ;;
+         --libdir)
+             output="$output $sa_libdir"
+             ;;
+         --includedir)
+             output="$output $sa_includedir"
+             ;;
+         --mandir)
+             output="$output $sa_mandir"
+             ;;
+         --datadir)
+             output="$output $sa_datadir"
+             ;;
+         --acdir)
+             output="$output $sa_acdir"
+             ;;
+         --cflags)
+             output="$output -I$sa_includedir"
+             output_extra="$output_extra $sa_cflags"
+             ;;
+         --ldflags)
+             output="$output -L$sa_libdir"
+             output_extra="$output_extra $sa_ldflags"
+             ;;
+         --libs)
+             output="$output -lsa"
+             output_extra="$output_extra $sa_libs"
+             ;;
+         * )
+             echo "sa-config:Error: Invalid option" 1>&2
+             echo "sa-config:Usage: $usage" 1>&2
+             exit 1;
+             ;;
+     esac
+ done
+ IFS="$OIFS"
+ if [ ".$prev" != . ]; then
+     echo "sa-config:Error: missing argument to --`echo $prev | sed 's/_/-/g'`" 1>&2
+     exit 1
+ fi
+ if [ ".$output" != . ]; then
+     if [ ".$all" = .yes ]; then
+         output="$output $output_extra"
+     fi
+     echo $output
+ fi
+ 


ossp-pkg/sa/sa.ac 1.2 -> 1.3

--- sa.ac        2001/10/05 11:48:49     1.2
+++ sa.ac        2001/10/08 10:03:54     1.3
@@ -1,7 +1,8 @@
 ##
 ##  SA - OSSP Socket Abstraction Library
-##  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
-##  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
+##  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/>
 ##
 ##  This file is part of OSSP SA, a socket abstraction library which
 ##  can be found at http://www.ossp.org/pkg/sa/.


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

--- sa.c 2001/10/07 15:21:17     1.11
+++ sa.c 2001/10/08 10:03:54     1.12
@@ -1,7 +1,8 @@
 /*
 **  SA - OSSP Socket Abstraction Library
-**  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
-**  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
+**  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/>
 **
 **  This file is part of OSSP SA, a socket abstraction library which
 **  can be found at http://www.ossp.org/pkg/sa/.


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

--- sa.h 2001/10/07 15:21:17     1.12
+++ sa.h 2001/10/08 10:03:54     1.13
@@ -1,7 +1,8 @@
 /*
 **  SA - OSSP Socket Abstraction Library
-**  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
-**  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
+**  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/>
 **
 **  This file is part of OSSP SA, a socket abstraction library which
 **  can be found at http://www.ossp.org/pkg/sa/.


ossp-pkg/sa/sa.pod 1.7 -> 1.8

--- sa.pod       2001/10/05 21:11:22     1.7
+++ sa.pod       2001/10/08 10:03:54     1.8
@@ -1,7 +1,8 @@
 ##
 ##  SA - OSSP Socket Abstraction Library
-##  Copyright (c) 2001 The OSSP Project (http://www.ossp.org/)
-##  Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/)
+##  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/>
 ##
 ##  This file is part of OSSP SA, a socket abstraction library which
 ##  can be found at http://www.ossp.org/pkg/sa/.
@@ -130,7 +131,7 @@
 operation was able to succeed. This allows one to easily program
 less-blocking network services.
 
-=item B<Buffered I/O>
+=item B<I/O Stream Buffering>
 
 If B<OSSP sa> is used for stream communication, internally all I/O
 operations can be performed through input and/or output buffers (set


ossp-pkg/sa/sa_test.c 1.5 -> 1.6

--- sa_test.c    2001/10/05 20:52:15     1.5
+++ sa_test.c    2001/10/08 10:03:54     1.6
@@ -1,3 +1,32 @@
+/*
+**  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/>
+**
+**  This file is part of OSSP SA, a socket abstraction library which
+**  can be found at http://www.ossp.org/pkg/sa/.
+**
+**  Permission to use, copy, modify, and distribute this software for
+**  any purpose with or without fee is hereby granted, provided that
+**  the above copyright notice and this permission notice appear in all
+**  copies.
+**
+**  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+**  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+**  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+**  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+**  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+**  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+**  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+**  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+**  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+**  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+**  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+**  SUCH DAMAGE.
+**
+**  sa_test.c: socket abstraction library test suite
+*/
 
 #include <stdio.h>
 #include <stdlib.h>

CVSTrac 2.0.1