Mercurial > hg > freeDiameter
comparison extensions/dbg_interactive/dbg_interactive.c @ 658:f198d16fa7f4
Initial commit for 1.1.0:
* Restructuring:
* libfreeDiameter:
- renamed folder & binary into libfdproto
- renamed libfD.h into fdproto-internal.h
- removed signals management (replaced by triggers in libfdcore)
* freeDiameter split into:
- libfdcore (most contents)
- renamed fD.h into fdcore-internal.h
- added core.c for framework init/shutdown.
- new triggers mechanism in events.c.
- freeDiameterd (main, command line parsing, signals management)
* tests:
- now in top-level directory tests.
* other changes:
- fd_dict_new now returns 0 on duplicate identical entries.
- fixes in dict_legacy_xml
- fixes in some dictionaries
- moved FD_DEFAULT_CONF_FILENAME definition to freeDiameter-host.h
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Fri, 14 Jan 2011 15:15:23 +0900 |
parents | 95a784729cac |
children | 2e94ef0515d7 |
comparison
equal
deleted
inserted
replaced
656:5b05d85682f1 | 658:f198d16fa7f4 |
---|---|
56 char * dum[3] = { "<dbg_interactive>", arg, NULL }; | 56 char * dum[3] = { "<dbg_interactive>", arg, NULL }; |
57 TRACE_ENTRY("%p", arg); | 57 TRACE_ENTRY("%p", arg); |
58 | 58 |
59 fd_log_threadname ( "fDpy" ); | 59 fd_log_threadname ( "fDpy" ); |
60 | 60 |
61 CHECK_FCT_DO(fd_wait_initialization_complete(), goto end); | 61 CHECK_FCT_DO(fd_core_waitstartcomplete(), goto end); |
62 | 62 |
63 fd_log_debug("\nStarting interactive python interpreter [experimental].\n"); | 63 fd_log_debug("\nStarting interactive python interpreter [experimental].\n"); |
64 if (!arg) | 64 if (!arg) |
65 fd_log_debug("Example syntax:\n >>> print cvar.fd_g_config.cnf_diamid\n '%s'\n", fd_g_config->cnf_diamid); | 65 fd_log_debug("Example syntax:\n >>> print cvar.fd_g_config.cnf_diamid\n '%s'\n", fd_g_config->cnf_diamid); |
66 Py_Main(arg ? 2 : 1, dum); | 66 Py_Main(arg ? 2 : 1, dum); |