summaryrefslogtreecommitdiffstats
path: root/src/core/xfer.c
Commit message (Collapse)AuthorAgeFilesLines
* Add XFER_INIT() macro.Michael Brown2008-01-221-7/+1Star
|
* Make seek information part of the xfer metadata, rather than an entirelyMichael Brown2008-01-081-41/+28Star
| | | | | | | separate xfer method. Add missing .alloc_iob entries to several xfer_interface_operations structures.
* Unplug before sending close() message, to avoid screwing up interfacesMichael Brown2007-07-101-1/+1
| | | | which respond to close with a reopen() (e.g. iSCSI).
* Remove xfer_ready() (it has been replaced by xfer_window())Michael Brown2007-07-091-14/+0Star
|
* Separate the "is data ready" function of xfer_seek() into anMichael Brown2007-07-081-0/+43
| | | | | xfer_window() function, which can return a scalar rather than a boolean.
* Kill off unused request() method in data-xfer interface.Michael Brown2007-07-081-43/+0Star
|
* Add concept of transfer metadata, to be used by UDP in order toMichael Brown2007-06-111-5/+22
| | | | implement sendto()/recvfrom() equivalents.
* Added missing va_end()Michael Brown2007-06-031-0/+1
|
* Add xfer_[v]printf() functions.Michael Brown2007-05-281-0/+41
|
* Modify data-xfer semantics: it is no longer necessary to call one ofMichael Brown2007-05-261-10/+61
| | | | | | | | | request(), seek() or deliver_xxx() in order to start the data flow. Autonomous generators must be genuinely autonomous (having their own process), or otherwise arrange to be called. TCP does this by starting the retry timer immediately. Add some debugging statements.
* Do not hold self-references. This then avoids the problem of having toMichael Brown2007-05-151-13/+32
| | | | | | | | | ensure that we only drop our self-reference exactly once. To maintain the guarantee that an object won't go out of scope unexpectedly while one of its event handlers is being called, the event-calling functions now automatically obtain and drop extra references.
* Data-transfer interface should now be functionally complete.Michael Brown2007-05-151-32/+92
|
* Add start() eventMichael Brown2007-05-011-26/+39
| | | | Add "xfer" to all xfer functions and "job" to all job functions.
* Add (and use) generic reference counter, to improve signal:noise ratioMichael Brown2007-04-301-1/+1
| | | | in code defining reference-counted objects.
* Add seek()Michael Brown2007-04-291-18/+75
| | | | Dehyphenate "data-transfer".
* Preliminary support for opening data-transfer interfacesMichael Brown2007-04-281-12/+64
|
* Added deliver-as-iobuf/deliver-as-raw concepts.Michael Brown2007-04-271-5/+58
|
* Initial sketch for the generic data-transfer interface.Michael Brown2007-04-271-0/+74