Lines Matching defs:context
37 * 2. For each context, find all servers which serve that context
42 * is one config object associated with each context found in
44 * 5. Update the global config cache for each found context and its
60 * to the 'domain' parameter. 'domain' will be a naming context
87 #define CONTEXT_ATTR "naming-context"
357 static void update_config(const char *context, struct config_cookie *cookie) {
364 /* Unescape the naming context string */
365 if ((err = SLPUnescape(context, &unesc_domain, SLP_FALSE)) != SLP_OK) {
369 context, slp_strerror(err));
388 (void) logit("discovery: found naming context %s\n", context);
391 /* (re)construct the search filter form the input context */
393 strlen(context) +
399 (void) sprintf(search, "(%s=%s)", cookie->context_attr, context);
401 /* Find all servers which serve this context */
431 * The SLP callback routine for find_all_contexts(). For each context
445 * Parse out each context. Attrs will be of the following form:
446 * (naming-context=dc\3deng\2c dc\3dsun\2c dc\3dcom)