| 160 | char *generate_transition_key(int action, int transition_id, int target_rc, const char *node); |
| 161 | |
| 162 | static inline long long |
| 163 | crm_clear_bit(const char *function, const char *target, long long word, long long bit) |
| 164 | { |
| 165 | long long rc = (word & ~bit); |
| 166 | |
| 167 | if(rc == word) { |
| 168 | /* Unchanged */ |
| 169 | } else if (target) { |
| 170 | crm_trace("Bit 0x%.8llx for %s cleared by %s", bit, target, function); |
| 171 | } else { |
| 172 | crm_trace("Bit 0x%.8llx cleared by %s", bit, function); |
| 173 | } |
| 174 | |
| 175 | return rc; |
| 176 | } |
| 177 | |
| 178 | static inline long long |
| 179 | crm_set_bit(const char *function, const char *target, long long word, long long bit) |
no outgoing calls
no test coverage detected