Add destruction of listeners

The listeners aren't really destroyed and are only stopped. Further
changes are required so that they won't be started again once they have
been destroyed.
This commit is contained in:
Markus Makela
2016-11-25 14:48:11 +02:00
parent 6ea4e50f2c
commit 88677946f8
5 changed files with 85 additions and 5 deletions

View File

@ -262,13 +262,13 @@ bool serviceStop(SERVICE *service);
bool serviceStart(SERVICE *service);
/**
* @brief Start a listener for a service
* @brief Start new a listener for a service
*
* @param service Service where the listener is linked
* @param port Listener to start
* @return True if listener was started
*/
bool serviceStartListener(SERVICE *service, SERV_LISTENER *port);
bool serviceLaunchListener(SERVICE *service, SERV_LISTENER *port);
/**
* @brief Stop a listener for a service