MCPcopy Create free account
hub / github.com/F-Stack/f-stack / login_str2inlist

Function login_str2inlist

tools/libutil/login_ok.c:70–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 */
69
70int
71login_str2inlist(const char **ttlst, const char *str1, const char *str2, int flags)
72{
73 int rc = 0;
74
75 if (login_strinlist(ttlst, str1, flags))
76 rc = 1;
77 else if (login_strinlist(ttlst, str2, flags))
78 rc = 1;
79 return rc;
80}
81
82
83/*

Callers 2

login_ttyokFunction · 0.85
login_hostokFunction · 0.85

Calls 1

login_strinlistFunction · 0.85

Tested by

no test coverage detected