Changeset 235:8773740401a5 in freeDiameter for libfreeDiameter/init.c
- Timestamp:
- Mar 5, 2010, 7:01:48 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfreeDiameter/init.c
r14 r235 36 36 #include "libfD.h" 37 37 38 int fd_lib_init(void) 38 /* Initialize library variables and threads */ 39 int fd_lib_init(int support_signals) 39 40 { 40 41 int ret = 0; … … 47 48 } 48 49 50 /* Initialize signals if requested */ 51 if (support_signals) { 52 CHECK_FCT( fd_sig_init() ); 53 } 54 49 55 /* Initialize the modules that need it */ 50 56 fd_msg_eteid_init(); … … 53 59 return 0; 54 60 } 61 62 /* Stop all threads created in the library */ 63 void fd_lib_fini(void) 64 { 65 fd_sess_fini(); 66 fd_sig_fini(); 67 }
Note: See TracChangeset
for help on using the changeset viewer.