432 |
* @param name A service name as stated in the config file |
* @param name A service name as stated in the config file |
433 |
* @return the named service or NULL if not found |
* @return the named service or NULL if not found |
434 |
*/ |
*/ |
435 |
Service_T get_service(char *name) { |
Service_T get_service(const char *name) { |
436 |
|
|
437 |
Service_T s; |
Service_T s; |
438 |
|
|
454 |
* @return TRUE if the service name exist in the |
* @return TRUE if the service name exist in the |
455 |
* servicelist, otherwise FALSE |
* servicelist, otherwise FALSE |
456 |
*/ |
*/ |
457 |
int exist_service(char *name) { |
int exist_service(const char *name) { |
458 |
|
|
459 |
Service_T s; |
Service_T s; |
460 |
|
|