| 2854 | } |
| 2855 | |
| 2856 | static void clusterManagerRemoveNodeFromList(list *nodelist, |
| 2857 | clusterManagerNode *node) { |
| 2858 | listIter li; |
| 2859 | listNode *ln; |
| 2860 | listRewind(nodelist, &li); |
| 2861 | while ((ln = listNext(&li)) != NULL) { |
| 2862 | if (node == ln->value) { |
| 2863 | listDelNode(nodelist, ln); |
| 2864 | break; |
| 2865 | } |
| 2866 | } |
| 2867 | } |
| 2868 | |
| 2869 | /* Return the node with the specified name (ID) or NULL. */ |
| 2870 | static clusterManagerNode *clusterManagerNodeByName(const char *name) { |
no test coverage detected