#include "common.h"
#include <sys/types.h>
#include <time.h>
Include dependency graph for conn_handler.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Typedefs | |
| typedef ConnHandler * | ConnHandler |
| define a convenience name for the ConnHandler object. | |
Functions | |
| int | chModulePreInit () |
| initialise module (calculate constant values and allocate common buffers). More... | |
| int | chModuleTerminate () |
| free all ressources allocated by the module. More... | |
| ConnHandler | chInit (int server_socket) |
| creates and returns a new CHData connection handler object. More... | |
| int | chGetSocket (const ConnHandler this) |
| returns a file descriptor to the connection handler's communication socket. More... | |
| time_t | chGetStamp (const ConnHandler this) |
| get a ConnectionHandler's transmit timestamp. More... | |
| time_t | chgetStamp (const ConnHandler this) |
| returns the time where the last block if data was exchanged. More... | |
| int | chReceive (ConnHandler this) |
| handles a request pending at the connection handlers socket. More... | |
| int | chIsDataPending (const ConnHandler this) |
| returns true if there is pending data. More... | |
| int | chSend (ConnHandler this) |
| send some of the data currently in queue. More... | |
| int | chProcess (ConnHandler this) |
| do additional data processing. More... | |
| int | chGetError (const ConnHandler this) |
| return the connection handler's current error status. More... | |
| int | chTerminate (ConnHandler this) |
| terminate the connection handler. More... | |
Definition in file conn_handler.h.
|
|
return the connection handler's current error status.
Referenced by svMain().
|
|
|
returns a file descriptor to the connection handler's communication socket.
Referenced by svCloseConnection(), and svMain().
|
|
|
get a ConnectionHandler's transmit timestamp.
returns the time the ConnectionHandler ch made its last transmission from or to the remote end
Referenced by svMain().
|
|
|
creates and returns a new CHData connection handler object.
Referenced by svMain().
|
|
|
returns true if there is pending data.
Referenced by forwardSendToProtHandler(), and svMain().
|
|
|
initialise module (calculate constant values and allocate common buffers).
|
|
|
free all ressources allocated by the module.
|
|
|
do additional data processing.
Referenced by svMain().
|
|
|
handles a request pending at the connection handlers socket.
Referenced by svMain().
|
|
|
send some of the data currently in queue.
Referenced by svMain().
|
|
|
terminate the connection handler.
Referenced by svCloseConnection(), and svMain().
|
|
|
returns the time where the last block if data was exchanged.
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001