server/modules/selva/module/subscriptions.c
static int inhibitMarkerEvent(const Selva_NodeId node_id, const struct Selva_SubscriptionMarker *marker) {
    /*
     * SELVA_SUBSCRIPTION_FLAG_REF inhibits an event when node_id matches to the
     * root node_id of the marker.
     */
    if ((marker->marker_flags & (SELVA_SUBSCRIPTION_FLAG_REF | SELVA_SUBSCRIPTION_FLAG_TRIGGER)) == SELVA_SUBSCRIPTION_FLAG_REF &&
        !memcmp(node_id, marker->node_id, SELVA_NODE_ID_SIZE)) {
        return 1;
    }

    return 0;
}
/**
 * Inhibit a marker event.
 * Return true if no event should be sent for node_id by this marker.
 */
Inhibit a marker event.
Return true if no event should be sent for node_id by this marker.
Inhibit a marker event . Return true if no event should be sent for node_id by this marker .
static int inhibitMarkerEvent(const Selva_NodeId node_id, const struct Selva_SubscriptionMarker *marker) {
    if ((marker->marker_flags & (SELVA_SUBSCRIPTION_FLAG_REF | SELVA_SUBSCRIPTION_FLAG_TRIGGER)) == SELVA_SUBSCRIPTION_FLAG_REF &&
        !memcmp(node_id, marker->node_id, SELVA_NODE_ID_SIZE)) {
        return 1;
    }
    return 0;
}
static int inhibitMarkerEvent ( const Selva_NodeId node_id , const struct Selva_SubscriptionMarker * marker ) { if ( ( marker -> marker_flags & ( SELVA_SUBSCRIPTION_FLAG_REF | SELVA_SUBSCRIPTION_FLAG_TRIGGER ) ) == SELVA_SUBSCRIPTION_FLAG_REF && ! memcmp ( node_id , marker -> node_id , SELVA_NODE_ID_SIZE ) ) { return 1 ; } return 0 ; }
Inhibit a marker event.
Inhibit a marker event .
/*
     * SELVA_SUBSCRIPTION_FLAG_REF inhibits an event when node_id matches to the
     * root node_id of the marker.
     */