#include <stdlib.h>#include <stddef.h>#include <string.h>#include "gw-config.h"#include "gw-getopt.h"#include "gwpoll.h"#include "utils.h"#include "log.h"#include "thread.h"#include "gwthread.h"#include "gwmem.h"#include "socket.h"#include "cfg.h"#include "date.h"#include "http.h"#include "octstr.h"#include "list.h"#include "fdset.h"#include "gwassert.h"#include "counter.h"#include "charset.h"#include "conn.h"#include "ssl.h"#include "parse.h"#include "protected.h"#include "accesslog.h"#include "dict.h"#include "semaphore.h"#include "xmlrpc.h"#include "md5.h"#include "gw_uuid.h"#include "gw-rwlock.h"#include "gw-prioqueue.h"Include dependency graph for gwlib.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| void | gwlib_assert_init (void) |
| void | gwlib_init (void) |
| void | gwlib_shutdown (void) |
|
|
|
Definition at line 78 of file gwlib.c. References cfg_init(), charset_init(), gw_assert, gwlib_protected_init(), gwthread_init(), http_init(), init, log_init(), octstr_init(), socket_init(), and uuid_init(). Referenced by main(). 00079 {
00080 gw_assert(!init);
00081 gw_init_mem();
00082 uuid_init();
00083 octstr_init();
00084 gwlib_protected_init();
00085 gwthread_init();
00086 log_init();
00087 http_init();
00088 socket_init();
00089 charset_init();
00090 cfg_init();
00091 init = 1;
00092 }
|
Here is the call graph for this function:

|
|
Definition at line 94 of file gwlib.c. References cfg_shutdown(), charset_shutdown(), gwlib_assert_init(), gwlib_protected_shutdown(), gwthread_shutdown(), http_shutdown(), init, log_shutdown(), octstr_shutdown(), socket_shutdown(), and uuid_shutdown(). Referenced by main(), and parachute_start(). 00095 {
00096 gwlib_assert_init();
00097 charset_shutdown();
00098 http_shutdown();
00099 socket_shutdown();
00100 gwthread_shutdown();
00101 octstr_shutdown();
00102 gwlib_protected_shutdown();
00103 uuid_shutdown();
00104 cfg_shutdown();
00105 gw_check_leaks();
00106 log_shutdown();
00107 gwmem_shutdown();
00108 init = 0;
00109 }
|
Here is the call graph for this function:
