#include "wap/wap.h"Include dependency graph for wap-appl.h:

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

Go to the source code of this file.
Functions | |
| void | wap_appl_init (Cfg *cfg) |
| void | wap_appl_dispatch (WAPEvent *event) |
| void | wap_appl_shutdown (void) |
| long | wap_appl_get_load (void) |
| void | wsp_http_url_map (Octstr *name, Octstr *url, Octstr *map_url, Octstr *send_msisdn_query, Octstr *send_msisdn_header, Octstr *send_msisdn_format, int accept_cookies) |
| void | wsp_http_map_url_config (char *) |
| void | wsp_http_map_url_config_device_home (char *) |
| void | wsp_http_map_url_config_info (void) |
| void | wsp_http_map_destroy (void) |
| void | wsp_http_user_map (Octstr *name, Octstr *user, Octstr *pass, Octstr *msisdn) |
| void | wsp_http_map_user_config_info (void) |
| void | wsp_http_map_user_destroy (void) |
|
|
Definition at line 288 of file wap-appl.c. References event, gw_assert, gwlist_produce(), queue, run_status, and running. Referenced by main(). 00289 {
00290 gw_assert(run_status == running);
00291 gwlist_produce(queue, event);
00292 }
|
Here is the call graph for this function:

|
|
Definition at line 295 of file wap-appl.c. References counter_value(), fetches, gw_assert, gwlist_len(), queue, run_status, and running. Referenced by main(). 00296 {
00297 gw_assert(run_status == running);
00298 return counter_value(fetches) + gwlist_len(queue);
00299 }
|
Here is the call graph for this function:

|
|
Definition at line 249 of file wap-appl.c. References caller, charsets, counter_create(), fetches, gw_assert, gwlist_add_producer(), gwlist_create, gwthread_create, have_ppg, http_caller_create(), limbo, main_thread(), queue, return_replies_thread(), run_status, and wml_charsets(). Referenced by main(). 00250 {
00251 gw_assert(run_status == limbo);
00252 queue = gwlist_create();
00253 fetches = counter_create();
00254 gwlist_add_producer(queue);
00255 run_status = running;
00256 charsets = wml_charsets();
00257 caller = http_caller_create();
00258 gwthread_create(main_thread, NULL);
00259 gwthread_create(return_replies_thread, NULL);
00260
00261 if (cfg != NULL)
00262 have_ppg = 1;
00263 else
00264 have_ppg = 0;
00265 }
|
Here is the call graph for this function:

|
|
Definition at line 268 of file wap-appl.c. References caller, charsets, counter_destroy(), fetches, gw_assert, gwlist_destroy(), gwlist_remove_producer(), gwthread_join_every(), http_caller_destroy(), http_caller_signal_shutdown(), main_thread(), octstr_destroy_item(), queue, return_replies_thread(), run_status, running, wap_event_destroy_item(), wap_map_destroy(), and wap_map_user_destroy(). Referenced by main(). 00269 {
00270 gw_assert(run_status == running);
00271 run_status = terminating;
00272
00273 gwlist_remove_producer(queue);
00274 gwthread_join_every(main_thread);
00275
00276 http_caller_signal_shutdown(caller);
00277 gwthread_join_every(return_replies_thread);
00278
00279 wap_map_destroy();
00280 wap_map_user_destroy();
00281 http_caller_destroy(caller);
00282 gwlist_destroy(queue, wap_event_destroy_item);
00283 gwlist_destroy(charsets, octstr_destroy_item);
00284 counter_destroy(fetches);
00285 }
|
Here is the call graph for this function:

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|