Mercurial > hg > freeDiameter
diff include/freeDiameter/freeDiameter.h @ 628:e1c6f45f5fcd
Improvements to usability, still work ongoing
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Tue, 14 Dec 2010 11:53:48 +0900 |
parents | 04dbea46c7a2 |
children | 237cf6339546 |
line wrap: on
line diff
--- a/include/freeDiameter/freeDiameter.h Tue Dec 14 11:53:24 2010 +0900 +++ b/include/freeDiameter/freeDiameter.h Tue Dec 14 11:53:48 2010 +0900 @@ -675,6 +675,17 @@ const char * fd_ev_str(int event); +/* The following function does not really use events, but it may be used +by extensions that need to start an action when the framework is fully initialized. +This function will block until all initializations are performed in the daemon. +It is meant to be used as follow by extensions: + - in initialization callback, create a new thread. + - this new thread calls this function. + - when the function returns, the thread can start working and using all framework features. +*/ +int fd_wait_initialization_complete(void); + + /***************************************/ /* Endpoints lists helpers */ /***************************************/