Lines Matching defs:scopes
133 static SLPError find_SAscopes(char **scopes);
280 /* type, scopes, and attrs */
402 const char *scopes, const char *attrs,
419 2 + strlen(scopes) +
446 /* scopes */
447 if ((err = slp_add_string(m, msgLen, scopes, &len)) != SLP_OK)
834 * Returns configured scopes in scopes. Caller should free *scopes
838 static SLPError find_SAscopes(char **scopes) {
841 if ((err = slp_administrative_scopes(scopes, SLP_TRUE))
847 if (strlen(*scopes) > SLP_MAX_STRINGLEN) {
849 if ((*scopes)[SLP_MAX_STRINGLEN - 1] == ',') {
850 /* scopes can't end with ',' */
851 (*scopes)[SLP_MAX_STRINGLEN - 1] = 0;
853 (*scopes)[SLP_MAX_STRINGLEN] = 0;