#include "gwlib/gwlib.h"#include "wap/wsp.h"#include "wsp_strings.def"Include dependency graph for wsp_strings.h:

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

Go to the source code of this file.
Defines | |
| #define | LINEAR(name, strings) |
| #define | STRING(string) |
| #define | LINEAR(name, strings) |
| #define | STRING(string) |
| #define | NAMED(name, strings) enum name##_enum { strings name##_dummy }; |
| #define | NSTRING(string, name) name, |
| #define | VNSTRING(version, string, name) name, |
Functions | |
| void | wsp_strings_init (void) |
| void | wsp_strings_shutdown (void) |
|
|
Definition at line 107 of file wsp_strings.h. |
|
|
Value: Octstr *wsp_##name##_to_string(long number); \ unsigned char *wsp_##name##_to_cstr(long number); \ long wsp_string_to_##name(Octstr *ostr); \ long wsp_string_to_versioned_##name(Octstr *ostr, int version); Definition at line 107 of file wsp_strings.h. |
|
|
Definition at line 109 of file wsp_strings.h. |
|
|
Definition at line 110 of file wsp_strings.h. |
|
|
Definition at line 108 of file wsp_strings.h. |
|
|
Definition at line 108 of file wsp_strings.h. |
|
|
Definition at line 111 of file wsp_strings.h. |
|
|
Definition at line 269 of file wsp_strings.c. References initialized. Referenced by main(), wsp_session_init(), and wsp_unit_init(). 00270 {
00271 if (initialized > 0) {
00272 initialized++;
00273 return;
00274 }
00275
00276 #define LINEAR(name, strings) \
00277 construct_linear_table(&name##_table, \
00278 name##_strings, TABLE_SIZE(name##_strings));
00279 #define NUMBERED(name, strings) \
00280 construct_numbered_table(&name##_table, \
00281 name##_strings, TABLE_SIZE(name##_strings));
00282 #include "wsp_strings.def"
00283 initialized++;
00284 }
|
|
|
Definition at line 286 of file wsp_strings.c. References initialized. Referenced by main(), wsp_session_shutdown(), and wsp_unit_shutdown(). 00287 {
00288 /* If we were initialized more than once, then wait for more than
00289 * one shutdown. */
00290 if (initialized > 1) {
00291 initialized--;
00292 return;
00293 }
00294
00295 #define LINEAR(name, strings) \
00296 destroy_table(&name##_table);
00297 #include "wsp_strings.def"
00298
00299 initialized = 0;
00300 }
|