ARB
|
Go to the source code of this file.
Functions | |
void | aisc_server_errorf (const char *templat,...) __ATTR__FORMAT(1) |
const char * | aisc_get_object_names (long i) |
Hs_struct * | open_aisc_server (const char *path, int timeout, int fork) |
int | aisc_talking_get_index (int u, int o) |
long | aisc_make_sets (long *obj) |
int | aisc_broadcast (Hs_struct *hs, int message_type, const char *message) |
Hs_struct * | aisc_accept_calls (Hs_struct *hs) |
void | aisc_server_shutdown (Hs_struct *&hs) |
int | aisc_add_destroy_callback (aisc_destroy_callback callback, long clientdata) |
void | aisc_remove_destroy_callback (void) |
int | aisc_server_save_token (FILE *fd, const char *buffer, int maxsize) |
int | aisc_server_load_token (FILE *fd, char *buffer, int maxsize) |
void aisc_server_errorf | ( | const char * | templat, |
... | |||
) |
Definition at line 122 of file server.c.
References error_buf, EXIT_FAILURE, fflush(), fputs(), va_end(), va_start(), and vfprintf().
Definition at line 218 of file server.c.
Referenced by aisc_get_keystring(), aisc_talking_copy(), aisc_talking_create(), aisc_talking_find(), aisc_talking_get(), and aisc_talking_sets().
Definition at line 235 of file server.c.
References aisc_server_sigsegv(), arb_open_socket(), fflush(), Hs_struct::fork, Hs_struct::hso, INSTALL_SIGHANDLER, MAX_QUEUE_LEN, NULp, old_sigsegv_handler, Hs_struct::timeout, and Hs_struct::unix_name.
Referenced by ARB_main(), and start_pt_server().
Definition at line 429 of file server.c.
References AISC_DUMP, aisc_server_index, aisc_talking_get_index(), and error_buf.
Referenced by aisc_talking_get_index().
Definition at line 599 of file server.c.
References aisc_talking_sets(), aisc_static_set_mem::ibuf, md, aisc_static_set_mem::obuf, aisc_static_set_mem::size, and aisc_static_set_mem::type.
Definition at line 912 of file server.c.
References aisc_assert, AISC_CCOM_MESSAGE, arb_socket_write(), long, Socinf::next, Hs_struct::soci, and Socinf::socket.
Referenced by broadcast(), and server_shutdown().
Definition at line 1026 of file server.c.
References AISC_SERVER_OK, aisc_talking(), Socinf::destroy_callback, Socinf::destroy_clientdata, EXIT_SUCCESS, FD_SET_TYPE, Hs_struct::fork, Hs_struct::hso, Socinf::next, Hs_struct::nsoc, NULp, Hs_struct::soci, Socinf::socket, and Hs_struct::timeout.
Referenced by ARB_main(), and start_pt_server().
void aisc_server_shutdown | ( | Hs_struct *& | hs | ) |
Definition at line 1134 of file server.c.
References Hs_struct::hso, Socinf::next, NULp, Hs_struct::soci, Socinf::socket, and Hs_struct::unix_name.
Referenced by ARB_main(), server_shutdown(), and start_pt_server().
Definition at line 1151 of file server.c.
References aisc_server_con, aisc_server_hs, Socinf::destroy_callback, Socinf::destroy_clientdata, fputs(), Socinf::next, Hs_struct::soci, and Socinf::socket.
Referenced by names_init_socket(), and pt_init_socket().
void aisc_remove_destroy_callback | ( | void | ) |
Definition at line 1172 of file server.c.
References aisc_server_con, aisc_server_hs, Socinf::destroy_callback, Socinf::destroy_clientdata, Socinf::next, NULp, Hs_struct::soci, and Socinf::socket.
Referenced by names_destroy_socket(), and pt_destroy_socket().