--- 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);
|