| 912 | } |
| 913 | |
| 914 | void |
| 915 | print_resource(int log_level, const char *pre_text, resource_t * rsc, gboolean details) |
| 916 | { |
| 917 | long options = pe_print_log; |
| 918 | |
| 919 | if (rsc == NULL) { |
| 920 | do_crm_log(log_level - 1, "%s%s: <NULL>", |
| 921 | pre_text == NULL ? "" : pre_text, pre_text == NULL ? "" : ": "); |
| 922 | return; |
| 923 | } |
| 924 | if (details) { |
| 925 | options |= pe_print_details; |
| 926 | } |
| 927 | rsc->fns->print(rsc, pre_text, options, &log_level); |
| 928 | } |
| 929 | |
| 930 | void |
| 931 | pe_free_action(action_t * action) |
no outgoing calls
no test coverage detected