Go to the source code of this file.
Functions | |
| int | cf_set_us_up_the_socket (struct sockaddr_un *addr) |
| void * | cf_worker (void *arg) |
| void | cf_handle_request (int sockfd) |
| void | cf_send_thread_list (int sockfd, int del) |
| void * | cf_generate_cache (void *arg) |
| void | cf_generate_list (t_string *str, int del) |
| void | cf_send_posting (int sock, u_int64_t tid, u_int64_t mid, int invisible) |
| t_thread * | cf_get_thread (u_int64_t tid) |
| t_posting * | cf_get_posting (t_thread *t, u_int64_t mid) |
| void | cf_generate_shared_memory () |
| int | cf_read_posting (t_posting *p, int sock, rline_t *tsd) |
| void | cf_log (int mode, const u_char *file, int line, const u_char *format,...) |
| int | cf_push_client (int connfd, t_worker handler) |
| int | cf_push_server (int sockfd, struct sockaddr *addr, int size, t_worker handler) |
| int | cf_register_protocol_handler (u_char *handler_hook, t_server_protocol_handler handler) |
| void | cf_register_thread (t_thread *t) |
| void | cf_unregister_thread (t_thread *t) |
Definition in file serverlib.h.
|
|
This function generates the cache for the thread list
Definition at line 1265 of file serverlib.c. |
|
||||||||||||
|
This function generates a stringified thread list for caching
Definition at line 1312 of file serverlib.c. |
|
|
This function generates the refreshed shared memory segment Definition at line 1085 of file serverlib.c. |
|
||||||||||||
|
This function returns a posting from a thread
Definition at line 1015 of file serverlib.c. |
|
|
This function gets a thread from the thread list
Definition at line 1036 of file serverlib.c. |
|
|
Handler function to handle client sockets. This function calls the specified worker function
Definition at line 567 of file serverlib.c. |
|
||||||||||||||||||||||||
|
This function makes a log entry into the log file
Definition at line 285 of file serverlib.c. |
|
||||||||||||
|
This function adds a client to the client queque.
Definition at line 196 of file serverlib.c. |
|
||||||||||||||||||||
|
This function adds a server socket to the server sockets array
Definition at line 144 of file serverlib.c. |
|
||||||||||||||||
|
This function reads a posting in CFTP from the socket into the referenced posting structure.
Definition at line 816 of file serverlib.c. |
|
||||||||||||
|
This function registeres a CFTP handler
Definition at line 79 of file serverlib.c. |
|
|
This function registeres a thread in the global threads hash
Definition at line 101 of file serverlib.c. |
|
||||||||||||||||||||
|
This function sends a posting to the client
Definition at line 903 of file serverlib.c. |
|
||||||||||||
|
This function sends a "live" thread list
Definition at line 1400 of file serverlib.c. |
|
|
Function to create socket and bind it to the specified port
Definition at line 376 of file serverlib.c. |
|
|
This function unregisteres a thread int he global threads hash
Definition at line 118 of file serverlib.c. |
|
|
Worker function for the CFTP
Definition at line 426 of file serverlib.c. |
1.3.5