#include <fo_server.h>
Data Fields | |
| t_cf_rwlock | lock |
| pthread_t | workers [MAX_WORKERS_NUM] |
| int | fresh |
| t_string | cache_visible |
| t_string | cache_invisible |
| time_t | date_visible |
| time_t | date_invisible |
| t_thread * | thread |
| t_thread * | last |
| u_int64_t | tid |
| u_int64_t | mid |
| int | locked |
| pthread_mutex_t | log_lock |
| FILE * | std |
| FILE * | err |
| t_client_queque | clients |
| t_cf_mutex | server_lock |
| t_server * | servers |
| int | shm_ids [2] |
| int | shm_sem |
| void * | shm_ptrs [2] |
| t_cf_mutex | shm_lock |
| t_cf_hash * | protocol_handlers |
| t_cf_hash * | threads |
| t_cf_rwlock | threads_lock |
Definition at line 122 of file fo_server.h.
|
|
The cache excluding invisible messages and threads Definition at line 136 of file fo_server.h. |
|
|
The cache including invisible messages and threads Definition at line 133 of file fo_server.h. |
|
|
Since the server cannot handle *very* high traffic, we use a worker model and a queque Definition at line 169 of file fo_server.h. |
|
|
The date when the cache containing all messages and threads has been created Definition at line 142 of file fo_server.h. |
|
|
The date when the cache containing only the visible messages and threads has been created Definition at line 139 of file fo_server.h. |
|
|
Logfile handle for error output Definition at line 163 of file fo_server.h. |
|
|
Is the cache fresh? Definition at line 130 of file fo_server.h. |
|
|
The pointer to the first thread Definition at line 145 of file fo_server.h. |
|
|
The read-write-lock Definition at line 124 of file fo_server.h. |
|
|
True if the forum is locked Definition at line 154 of file fo_server.h. |
|
|
The logfile mutex to protect the logfile handles Definition at line 157 of file fo_server.h. |
|
|
The last mid Definition at line 151 of file fo_server.h. |
|
|
This hash contains all the CFTP protocol handlers Definition at line 190 of file fo_server.h. |
|
|
The mutex to synchronize access to the server sockets Definition at line 174 of file fo_server.h. |
|
|
the Server sockets Definition at line 177 of file fo_server.h. |
|
|
The shared memory id Definition at line 183 of file fo_server.h. |
|
|
The mutex to synchronize access to this information Definition at line 186 of file fo_server.h. |
|
|
The pointer to the shared memory segment Definition at line 185 of file fo_server.h. |
|
|
The locking semaphore id Definition at line 184 of file fo_server.h. |
|
|
Logfile handle for standard output Definition at line 160 of file fo_server.h. |
|
|
The pointer to the first thread Definition at line 145 of file fo_server.h. |
|
|
This hash contains all threads Definition at line 193 of file fo_server.h. |
|
|
lock for the threads hash Definition at line 196 of file fo_server.h. |
|
|
The last tid Definition at line 148 of file fo_server.h. |
|
|
We wanna save the workers to pthread_join them at shutdown Definition at line 127 of file fo_server.h. |
1.3.5