Federated Naming Service Programming Guide

Search Control

The FN_search_control_t object encapsulates the different options that the application can specify in controlling the scope and the return values of the extended search operation, fn_attr_ext_search() .

These options are:

Table 2-5 Different Scopes for Searching

Scope 

Meaning 

FN_SEARCH_NAMED_OBJECT

Search just the given named object. 

FN_SEARCH_ONE_CONTEXT

Search just the given context. 

FN_SEARCH_SUBTREE

Search given context and all its subcontexts. 

FN_SEARCH_CONSTRAINED_SUBTREE

Search given context and its subcontexts as constrained by the context-specific policy in place at the named context.