Next:
Modules
Up:
ServerKit 2.0 Developers Guide
Previous:
ServerKit 2.0 Developers Guide
Contents
Modules
Overview
The ServerModule symbol
Creating a module
Skeleton module example
Compiling & linking
Database pools and queries
Overview
Functions
server_db_pool_lookup()
server_db_pool_take()
server_db_pool_give()
server_db_query()
server_db_fetch_row()
server_db_free_result()
server_db_escape_string()
Example
Thread pools and work management
Overview
Functions
server_thread_pool_new()
server_thread_pool_add_work()
server_thread_set_wchan()
Example
Queues
Overview
Functions
server_queue_new()
server_queue_free()
server_queue_push()
server_queue_pull()
server_queue_acquire()
Example
server_queue_cycle()
Heaps
Overview
Functions
server_heap_new()
server_heap_free()
server_heap_unit_allocate()
server_heap_unit_unref()
server_heap_unit_ref()
server_heap_is_busy()
Example
Reader-writer locks
Overview
Macros
SERVER_RWLOCK_INITIALIZER()
Functions
server_rwlock_init()
server_rwlock_rlock()
server_rwlock_wlock()
server_rwlock_unlock()
server_rwlock_r2wlock()
server_rwlock_w2rlock()
server_rwlock_destroy()
Parse trees
Overview
Functions
server_ptree_new()
server_ptree_walk()
server_ptree_walk_masked()
server_ptree_print()
server_ptree_free()
Logging
Overview
Functions
server_log()
Sequences
Overview
Functions
server_sequence_new()
server_sequence_reset()
server_sequence_append()
server_sequence_print()
server_sequence_free()
2007-12-06