Go to the source code of this file.
Data Structures | |
| struct | s_cl_thread |
| struct | s_message |
| struct | s_mod_api_ent |
Typedefs | |
| typedef void *(* | t_mod_api )(void *) |
| typedef s_mod_api_ent | t_mod_api_ent |
| typedef s_message | t_message |
| typedef s_cl_thread | t_cl_thread |
| typedef int(* | t_filter_begin )(t_cf_hash *, t_configuration *, t_configuration *) |
| typedef int(* | t_filter_connect )(t_cf_hash *, t_configuration *, t_configuration *, int) |
| typedef int(* | t_filter_list )(t_cf_hash *, t_configuration *, t_configuration *, t_cl_thread *, int) |
| typedef int(* | t_filter_list_posting )(t_cf_hash *, t_configuration *, t_configuration *, t_message *, unsigned long long, int) |
| typedef int(* | t_filter_posting )(t_cf_hash *, t_configuration *, t_configuration *, t_cl_thread *, t_cf_template *) |
| typedef int(* | t_filter_init_view )(t_cf_hash *, t_configuration *, t_configuration *, t_cf_template *, t_cf_template *) |
| typedef int(* | t_new_post_filter )(t_cf_hash *, t_configuration *, t_configuration *, t_message *, int, int) |
Functions | |
| u_char * | get_uconf_name (const u_char *uname) |
| int | set_us_up_the_socket (void) |
| void | str_error_message (const u_char *msg, FILE *out, int rd,...) |
| u_char * | get_error_message (const u_char *msg, int rd, size_t *len,...) |
| u_char * | get_time (t_configuration *cfg, const u_char *symbol, int *len, time_t *date) |
| u_char * | get_link (u_int64_t tid, u_int64_t mid) |
| int | has_answers (t_message *msg) |
| int | handle_thread (t_cl_thread *thr, t_cf_hash *head, int mode) |
| int | handle_thread_list_posting (t_message *p, t_cf_hash *head, u_int64_t tid, int mode) |
| t_message * | delete_subtree (t_message *msg) |
| void | generate_tpl_name (u_char buff[], int len, t_name_value *v) |
| void * | get_shm_ptr (void) |
| void * | reget_shm_ptr () |
| void | cf_set_variable (t_cf_template *tpl, t_name_value *cs, u_char *vname, const u_char *val, size_t len, int html) |
| void | cleanup_struct (t_cl_thread *thr) |
| int | handle_posting_filters (t_cf_hash *head, t_cl_thread *thr, t_cf_template *tpl) |
| int | cf_get_message_through_sock (int sock, rline_t *tsd, t_cl_thread *thr, const u_char *tplname, u_int64_t tid, u_int64_t mid, int del) |
| int | cf_get_next_thread_through_sock (int sock, rline_t *tsd, t_cl_thread *thr, const u_char *tplname) |
| int | cf_get_message_through_shm (void *shm_ptr, t_cl_thread *thr, const u_char *tplname, u_int64_t tid, u_int64_t mid, int del) |
| void * | cf_get_next_thread_through_shm (void *shm_ptr, t_cl_thread *thr, const u_char *tplname) |
| int | cf_register_mod_api_ent (const u_char *mod_name, const u_char *unique_identifier, t_mod_api func) |
| int | cf_unregister_mod_api_ent (const u_char *unid) |
| t_mod_api | cf_get_mod_api_ent (const u_char *unid) |
Variables | |
| t_cf_hash * | GlobalValues |
| t_cf_hash * | APIEntries |
| u_char | ErrorString [] |
Definition in file clientlib.h.
|
|
This struct is used to store and handle whole threads |
|
|
This function prototype pointer is used for the authorization and the initialization plugins
Definition at line 90 of file clientlib.h. |
|
|
This function prototype pointer is used for the connection plugins
Definition at line 100 of file clientlib.h. |
|
|
This function prototype pointer is used for the VIEW_INIT_HANDLER plugins. It will be called before the thread list is generated.
Definition at line 148 of file clientlib.h. |
|
|
This function prototype pointer is used for the VIEW_HANDLER plugins. It will be called once for each thread.
Definition at line 111 of file clientlib.h. |
|
|
This function prototype pointer is used for the VIEW_LIST_HANDLER plugins. It will be called once for each message.
Definition at line 124 of file clientlib.h. |
|
|
This function prototype pointer is used for the POSTING_HANDLER plugins. It will be called when a user requests a message of a thread.
Definition at line 136 of file clientlib.h. |
|
|
This struct is used to store and handle a posting |
|
|
module api function.
Definition at line 27 of file clientlib.h. |
|
|
Struct for Module communication API entry |
|
|
This function prototype pointer is used for the NEW_POST_HANDLER plugins. It will be called before the posting will be send to the server
Definition at line 161 of file clientlib.h. |
|
||||||||||||||||||||||||||||
|
This function gets a message from the server
Definition at line 1002 of file clientlib.c. |
|
||||||||||||||||||||||||||||||||
|
This function gets a message from the server
Definition at line 947 of file clientlib.c. |
|
|
This function returns a pointer to an API hook function
Definition at line 1158 of file clientlib.c. |
|
||||||||||||||||
|
This function reads the next thread from the shared memory segment
Definition at line 809 of file clientlib.c. |
|
||||||||||||||||||||
|
This function reads the next thread from a socket
Definition at line 706 of file clientlib.c. |
|
||||||||||||||||
|
This function registeres a module API entry
Definition at line 1117 of file clientlib.c. |
|
||||||||||||||||||||||||||||
|
This function sets a variable in a template. The value will be converted to the output charset
Definition at line 236 of file clientlib.c. |
|
|
This function deletes a module API hook
Definition at line 1144 of file clientlib.c. |
|
|
This function frees the complete thread structure
Definition at line 492 of file clientlib.c. |
|
|
This function deletes a posting subtree
Definition at line 473 of file clientlib.c. |
|
||||||||||||||||
|
This function generates a template name
Definition at line 223 of file clientlib.c. |
|
||||||||||||||||||||
|
This function returns an error message
Definition at line 389 of file clientlib.c. |
|
||||||||||||
|
This function generates a link to a thread
Definition at line 540 of file clientlib.c. |
|
|
This function gets a pointer to the shared memory segment
Definition at line 101 of file clientlib.c. |
|
||||||||||||||||||||
|
This function creates a date string
Definition at line 678 of file clientlib.c. |
|
|
This function tries to find the path to the user configuration file
Definition at line 145 of file clientlib.c. |
|
||||||||||||||||
|
This function runs POSTING_HANDLER plugins
Definition at line 651 of file clientlib.c. |
|
||||||||||||||||
|
This function runs VIEW_HANDLER plugins on a completely read thread.
Definition at line 632 of file clientlib.c. |
|
||||||||||||||||||||
|
This function runs VIEW_LIST_HANDLER plugins
Definition at line 606 of file clientlib.c. |
|
|
This function checks if a message has answers
Definition at line 563 of file clientlib.c. |
|
|
This function re-gets the pointer to the shared memory segment
Definition at line 75 of file clientlib.c. |
|
|
This function creates a socket handle an connects to the server
Definition at line 186 of file clientlib.c. |
|
||||||||||||||||||||
|
This function spits out an error message by a error string
Definition at line 278 of file clientlib.c. |
|
|
In this hash the module API entries will be saved Definition at line 172 of file clientlib.h. |
|
|
contains error string in failure case Definition at line 177 of file clientlib.h. |
|
|
In this hash global values can be saved, e.g. the username of logged in users Definition at line 167 of file clientlib.h. |
1.3.5