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

Function skip_token

parser/parse_event.c:79–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78
79static inline char* skip_token(char* _b, int _l)
80{
81 int i = 0;
82
83 for(i = 0; i < _l; i++) {
84 switch(_b[i]) {
85 case ' ':
86 case '\r':
87 case '\n':
88 case '\t':
89 case ';':
90 return _b + i;
91 }
92 }
93
94 return _b + _l;
95}
96
97
98int event_parser(char* _s, int _l, event_t* _e)

Callers 1

event_parserFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected