Changeset 1176:f0b328ea2fdb in freeDiameter
- Timestamp:
- Jun 3, 2013, 3:18:43 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/dbg_interactive.py.sample
r1169 r1176 665 665 ############# HOOKS ############ 666 666 667 # TODO 667 def my_hook_cb(type, msg, peer, other, oldpmd): 668 print "callback type ", type, " called: ", msg, other, oldpmd 669 return "this is the new pmd" 670 671 # Create a wrapped fd_hook_data_hdl: 672 datahdl = fd_hook_data_hdl() 673 674 # Register the hook callback: 675 hdl = fd_hook_hdl(1 << HOOK_MESSAGE_SENT, my_hook_cb, datahdl) 676 677 678 668 679 669 680 ############# PEERS ############ -
extensions/dbg_interactive/CMakeLists.txt
r882 r1176 30 30 endpoints.i 31 31 posix.i 32 hooks.i 32 33 ) 33 34 SET_SOURCE_FILES_PROPERTIES(dbg_interactive.i PROPERTIES SWIG_MODULE_NAME fDpy) -
extensions/dbg_interactive/dbg_interactive.i
r1169 r1176 205 205 %include "events.i" 206 206 %include "endpoints.i" 207 %include "hooks.i" 207 208 208 209 %include "posix.i"
Note: See TracChangeset
for help on using the changeset viewer.