Changeset 641:69d3579f6c6c in freeDiameter
- Timestamp:
- Dec 21, 2010, 10:29:46 AM (13 years ago)
- Branch:
- default
- Phase:
- public
- Tags:
- 1.0.3-rc3
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/debian/changelog
r639 r641 1 1 freediameter (1.0.3) UNRELEASED; urgency=low 2 2 3 * Added parameters to fd_disp_register and fd_sess_handler_create,4 Bumped API version number accordingly.5 3 * Fixed a couple of issues for portability (#21, #22, #23) 6 4 * Fixed issue with ListenOn bit ordering (#20) 7 5 * Added dictionary support for MIPv6 application objects. 8 6 * Added dictionary support for legacy XML files. 9 * Added new debug extension based on python (experimental). 7 * Added python interface dbg_interactive (experimental). 8 * Added parameters to fd_disp_register() and fd_sess_handler_create(), 9 Bumped API version number accordingly. 10 10 11 11 -- Sebastien Decugis <sdecugis@nict.go.jp> Tue, 14 Dec 2010 11:39:29 +0900 -
doc/dbg_interactive.py.sample
r640 r641 648 648 649 649 # Get the list of peers defined in the system 650 # (well, we are supposed actually to readlock fd_g_peers_rw before doing this, but it should be fine most of the time) 650 # (we are supposed to readlock fd_g_peers_rw before accessing this list) 651 cvar.fd_g_peers_rw.rdlock() 651 652 peers = cvar.fd_g_peers.enum_as("struct peer_hdr *") 653 cvar.fd_g_peers_rw.unlock() 652 654 for p in peers: 653 655 print "Peer:", p.info.pi_diamid … … 727 729 728 730 731 732 ############# POSIX functions wrappers ############ 733 734 # The interface also provides wrappers around base POSIX 735 # synchronization functions: 736 737 m = pthread_mutex_t() 738 m.lock() 739 m.unlock() 740 741 c = pthread_cond_t() 742 c.signal() 743 c.broadcast() 744 c.wait(m) 745 c.timedwait(m, 5) # it takes a relative time 746 747 r = pthread_rwlock_t() 748 r.rdlock() 749 r.unlock() 750 r.wrlock() -
extensions/dbg_interactive/CMakeLists.txt
r640 r641 28 28 events.i 29 29 endpoints.i 30 posix.i 30 31 ) 31 32 SET_SOURCE_FILES_PROPERTIES(dbg_interactive.i PROPERTIES SWIG_MODULE_NAME fDpy) -
extensions/dbg_interactive/dbg_interactive.i
r640 r641 178 178 %include "events.i" 179 179 %include "endpoints.i" 180 181 %include "posix.i"
Note: See TracChangeset
for help on using the changeset viewer.