Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

connection Struct Reference

This struct represents a connection between a universal variable server/client. More...

#include <env_universal_common.h>

Collaboration diagram for connection:

Collaboration graph
[legend]

Data Fields

int fd
 The file descriptor this socket lives on.
dyn_queue_t unsent
 Queue of onsent messages.
int killme
 Set to one when this connection should be killed.
buffer_t input
 The input string.
char buffer [ENV_UNIVERSAL_BUFFER_SIZE]
 The read buffer.
int buffer_consumed
 Number of bytes that have already been consumed.
int buffer_used
 Number of bytes that have been read into the buffer.
connectionnext
 Link to the next connection.

Detailed Description

This struct represents a connection between a universal variable server/client.


Field Documentation

buffer_t connection::input
 

The input string.

Input from the socket goes here. When a newline is encountered, the buffer is parsed and cleared.


The documentation for this struct was generated from the following file:
Generated on Sun Jan 13 02:53:34 2008 for fish by  doxygen 1.4.4