Search config name in pre monitor config name array, return 1 if found, * 0 if not found. */
| 1793 | /* Search config name in pre monitor config name array, return 1 if found, |
| 1794 | * 0 if not found. */ |
| 1795 | int searchPreMonitorCfgName(const char *name) { |
| 1796 | for (unsigned int i = 0; i < sizeof(preMonitorCfgName)/sizeof(preMonitorCfgName[0]); i++) { |
| 1797 | if (!strcasecmp(preMonitorCfgName[i],name)) return 1; |
| 1798 | } |
| 1799 | return 0; |
| 1800 | } |
| 1801 | |
| 1802 | /* free method for sentinelLoadQueueEntry when release the list */ |
| 1803 | void freeSentinelLoadQueueEntry(void *item) { |
no test coverage detected