Crossfire Server, Trunk  R20911
buffer_struct Struct Reference

#include <newserver.h>

+ Collaboration diagram for buffer_struct:

Data Fields

char data [SOCKETBUFSIZE]
 
int len
 
int start
 

Detailed Description

The following is the setup for a ring buffer for storing outbut data that the OS can't handle right away.

Definition at line 87 of file newserver.h.

Field Documentation

◆ data

char buffer_struct::data[SOCKETBUFSIZE]

Definition at line 88 of file newserver.h.

Referenced by add_to_buffer(), and write_socket_buffer().

◆ len

int buffer_struct::len

Definition at line 90 of file newserver.h.

Referenced by add_to_buffer(), init_connection(), and write_socket_buffer().

◆ start

int buffer_struct::start

Definition at line 89 of file newserver.h.

Referenced by add_to_buffer(), init_connection(), and write_socket_buffer().


The documentation for this struct was generated from the following file: