Check-in Number:
|
3077 | |
Date: |
2003-Jan-06 20:04:56 (local)
2003-Jan-06 19:04:56 (UTC) |
User: | rse |
Branch: | |
Comment: |
- consistently use standard OSSP copyright message everywhere
- strip trailing whitespaces |
Tickets: |
|
Inspections: |
|
Files: |
ossp-pkg/sio/AUTHORS
|
1.1
->
1.2
|
 
4 inserted, 4 deleted
|
ossp-pkg/sio/BRAINSTORM.txt
|
1.3
->
1.4
|
 
11 inserted, 11 deleted
|
ossp-pkg/sio/ChangeLog
|
1.1
->
1.2
|
 
4 inserted, 4 deleted
|
ossp-pkg/sio/INSTALL
|
1.1
->
1.2
|
 
4 inserted, 4 deleted
|
ossp-pkg/sio/Makefile.in
|
1.2
->
1.3
|
 
5 inserted, 7 deleted
|
ossp-pkg/sio/NEWS
|
1.1
->
1.2
|
 
4 inserted, 4 deleted
|
ossp-pkg/sio/README
|
1.1
->
1.2
|
 
10 inserted, 12 deleted
|
ossp-pkg/sio/THANKS
|
1.1
->
1.2
|
 
4 inserted, 4 deleted
|
ossp-pkg/sio/TODO
|
1.2
->
1.3
|
 
7 inserted, 7 deleted
|
ossp-pkg/sio/aclocal.m4
|
1.1
->
1.2
|
 
6 inserted, 8 deleted
|
ossp-pkg/sio/configure.ac
|
1.2
->
1.3
|
 
5 inserted, 7 deleted
|
ossp-pkg/sio/devtool
|
1.1
->
1.2
|
 
1 inserted, 1 deleted
|
ossp-pkg/sio/devtool.func
|
1.1
->
1.2
|
 
1 inserted, 1 deleted
|
ossp-pkg/sio/list.h
|
1.6
->
1.7
|
 
6 inserted, 8 deleted
|
ossp-pkg/sio/sio-config.in
|
1.1
->
1.2
|
 
5 inserted, 7 deleted
|
ossp-pkg/sio/sio.c
|
1.19
->
1.20
|
 
6 inserted, 6 deleted
|
ossp-pkg/sio/sio.h
|
1.9
->
1.10
|
 
6 inserted, 6 deleted
|
ossp-pkg/sio/sio.pod
|
1.9
->
1.10
|
 
7 inserted, 9 deleted
|
ossp-pkg/sio/sio_bio.c
|
1.8
->
1.9
|
 
31 inserted, 1 deleted
|
ossp-pkg/sio/sio_buffer.c
|
1.8
->
1.9
|
 
31 inserted, 1 deleted
|
ossp-pkg/sio/sio_fd.c
|
1.12
->
1.13
|
 
31 inserted, 1 deleted
|
ossp-pkg/sio/sio_hello.c
|
1.12
->
1.13
|
 
31 inserted, 1 deleted
|
ossp-pkg/sio/sio_hole.c
|
1.7
->
1.8
|
 
31 inserted, 1 deleted
|
ossp-pkg/sio/sio_null.c
|
1.9
->
1.10
|
 
31 inserted, 1 deleted
|
ossp-pkg/sio/sio_sa.c
|
1.6
->
1.7
|
 
31 inserted, 1 deleted
|
ossp-pkg/sio/sio_sillymux.c
|
1.1
->
1.2
|
 
31 inserted, 1 deleted
|
ossp-pkg/sio/sio_sio.c
|
1.2
->
1.3
|
 
31 inserted, 1 deleted
|
ossp-pkg/sio/sio_test.c
|
1.5
->
1.6
|
 
30 inserted, 0 deleted
|
ossp-pkg/sio/sio_zlib.c
|
1.4
->
1.5
|
 
31 inserted, 1 deleted
|
|
ossp-pkg/sio/AUTHORS 1.1 -> 1.2
--- AUTHORS 2002/12/18 14:58:29 1.1
+++ AUTHORS 2003/01/06 19:04:56 1.2
@@ -1,8 +1,8 @@
- _ ___ ____ ____ ____ _
- |_|_ _ / _ \/ ___/ ___|| _ \ ___(_) ___
- _|_||_| | | | \___ \___ \| |_) | / __| |/ _ \
+ _ ___ ____ ____ ____ _
+ |_|_ _ / _ \/ ___/ ___|| _ \ ___(_) ___
+ _|_||_| | | | \___ \___ \| |_) | / __| |/ _ \
|_||_|_| | |_| |___) |__) | __/ \__ \ | (_) |
- |_|_|_| \___/|____/____/|_| |___/_|\___/
+ |_|_|_| \___/|____/____/|_| |___/_|\___/
OSSP sio - Stream I/O
|
|
ossp-pkg/sio/BRAINSTORM.txt 1.3 -> 1.4
--- BRAINSTORM.txt 2002/10/22 13:01:35 1.3
+++ BRAINSTORM.txt 2003/01/06 19:04:56 1.4
@@ -68,7 +68,7 @@
Optimierungen:
o mmap muss moeglich sein
-o if target connector = socket & source connector = file => try to use sendfile(2)
+o if target connector = socket & source connector = file => try to use sendfile(2)
o if target connector = file & source connector = file => try to use mmap(2)
o wenn I/O ohne filters dann no buffering oder nur wenn chunks zu klein
o wann es geht writev() und readv() nutzen, um Buffers zu koppeln beim I/O
@@ -83,7 +83,7 @@
o man sollte meta-data (mtime, inode, etc.) von SIO connector rausfinden
koennen und setzen koennen
o Chunking muss moeglich sein (HTTP?)
-o Read sollte lesen bis:
+o Read sollte lesen bis:
- number of bytes read
- found a char of class [a-z]
- found a string "foo"
@@ -95,7 +95,7 @@
Architecture:
o three types of objects (siehe SIO.fig):
- plugs (Stecker/Anschluesse) for socket, file, mem, etc.
- - pipes (Rohre/Verbindungen)
+ - pipes (Rohre/Verbindungen)
- pipelines (the Kombination von plugs und pipes zu einer Einheit)
o buffered I/O: es gibt eine buffer-pipe, das ist alles
unbuffered I/O ist also eine Pipleline wo kein buffer-pipe dabei ist
@@ -156,13 +156,13 @@
SIO_CHR | SIO_STR | SIO_BUF | SIO_FMT | SIO_STRVEC | SIO_BUFVEC
type of objects: character, nul-terminated string or buffer+size or
format string based
- SIO_MULT
+ SIO_MULT
multiple objects are passed in call
- SIO_NULLEND
+ SIO_NULLEND
whether size of vector is indicated by NULL or given
SIO_COPY
- objects are copied to library
+ objects are copied to library
(internal its SIO_GIFT after copy!)
SIO_GIFT
objects are gifted to library
@@ -202,7 +202,7 @@
IDEA:
- SIO (Socket IO)
- BIO (Buffered/Filtered I/O)
- - BA/BB (Buffer Aggregates, Bucket Brigades -- ACT)
+ - BA/BB (Buffer Aggregates, Bucket Brigades -- ACT)
-----------------
@@ -223,7 +223,7 @@
typedef struct sio_st sio_t;
/* I/O vector entry (similar to POSIX struct iovec) for sio_{read,write}v() */
-typdef struct sio_iovec_st
+typdef struct sio_iovec_st
char *iov_base; /* Base address. */
size_t iov_len; /* Length. */
} sio_iovec_t;
@@ -261,8 +261,8 @@
sio_t *sio_dup (sio_t *sio);
int sio_free (sio_t *sio);
-/*
- * I/O Operations
+/*
+ * I/O Operations
*/
sio_size_t sio_read (sio_t *sio, void *buf, size_t bytes);
sio_size_t sio_write (sio_t *sio, void *buf, size_t bytes);
@@ -286,7 +286,7 @@
sio_site_t sio_vscanf (sio_t *sio, const char *fmt, va_list ap);
/*
- * Buffering & Synchronization
+ * Buffering & Synchronization
*/
int sio_sync (sio_t *sio);
int sio_purge (sio_t *sio);
|
|
ossp-pkg/sio/ChangeLog 1.1 -> 1.2
--- ChangeLog 2002/12/18 14:58:29 1.1
+++ ChangeLog 2003/01/06 19:04:56 1.2
@@ -1,8 +1,8 @@
- _ ___ ____ ____ ____ _
- |_|_ _ / _ \/ ___/ ___|| _ \ ___(_) ___
- _|_||_| | | | \___ \___ \| |_) | / __| |/ _ \
+ _ ___ ____ ____ ____ _
+ |_|_ _ / _ \/ ___/ ___|| _ \ ___(_) ___
+ _|_||_| | | | \___ \___ \| |_) | / __| |/ _ \
|_||_|_| | |_| |___) |__) | __/ \__ \ | (_) |
- |_|_|_| \___/|____/____/|_| |___/_|\___/
+ |_|_|_| \___/|____/____/|_| |___/_|\___/
OSSP sio - Stream I/O
|
|
ossp-pkg/sio/INSTALL 1.1 -> 1.2
--- INSTALL 2002/12/18 14:58:29 1.1
+++ INSTALL 2003/01/06 19:04:56 1.2
@@ -1,8 +1,8 @@
- _ ___ ____ ____ ____ _
- |_|_ _ / _ \/ ___/ ___|| _ \ ___(_) ___
- _|_||_| | | | \___ \___ \| |_) | / __| |/ _ \
+ _ ___ ____ ____ ____ _
+ |_|_ _ / _ \/ ___/ ___|| _ \ ___(_) ___
+ _|_||_| | | | \___ \___ \| |_) | / __| |/ _ \
|_||_|_| | |_| |___) |__) | __/ \__ \ | (_) |
- |_|_|_| \___/|____/____/|_| |___/_|\___/
+ |_|_|_| \___/|____/____/|_| |___/_|\___/
OSSP sio - Stream I/O
|
|
ossp-pkg/sio/Makefile.in 1.2 -> 1.3
--- Makefile.in 2002/12/18 15:54:15 1.2
+++ Makefile.in 2003/01/06 19:04:56 1.3
@@ -1,13 +1,11 @@
##
## OSSP sio - Stream I/O
-## Copyright (c) 2002 Ralf S. Engelschall <rse@engelschall.com>
-## Copyright (c) 2002 The OSSP Project <http://www.ossp.org/>
-## Copyright (c) 2002 Cable & Wireless Deutschland <http://www.cw.com/de/>
-## Copyright (c) 2002 Michael van Elst <mlelstv@dev.de.cw.net>
+## Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+## Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+## Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
##
-## This file is part of OSSP sio, an abstract data type of
-## a pair of half-duplex data pipes which can be found at
-## http://www.ossp.org/pkg/lib/sio/.
+## This file is part of OSSP sio, a layered stream I/O library
+## which can be found at http://www.ossp.org/pkg/lib/sio/.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
|
|
ossp-pkg/sio/NEWS 1.1 -> 1.2
--- NEWS 2002/12/18 14:58:29 1.1
+++ NEWS 2003/01/06 19:04:56 1.2
@@ -1,8 +1,8 @@
- _ ___ ____ ____ ____ _
- |_|_ _ / _ \/ ___/ ___|| _ \ ___(_) ___
- _|_||_| | | | \___ \___ \| |_) | / __| |/ _ \
+ _ ___ ____ ____ ____ _
+ |_|_ _ / _ \/ ___/ ___|| _ \ ___(_) ___
+ _|_||_| | | | \___ \___ \| |_) | / __| |/ _ \
|_||_|_| | |_| |___) |__) | __/ \__ \ | (_) |
- |_|_|_| \___/|____/____/|_| |___/_|\___/
+ |_|_|_| \___/|____/____/|_| |___/_|\___/
OSSP sio - Stream I/O
|
|
ossp-pkg/sio/README 1.1 -> 1.2
--- README 2002/12/18 14:58:29 1.1
+++ README 2003/01/06 19:04:56 1.2
@@ -1,8 +1,8 @@
- _ ___ ____ ____ ____ _
- |_|_ _ / _ \/ ___/ ___|| _ \ ___(_) ___
- _|_||_| | | | \___ \___ \| |_) | / __| |/ _ \
+ _ ___ ____ ____ ____ _
+ |_|_ _ / _ \/ ___/ ___|| _ \ ___(_) ___
+ _|_||_| | | | \___ \___ \| |_) | / __| |/ _ \
|_||_|_| | |_| |___) |__) | __/ \__ \ | (_) |
- |_|_|_| \___/|____/____/|_| |___/_|\___/
+ |_|_|_| \___/|____/____/|_| |___/_|\___/
OSSP sio - Stream I/O
@@ -12,14 +12,12 @@
COPYRIGHT AND LICENSE
- Copyright (c) 2002 Ralf S. Engelschall <rse@engelschall.com>
- Copyright (c) 2002 The OSSP Project <http://www.ossp.org/>
- Copyright (c) 2002 Cable & Wireless Deutschland <http://www.cw.com/de/>
- Copyright (c) 2002 Michael van Elst <mlelstv@dev.de.cw.net>
-
- This file is part of OSSP sio, an abstract data type of
- a pair of half-duplex data pipes which can be found at
- http://www.ossp.org/pkg/lib/sio/.
+ Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+ Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+ Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
+
+ This file is part of OSSP sio, a layered stream I/O library
+ which can be found at http://www.ossp.org/pkg/lib/sio/.
Permission to use, copy, modify, and distribute this software for
any purpose with or without fee is hereby granted, provided that
|
|
ossp-pkg/sio/THANKS 1.1 -> 1.2
--- THANKS 2002/12/18 14:58:29 1.1
+++ THANKS 2003/01/06 19:04:56 1.2
@@ -1,8 +1,8 @@
- _ ___ ____ ____ ____ _
- |_|_ _ / _ \/ ___/ ___|| _ \ ___(_) ___
- _|_||_| | | | \___ \___ \| |_) | / __| |/ _ \
+ _ ___ ____ ____ ____ _
+ |_|_ _ / _ \/ ___/ ___|| _ \ ___(_) ___
+ _|_||_| | | | \___ \___ \| |_) | / __| |/ _ \
|_||_|_| | |_| |___) |__) | __/ \__ \ | (_) |
- |_|_|_| \___/|____/____/|_| |___/_|\___/
+ |_|_|_| \___/|____/____/|_| |___/_|\___/
OSSP sio - Stream I/O
|
|
ossp-pkg/sio/TODO 1.2 -> 1.3
--- TODO 2003/01/06 16:36:59 1.2
+++ TODO 2003/01/06 19:04:56 1.3
@@ -1,8 +1,8 @@
- _ ___ ____ ____ ____ _
- |_|_ _ / _ \/ ___/ ___|| _ \ ___(_) ___
- _|_||_| | | | \___ \___ \| |_) | / __| |/ _ \
+ _ ___ ____ ____ ____ _
+ |_|_ _ / _ \/ ___/ ___|| _ \ ___(_) ___
+ _|_||_| | | | \___ \___ \| |_) | / __| |/ _ \
|_||_|_| | |_| |___) |__) | __/ \__ \ | (_) |
- |_|_|_| \___/|____/____/|_| |___/_|\___/
+ |_|_|_| \___/|____/____/|_| |___/_|\___/
OSSP sio - Stream I/O
@@ -34,7 +34,7 @@
SIO_XSTREAM Invoke Crossstream Stage
SIO_LOOP Loop through current Stage
- o sio.h haengt von al.h ab wegen References to al_t!
+ o sio.h haengt von al.h ab wegen References to al_t!
Suggestion: forward declaration in sio.h for al_t.
o sio_push: I expected a different operation by reading "push" here.
@@ -51,7 +51,7 @@
o sios->{open,close}{r,w}(): any reason why it's four functions
and not just two? I intuitively expected just sios->{open,close}()
with an additional parameter indicating read or write operation.
-
+
o sio_configure_stage is unneccesary restrictive in passed data:
< sio_rc_t sio_configure_stage(sio_t *sio, sio_stage_t *sios, void *o, void *v);
> sio_rc_t sio_configure_stage(sio_t *sio, sio_stage_t *sios, void *v, ...);
@@ -59,7 +59,7 @@
> sio_rc_t (*configure) (sio_t *, void *, void *, va_list ap);
This way the application can decide itself how it is configured
and with which parameter stypes and with how much parameters.
-
+
o Additionally to make sios->configure implementations easier and to
reduce complexity and redundancy, I suggest to provide a
sio_setparams() function which is similar to l2_util_setparams() in
|
|
ossp-pkg/sio/aclocal.m4 1.1 -> 1.2
--- aclocal.m4 2002/12/18 14:58:29 1.1
+++ aclocal.m4 2003/01/06 19:04:56 1.2
@@ -1,13 +1,11 @@
dnl ##
-dnl ## sio - OSSP Assembly Line
-dnl ## Copyright (c) 2002 Ralf S. Engelschall <rse@engelschall.com>
-dnl ## Copyright (c) 2002 The OSSP Project <http://www.ossp.org/>
-dnl ## Copyright (c) 2002 Cable & Wireless Deutschland <http://www.cw.com/de/>
-dnl ## Copyright (c) 2002 Michael van Elst <mlelstv@dev.de.cw.net>
+dnl ## OSSP sio - Stream I/O
+dnl ## Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+dnl ## Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+dnl ## Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
dnl ##
-dnl ## This file is part of OSSP sio, an abstract data type of
-dnl ## a pair of half-duplex data pipes which can be found at
-dnl ## http://www.ossp.org/pkg/lib/sio/.
+dnl ## This file is part of OSSP sio, a layered stream I/O library
+dnl ## which can be found at http://www.ossp.org/pkg/lib/sio/.
dnl ##
dnl ## Permission to use, copy, modify, and distribute this software for
dnl ## any purpose with or without fee is hereby granted, provided that
|
|
ossp-pkg/sio/configure.ac 1.2 -> 1.3
--- configure.ac 2002/12/18 15:41:50 1.2
+++ configure.ac 2003/01/06 19:04:56 1.3
@@ -1,13 +1,11 @@
dnl ##
dnl ## OSSP sio - Stream I/O
-dnl ## Copyright (c) 2002 Ralf S. Engelschall <rse@engelschall.com>
-dnl ## Copyright (c) 2002 The OSSP Project <http://www.ossp.org/>
-dnl ## Copyright (c) 2002 Cable & Wireless Deutschland <http://www.cw.com/de/>
-dnl ## Copyright (c) 2002 Michael van Elst <mlelstv@dev.de.cw.net>
+dnl ## Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+dnl ## Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+dnl ## Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
dnl ##
-dnl ## This file is part of OSSP sio, an abstract data type of
-dnl ## a pair of half-duplex data pipes which can be found at
-dnl ## http://www.ossp.org/pkg/lib/sio/.
+dnl ## This file is part of OSSP sio, a layered stream I/O library
+dnl ## which can be found at http://www.ossp.org/pkg/lib/sio/.
dnl ##
dnl ## Permission to use, copy, modify, and distribute this software for
dnl ## any purpose with or without fee is hereby granted, provided that
|
|
ossp-pkg/sio/devtool 1.1 -> 1.2
--- devtool 2002/12/18 14:58:29 1.1
+++ devtool 2003/01/06 19:04:56 1.2
@@ -1,7 +1,7 @@
#!/bin/sh
##
## devtool -- Development Tool
-## Copyright (c) 2001 Ralf S. Engelschall <rse@engelschall.com>
+## Copyright (c) 2001 Ralf S. Engelschall <rse@engelschall.com>
##
if [ $# -eq 0 ]; then
|
|
ossp-pkg/sio/devtool.func 1.1 -> 1.2
--- devtool.func 2002/12/18 14:58:29 1.1
+++ devtool.func 2003/01/06 19:04:56 1.2
@@ -1,6 +1,6 @@
##
## devtool.func -- Development Tool Functions
-## Copyright (c) 2001-2002 Ralf S. Engelschall <rse@engelschall.com>
+## Copyright (c) 2001-2002 Ralf S. Engelschall <rse@engelschall.com>
##
devtool_require () {
|
|
ossp-pkg/sio/list.h 1.6 -> 1.7
--- list.h 2002/12/18 14:58:29 1.6
+++ list.h 2003/01/06 19:04:56 1.7
@@ -1,13 +1,11 @@
/*
-** OSSP sio -- Stream I/O
-** Copyright (c) 2002 The OSSP Project <http://www.ossp.org/>
-** Copyright (c) 2002 Cable & Wireless Deutschland <http://www.cw.com/de/>
-** Copyright (c) 2002 Ralf S. Engelschall <rse@engelschall.com>
-** Copyright (c) 2002 Michael van Elst <mlelstv@dev.de.cw.net>
+** OSSP sio - Stream I/O
+** Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+** Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
**
-** This file is part of OSSP sio, an abstract data type of
-** a pair of half-duplex data pipes which can be found at
-** http://www.ossp.org/pkg/lib/sio/.
+** This file is part of OSSP sio, a layered stream I/O library
+** which can be found at http://www.ossp.org/pkg/lib/sio/.
**
** Permission to use, copy, modify, and distribute this software for
** any purpose with or without fee is hereby granted, provided that
|
|
ossp-pkg/sio/sio-config.in 1.1 -> 1.2
--- sio-config.in 2002/12/18 15:38:49 1.1
+++ sio-config.in 2003/01/06 19:04:56 1.2
@@ -1,14 +1,12 @@
#!/bin/sh
##
## OSSP sio - Stream I/O
-## Copyright (c) 2002 Ralf S. Engelschall <rse@engelschall.com>
-## Copyright (c) 2002 The OSSP Project <http://www.ossp.org/>
-## Copyright (c) 2002 Cable & Wireless Deutschland <http://www.cw.com/de/>
-## Copyright (c) 2002 Michael van Elst <mlelstv@dev.de.cw.net>
+## Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+## Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+## Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
##
-## This file is part of OSSP sio, an abstract data type of
-## a pair of half-duplex data pipes which can be found at
-## http://www.ossp.org/pkg/lib/sio/.
+## This file is part of OSSP sio, a layered stream I/O library
+## which can be found at http://www.ossp.org/pkg/lib/sio/.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
|
|
ossp-pkg/sio/sio.c 1.19 -> 1.20
--- sio.c 2002/12/18 15:51:35 1.19
+++ sio.c 2003/01/06 19:04:56 1.20
@@ -1,11 +1,11 @@
/*
-** OSSP sio -- stream I/O
-** Copyright (c) 2002 The OSSP Project <http://www.ossp.org/>
-** Copyright (c) 2002 Cable & Wireless Deutschland <http://www.cw.com/de/>
-** Copyright (c) 2002 Ralf S. Engelschall <rse@engelschall.com>
-** Copyright (c) 2002 Michael van Elst <mlelstv@dev.de.cw.net>
+** OSSP sio - Stream I/O
+** Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+** Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
**
-** This file is part of OSSP sio, a library implementing layered I/O
+** This file is part of OSSP sio, a layered stream I/O library
+** which can be found at http://www.ossp.org/pkg/lib/sio/.
**
** Permission to use, copy, modify, and distribute this software for
** any purpose with or without fee is hereby granted, provided that
|
|
ossp-pkg/sio/sio.h 1.9 -> 1.10
--- sio.h 2002/11/29 13:03:40 1.9
+++ sio.h 2003/01/06 19:04:56 1.10
@@ -1,11 +1,11 @@
/*
-** OSSP sio -- Stream I/O
-** Copyright (c) 2002 The OSSP Project <http://www.ossp.org/>
-** Copyright (c) 2002 Cable & Wireless Deutschland <http://www.cw.com/de/>
-** Copyright (c) 2002 Ralf S. Engelschall <rse@engelschall.com>
-** Copyright (c) 2002 Michael van Elst <mlelstv@dev.de.cw.net>
+** OSSP sio - Stream I/O
+** Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+** Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
**
-** This file is part of OSSP sio, a library implementing layered I/O
+** This file is part of OSSP sio, a layered stream I/O library
+** which can be found at http://www.ossp.org/pkg/lib/sio/.
**
** Permission to use, copy, modify, and distribute this software for
** any purpose with or without fee is hereby granted, provided that
|
|
ossp-pkg/sio/sio.pod 1.9 -> 1.10
--- sio.pod 2002/12/18 14:58:29 1.9
+++ sio.pod 2003/01/06 19:04:56 1.10
@@ -1,13 +1,11 @@
##
## OSSP sio - Stream I/O
-## Copyright (c) 2002 The OSSP Project <http://www.ossp.org/>
-## Copyright (c) 2002 Cable & Wireless Deutschland <http://www.cw.com/de/>
-## Copyright (c) 2002 Ralf S. Engelschall <rse@engelschall.com>
-## Copyright (c) 2002 Michael van Elst <mlelstv@dev.de.cw.net>
+## Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+## Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+## Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
##
-## This file is part of OSSP sio, an abstract data type of
-## a pair of half-duplex data pipes which can be found at
-## http://www.ossp.org/pkg/lib/sio/.
+## This file is part of OSSP sio, a layered stream I/O library
+## which can be found at http://www.ossp.org/pkg/lib/sio/.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
@@ -562,7 +560,7 @@
sio_rc_t XXX_openr(sio_t *sio, al_t *al, void *u)
{
private_t *my = (private_t *)u;
- ...
+ ...
/* cache reference to input assembly line */
my->al_in = al;
my->state = INIT;
@@ -571,7 +569,7 @@
sio_rc_t XXX_openw(sio_t *sio, al_t *al, void *u)
{
private_t *my = (private_t *)u;
- ...
+ ...
/* cache reference to output assembly line */
my->al_out = al;
my->state = INIT;
|
|
ossp-pkg/sio/sio_bio.c 1.8 -> 1.9
--- sio_bio.c 2002/12/18 15:51:02 1.8
+++ sio_bio.c 2003/01/06 19:04:56 1.9
@@ -1,3 +1,33 @@
+/*
+** OSSP sio - Stream I/O
+** Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+** Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
+**
+** This file is part of OSSP sio, a layered stream I/O library
+** which can be found at http://www.ossp.org/pkg/lib/sio/.
+**
+** 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.
+**
+** sio_bio.c: OpenSSL BIO stage
+*/
+
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
@@ -189,7 +219,7 @@
sio_rc_t siobio_init(sio_t *sio, void **up)
{
private_t *my;
-
+
my = (private_t *)malloc(sizeof(private_t));
if (my == NULL)
return SIO_ERR_MEM;
|
|
ossp-pkg/sio/sio_buffer.c 1.8 -> 1.9
--- sio_buffer.c 2002/11/29 13:00:18 1.8
+++ sio_buffer.c 2003/01/06 19:04:56 1.9
@@ -1,3 +1,33 @@
+/*
+** OSSP sio - Stream I/O
+** Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+** Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
+**
+** This file is part of OSSP sio, a layered stream I/O library
+** which can be found at http://www.ossp.org/pkg/lib/sio/.
+**
+** 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.
+**
+** sio_buffer.c: buffer stage
+*/
+
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
@@ -21,7 +51,7 @@
sio_rc_t buffer_init(sio_t *sio, void **up)
{
private_t *my;
-
+
my = (private_t *)malloc(sizeof(private_t));
if (my == NULL)
return SIO_ERR_MEM;
|
|
ossp-pkg/sio/sio_fd.c 1.12 -> 1.13
--- sio_fd.c 2002/11/29 14:50:21 1.12
+++ sio_fd.c 2003/01/06 19:04:56 1.13
@@ -1,3 +1,33 @@
+/*
+** OSSP sio - Stream I/O
+** Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+** Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
+**
+** This file is part of OSSP sio, a layered stream I/O library
+** which can be found at http://www.ossp.org/pkg/lib/sio/.
+**
+** 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.
+**
+** sio_fd.h: filedescriptor stage
+*/
+
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
@@ -32,7 +62,7 @@
sio_rc_t fd_init(sio_t *sio, void **up)
{
private_t *my;
-
+
my = (private_t *)malloc(sizeof(private_t));
if (my == NULL)
return SIO_ERR_MEM;
|
|
ossp-pkg/sio/sio_hello.c 1.12 -> 1.13
--- sio_hello.c 2002/11/29 14:27:44 1.12
+++ sio_hello.c 2003/01/06 19:04:56 1.13
@@ -1,3 +1,33 @@
+/*
+** OSSP sio - Stream I/O
+** Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+** Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
+**
+** This file is part of OSSP sio, a layered stream I/O library
+** which can be found at http://www.ossp.org/pkg/lib/sio/.
+**
+** 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.
+**
+** sio_hello.c: hello world stage
+*/
+
#include <stdlib.h>
#include <string.h>
#include <assert.h>
@@ -47,7 +77,7 @@
sio_rc_t hello_init(sio_t *sio, void **up)
{
private_t *my;
-
+
my = (private_t *)malloc(sizeof(private_t));
if (my == NULL)
return SIO_ERR_MEM;
|
|
ossp-pkg/sio/sio_hole.c 1.7 -> 1.8
--- sio_hole.c 2002/11/29 13:00:18 1.7
+++ sio_hole.c 2003/01/06 19:04:56 1.8
@@ -1,3 +1,33 @@
+/*
+** OSSP sio - Stream I/O
+** Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+** Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
+**
+** This file is part of OSSP sio, a layered stream I/O library
+** which can be found at http://www.ossp.org/pkg/lib/sio/.
+**
+** 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.
+**
+** sio_hole.c: black hole stage
+*/
+
#include <stddef.h>
#include <stdlib.h>
@@ -17,7 +47,7 @@
sio_rc_t hole_init(sio_t *sio, void **up)
{
private_t *my;
-
+
my = (private_t *)malloc(sizeof(private_t));
if (my == NULL)
return SIO_ERR_MEM;
|
|
ossp-pkg/sio/sio_null.c 1.9 -> 1.10
--- sio_null.c 2003/01/06 16:35:40 1.9
+++ sio_null.c 2003/01/06 19:04:56 1.10
@@ -1,3 +1,33 @@
+/*
+** OSSP sio - Stream I/O
+** Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+** Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
+**
+** This file is part of OSSP sio, a layered stream I/O library
+** which can be found at http://www.ossp.org/pkg/lib/sio/.
+**
+** 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.
+**
+** sio_null.c: /dev/null stage
+*/
+
#include <stddef.h>
#include <stdlib.h>
@@ -19,7 +49,7 @@
sio_rc_t null_init(sio_t *sio, void **up)
{
private_t *my;
-
+
my = (private_t *)malloc(sizeof(private_t));
if (my == NULL)
return SIO_ERR_MEM;
|
|
ossp-pkg/sio/sio_sa.c 1.6 -> 1.7
--- sio_sa.c 2002/11/29 13:00:18 1.6
+++ sio_sa.c 2003/01/06 19:04:56 1.7
@@ -1,3 +1,33 @@
+/*
+** OSSP sio - Stream I/O
+** Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+** Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
+**
+** This file is part of OSSP sio, a layered stream I/O library
+** which can be found at http://www.ossp.org/pkg/lib/sio/.
+**
+** 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.
+**
+** sio_sa.c: OSSP sa socket I/O stage
+*/
+
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
@@ -35,7 +65,7 @@
sio_rc_t saw_init(sio_t *sio, void **up)
{
private_t *my;
-
+
my = (private_t *)malloc(sizeof(private_t));
if (my == NULL)
return SIO_ERR_MEM;
|
|
ossp-pkg/sio/sio_sillymux.c 1.1 -> 1.2
--- sio_sillymux.c 2002/11/29 15:45:25 1.1
+++ sio_sillymux.c 2003/01/06 19:04:56 1.2
@@ -1,3 +1,33 @@
+/*
+** OSSP sio - Stream I/O
+** Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+** Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
+**
+** This file is part of OSSP sio, a layered stream I/O library
+** which can be found at http://www.ossp.org/pkg/lib/sio/.
+**
+** 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.
+**
+** sio_sillymux.c: silly multiplexing stage
+*/
+
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
@@ -23,7 +53,7 @@
sio_rc_t sillymux_init(sio_t *sio, void **up)
{
private_t *my;
-
+
my = (private_t *)malloc(sizeof(private_t));
if (my == NULL)
return SIO_ERR_MEM;
|
|
ossp-pkg/sio/sio_sio.c 1.2 -> 1.3
--- sio_sio.c 2002/11/29 13:00:19 1.2
+++ sio_sio.c 2003/01/06 19:04:56 1.3
@@ -1,3 +1,33 @@
+/*
+** OSSP sio - Stream I/O
+** Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+** Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
+**
+** This file is part of OSSP sio, a layered stream I/O library
+** which can be found at http://www.ossp.org/pkg/lib/sio/.
+**
+** 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.
+**
+** sio_sio.c: OSSP sio to OSSP sio stage
+*/
+
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
@@ -26,7 +56,7 @@
sio_rc_t siosio_init(sio_t *sio, void **up)
{
private_t *my;
-
+
my = (private_t *)malloc(sizeof(private_t));
if (my == NULL)
return SIO_ERR_MEM;
|
|
ossp-pkg/sio/sio_test.c 1.5 -> 1.6
--- sio_test.c 2002/11/24 19:36:48 1.5
+++ sio_test.c 2003/01/06 19:04:56 1.6
@@ -1,3 +1,33 @@
+/*
+** OSSP sio - Stream I/O
+** Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+** Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
+**
+** This file is part of OSSP sio, a layered stream I/O library
+** which can be found at http://www.ossp.org/pkg/lib/sio/.
+**
+** 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.
+**
+** sio_test.c: test suite
+*/
+
#include <stdio.h>
#include "al.h"
|
|
ossp-pkg/sio/sio_zlib.c 1.4 -> 1.5
--- sio_zlib.c 2002/12/18 14:58:29 1.4
+++ sio_zlib.c 2003/01/06 19:04:56 1.5
@@ -1,3 +1,33 @@
+/*
+** OSSP sio - Stream I/O
+** Copyright (c) 2002-2003 Cable & Wireless Deutschland <http://www.cw.com/de/>
+** Copyright (c) 2002-2003 The OSSP Project <http://www.ossp.org/>
+** Copyright (c) 2002-2003 Ralf S. Engelschall <rse@engelschall.com>
+**
+** This file is part of OSSP sio, a layered stream I/O library
+** which can be found at http://www.ossp.org/pkg/lib/sio/.
+**
+** 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.
+**
+** sio_zlib.c: zlib compression stage
+*/
+
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
@@ -36,7 +66,7 @@
sio_rc_t zlib_init(sio_t *sio, void **up)
{
private_t *my;
-
+
my = (private_t *)malloc(sizeof(private_t));
if (my == NULL)
return SIO_ERR_MEM;
|
|