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

Function trim

trim.h:102–106  ·  view source on GitHub ↗

! \brief * Do trim_leading and trim_trailing * * WARNING: String structure will be modified ! * Make a copy otherwise you might be * unable to free _s->s for example ! */

Source from the content-addressed store, hash-verified

100 * unable to free _s->s for example !
101 */
102static inline void trim(str* _s)
103{
104 trim_leading(_s);
105 trim_trailing(_s);
106}
107
108
109#endif /* TRIM_H */

Callers 15

pv_parse_sdp_nameFunction · 0.85
tr_eval_stringFunction · 0.85
tr_parse_stringFunction · 0.85
tr_parse_uriFunction · 0.85
tr_parse_viaFunction · 0.85
tr_parse_paramlistFunction · 0.85
tr_parse_nameaddrFunction · 0.85
tr_parse_csvFunction · 0.85
tr_parse_sdpFunction · 0.85
tr_parse_ipFunction · 0.85
tr_parse_reFunction · 0.85

Calls 2

trim_leadingFunction · 0.85
trim_trailingFunction · 0.85

Tested by

no test coverage detected