#include "gwlib.h"Include dependency graph for gwlib.c:

Go to the source code of this file.
Functions | |
| void | gwlib_init (void) |
| void | gwlib_shutdown (void) |
Variables | |
| int | init = 0 |
| void( | gwlib_assert_init )(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:

|
|
Definition at line 72 of file gwlib.c. 00073 {
00074 gw_assert(init != 0);
00075 }
|
|
|
Definition at line 69 of file gwlib.c. Referenced by gwlib_init(), and gwlib_shutdown(). |