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

Function str2facility

dprint.c:123–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121char ctime_buf[256];
122
123int str2facility(char *s)
124{
125 int i;
126
127 for( i=0; str_fac[i] ; i++) {
128 if (!strcasecmp(s,str_fac[i]))
129 return int_fac[i];
130 }
131 return -1;
132}
133
134
135int dp_my_pid(void)

Callers 3

parse_siptrace_syslogFunction · 0.85
parse_trace_syslog_levelFunction · 0.85
mod_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected