| 3 | #include <common/plugin.h> |
| 4 | |
| 5 | bool is_asterix_notification(const char *notification_name, const char *subscription) |
| 6 | { |
| 7 | bool is_special; |
| 8 | /* Asterisk is magic "all", and log notification |
| 9 | * is a special notification that must be turn on |
| 10 | * only if requested. */ |
| 11 | is_special = streq(subscription, "*") && !streq(notification_name, "log"); |
| 12 | if (is_special) |
| 13 | return true; |
| 14 | return false; |
| 15 | } |
no outgoing calls
no test coverage detected