MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / op_id_2_string

Function op_id_2_string

route.c:565–594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563
564
565static inline const char *op_id_2_string(int op_id)
566{
567 switch (op_id) {
568 case EQUAL_OP:
569 return "EQUAL";
570 case MATCH_OP:
571 return "REGEXP_MATCH";
572 case NOTMATCH_OP:
573 return "REGEXP_NO_MATCH";
574 case MATCHD_OP:
575 return "DYN_REGEXP_MATCH";
576 case NOTMATCHD_OP:
577 return "DYN_REGEXP_NO_MATCH";
578 case GT_OP:
579 return "GREATER_THAN";
580 case LT_OP:
581 return "LESS_THAN";
582 case GTE_OP:
583 return "GREATER_OR_EQUAL";
584 case LTE_OP:
585 return "LESS_OR_EQUAL";
586 case DIFF_OP:
587 return "DIFFERENT_THAN";
588 case VALUE_OP:
589 return "VALUE";
590 case NO_OP:
591 default:
592 return "NONE";
593 }
594}
595
596
597static inline const char *expr_type_2_string(int expr_type)

Callers 1

comp_scriptvarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected