Lines Matching refs:ppcScopes
64 SLPError SLPFindScopes(SLPHandle hSLP, char **ppcScopes) { in SLPFindScopes() argument
70 if (!hSLP || !ppcScopes) { in SLPFindScopes()
75 if ((err = slp_administrative_scopes(ppcScopes, SLP_FALSE)) in SLPFindScopes()
80 if (*ppcScopes) { in SLPFindScopes()
117 if (!(*ppcScopes = strdup("default"))) { in SLPFindScopes()
125 slp_twalk(stree, collect_scopes, 0, (void *) ppcScopes); in SLPFindScopes()
128 if ((err = slp_unescape(*ppcScopes, &unesc_reply, SLP_FALSE, '%')) in SLPFindScopes()
130 free(*ppcScopes); in SLPFindScopes()
131 *ppcScopes = unesc_reply; in SLPFindScopes()
147 SLPError slp_administrative_scopes(char **ppcScopes, in slp_administrative_scopes() argument
151 *ppcScopes = NULL; in slp_administrative_scopes()
158 if (!(*ppcScopes = strdup(useScopes))) { in slp_administrative_scopes()
166 if (return_default && !(*ppcScopes = strdup("default"))) { in slp_administrative_scopes()