/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | CSrvDereg.java | 55 Vector scopes, 70 this.initialize(locale, url, scopes, tags, auth); 78 Vector scopes, 87 hdr.scopes = (Vector)scopes.clone(); 101 // Escape scopes. 103 hdr.escapeScopeStrings(scopes); 105 // Parse out the scopes. 107 hdr.parseCommaSeparatedListOut(scopes, baos); 53 CSrvDereg(Locale locale, ServiceURL url, Vector scopes, Vector tags, Hashtable auth) argument 76 initialize(Locale locale, ServiceURL url, Vector scopes, Vector tags, Hashtable auth) argument
|
H A D | CAttrMsg.java | 98 CAttrMsg(Locale locale, ServiceURL url, Vector scopes, Vector tags) argument 103 constructPayload(url.toString(), scopes, tags); 110 CAttrMsg(Locale locale, ServiceType type, Vector scopes, Vector tags) argument 115 constructPayload(type.toString(), scopes, tags); 122 Vector scopes, 127 hdr.scopes = (Vector)scopes.clone(); 141 hdr.escapeScopeStrings(scopes); 143 // Parse out the scopes. 145 hdr.parseCommaSeparatedListOut(scopes, bao 121 constructPayload(String typeOrURL, Vector scopes, Vector tags) argument [all...] |
H A D | CSrvReg.java | 57 Vector scopes, 100 scopes, 112 Vector scopes, 121 hdr.scopes = (Vector)scopes.clone(); 142 hdr.escapeScopeStrings(scopes); 146 hdr.parseCommaSeparatedListOut(scopes, baos); 54 CSrvReg(boolean fresh, Locale locale, ServiceURL urlEntry, Vector scopes, Vector attrs, Hashtable URLSignatures, Hashtable attrSignatures) argument 109 initialize(boolean fresh, Locale locale, ServiceURL urlEntry, Vector scopes, Vector attrs, Hashtable URLSignatures, Hashtable attrSignatures) argument
|
H A D | CSrvTypeMsg.java | 108 CSrvTypeMsg(Locale locale, String na, Vector scopes) argument 114 hdr.scopes = (Vector)scopes.clone(); 151 hdr.escapeScopeStrings(scopes); 155 hdr.parseCommaSeparatedListOut(scopes, baos);
|
H A D | Locator.java | 41 * services, scopes, and service instances, and to query about attributes 67 * @param scopes The SLP scopes of the types. 77 Vector scopes) 86 * @param scopes The SLP scopes of the service types. 97 Vector scopes, 106 * @param scopes The SLP scopes of the service. 126 Vector scopes, 76 findServiceTypes(String namingAuthority, Vector scopes) argument 96 findServices(ServiceType type, Vector scopes, String query) argument 125 findAttributes(ServiceURL URL, Vector scopes, Vector attributeIds) argument 154 findAttributes(ServiceType type, Vector scopes, Vector attributeIds) argument [all...] |
H A D | SDAAdvert.java | 53 Vector scopes, 78 this.initialize(timestamp, url, scopes, attrs); 88 Vector scopes, 93 hdr.scopes = (Vector)scopes.clone(); 116 DATable.validateScopes(scopes, hdr.locale); 117 hdr.scopes = (Vector)scopes; 121 hdr.escapeScopeStrings(scopes); 141 hdr.parseCommaSeparatedListOut(scopes, bao 49 SDAAdvert(SrvLocHeader hdr, short xid, long timestamp, ServiceURL url, Vector scopes, Vector attrs) argument 86 initialize(long timestamp, ServiceURL url, Vector scopes, Vector attrs) argument [all...] |
H A D | SLPV1SDAAdvert.java | 54 Vector scopes, 58 super(hdr, xid, timestamp, url, scopes, attrs); 66 Vector scopes, 75 int i, n = scopes.size(); 78 hdr.validateScope((String)scopes.elementAt(i)); 90 scopes.size() <= 1 && 91 scopes.contains(Defaults.DEFAULT_SCOPE)) { 92 scopes.removeAllElements(); 106 hdr.parseCommaSeparatedListOut(scopes, baos); 114 " scopes 50 SLPV1SDAAdvert(SrvLocHeader hdr, short xid, long timestamp, ServiceURL url, Vector scopes, Vector attrs) argument 64 initialize(long timestamp, ServiceURL url, Vector scopes, Vector attrs) argument [all...] |
H A D | SSAAdvert.java | 56 Vector scopes, 72 this.initialize(url, scopes, attrs); 77 void initialize(ServiceURL url, Vector scopes, Vector attrs) argument 95 DATable.validateScopes(scopes, hdr.locale); 96 hdr.scopes = (Vector)scopes.clone(); 100 hdr.escapeScopeStrings(scopes); 116 hdr.parseCommaSeparatedListOut(scopes, baos); 52 SSAAdvert(int version, short xid, Locale locale, ServiceURL url, Vector scopes, Vector attrs) argument
|
H A D | CSrvMsg.java | 115 Vector scopes, 119 this.initialize(locale, serviceType, scopes, query); 128 Vector scopes, 134 hdr.scopes = (Vector)scopes.clone(); 146 hdr.escapeScopeStrings(scopes); 162 // Write out scopes. 164 hdr.parseCommaSeparatedListOut(scopes, baos); 113 CSrvMsg(Locale locale, ServiceType serviceType, Vector scopes, String query) argument 126 initialize(Locale locale, ServiceType serviceType, Vector scopes, String query) argument
|
H A D | SunDATable.java | 45 * a filter for the scopes formatted as: 47 * "(&(|(scopes=<scope1>)(scopes=<scope2>)(scopes=<scope3>)...)(version=2))" 52 * DA IP address in the host field and a list of scopes in the URL 55 * service:directory-agent.sun:// 199.200.200.5/scopes=eng, corp, freeb 57 * The DA/scope table is initially obtained for all scopes in the 67 // The scopes identifier. 75 // The scopes which reside on the SA only. 89 * DAs and scopes an 126 findDAScopes(Vector scopes) argument 207 removeDA(InetAddress address, Vector scopes) argument 253 getWireTable(Vector scopes, int version) argument 272 getSrvReply(Vector scopes, int version) argument [all...] |
H A D | DATable.java | 58 // SA only scopes property. 62 // Hashtable key for multicast scopes. 71 * A record for all DAs supporting exactly the same set of scopes. 79 // The scopes supported. 81 Vector scopes = null; // String scope names field in class:DATable.DARecord 90 * MULTICAST_KEY - Vector of scopes from the incoming vector that are not 94 * equivalence classes of DAs that all support the same set of scopes. 95 * Only DAs supporting one or more scopes in the incoming vector 99 * set of scopes are mutually exclusive. For example, if DA1 supports 100 * scopes 109 findDAScopes(Vector scopes) argument 120 removeDA(InetAddress address, Vector scopes) argument 256 filterScopes(Vector scopes, Vector filter, boolean inVector) argument 281 addToEquivClass(String daaddr, Vector scopes, Vector ret) argument 359 validateScopes(Vector scopes, Locale locale) argument [all...] |
H A D | SLPServerHeaderV2.java | 279 hdr.scopes = null; 302 " scopes=``" + scopes + "''\n" + 319 scopes = parseCommaSeparatedListIn(buf.toString(), true); 323 unescapeScopeStrings(scopes); 327 DATable.validateScopes(scopes, locale); 349 Vector scopes, 353 // If scopes vector is null, then return all scopes for this 356 if (scopes 346 getDAAdvert(short xid, long timestamp, ServiceURL url, Vector scopes, Vector attrs) argument [all...] |
H A D | SunServerDATable.java | 46 * attribute, scopes. The attribute contains a list of scopes supported 48 * DA address as the host, followed by the list of scopes as an attribute 51 * service:directory-agent.sun:// 199.200.200.5/scopes=eng, corp, freeb 53 * The scopes of the registration are the scopes provided as the Sun-specific 87 // Get the vector of SA scopes. 101 * @param scopes The scopes. 114 Vector scopes, 113 recordNewDA(ServiceURL url, Vector scopes, long timestamp, int version, Vector attrs, String spis) argument 246 removeDA(InetAddress address, Vector scopes) argument 326 findDAScopes(Vector scopes) argument [all...] |
H A D | ServerDATable.java | 44 * the same scopes. A variety of implementations are possible. 112 // Advertise for *all* scopes. This is because we need to 135 * @param scopes The scopes. 144 Vector scopes, 152 * URL's as keys, scopes as values) for DAs matching the query. 162 * scopes. 211 // Get a hashtable of DAs that match the scopes in the message. 213 Hashtable daScopeRec = findDAScopes(hdr.scopes); 290 if (removeDA(addr, hdr.scopes)) { 143 recordNewDA(ServiceURL url, Vector scopes, long timestamp, int version, Vector attrs, String spis) argument 365 forwardRegistrations(ServiceURL url, Vector scopes, long timestamp, int version) argument [all...] |
H A D | ServiceStore.java | 68 * Key for fetching hashtable of service URLs v.s. scopes values from 116 * Return the Vector of scopes in which this record is registered. 118 * @return The Vector of scopes in which this record is registered. 184 * @param scopes Vector of scopes in which this record is registered. 196 Vector scopes, Locale locale, 203 * and locale deregistered, regardless of the number of scopes in 208 * @param scopes Vector of scopes. 217 void deregister(ServiceURL url, Vector scopes, Hashtabl argument 195 register(ServiceURL url, Vector attrs, Vector scopes, Locale locale, Hashtable urlSig, Hashtable attrSig) argument 234 updateRegistration(ServiceURL url, Vector attrs, Vector scopes, Locale locale) argument 258 deleteAttributes(ServiceURL url, Vector scopes, Vector attrTags, Locale locale) argument 279 findServiceTypes(String namingAuthority, Vector scopes) argument 312 findServices(String serviceType, Vector scopes, String query, Locale locale) argument 344 findAttributes(ServiceURL url, Vector scopes, Vector attrTags, Locale locale) argument 372 findAttributes(String serviceType, Vector scopes, Vector attrTags, Locale locale) argument 404 getServiceRecordsByScope(Vector scopes) argument [all...] |
H A D | UARequester.java | 93 * @param scopes The SLP scopes of the types. 103 findServiceTypes(String NA, Vector scopes) argument 107 Assert.nonNullParameter(scopes, "scopes"); 115 scopes); 147 * @param scopes The SLP scopes of the service types. 158 findServices(ServiceType type, Vector scopes, String query) argument 162 Assert.nonNullParameter(scopes, "scope 237 findAttributes(ServiceURL URL, Vector scopes, Vector attributeIds) argument 340 findAttributes(ServiceType type, Vector scopes, Vector attributeIds) argument 411 createMessages(int msgType, Object t1, Object t2, ServiceType type, Vector scopes) argument [all...] |
H A D | SLPHeaderV1.java | 465 hdr.scopes = null; 490 " scopes=``" + scopes + "''\n" + 835 Vector scopes, 839 // If scopes vector is null, then return all scopes for this 842 if (scopes.size() <= 0) { 843 scopes = SLPConfig.getSLPConfig().getSAConfiguredScopes(); 847 return new SLPV1SDAAdvert(this, xid, timestamp, url, scopes, attrs); 832 getDAAdvert(short xid, long timestamp, ServiceURL url, Vector scopes, Vector attrs) argument
|
H A D | ServiceTable.java | 288 Vector scopes = rec.getScopes(); 305 scopes, 311 // is needed. This creates the auth blocks for the scopes. 336 store.register(surl, attrs, scopes, locale, urlSig, attrSig); 357 scopes}); 509 Vector scopes = hdr.scopes; 572 // Check if scopes are supported. 574 if (!areSupportedScopes(scopes)) { 628 scopes, 1282 areSupportedScopes(Vector scopes) argument 1401 makeDAAdvert(SrvLocHeader hdr, InetAddress daAddr, short xid, Vector scopes, SLPConfig config) argument [all...] |
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | DAAdvert.c | 39 SLPError slp_unpackDAAdvert(char *reply, char **surl, char **scopes, argument 50 *surl = *scopes = *attrs = *spis = NULL; 82 /* scopes */ 85 if ((err = slp_get_string(reply, len, &off, scopes)) != SLP_OK) { 124 if (*scopes) free (*scopes);
|
H A D | SAAdvert.c | 30 * SAAdverts are used internally by libslp to discover scopes in the 31 * absence of configured scopes and scopes found by active and 41 char **scopes, char **attrs) { 50 *surl = *scopes = *attrs = NULL; 66 if ((err = slp_get_string(reply, len, &off, scopes)) != SLP_OK) { 97 if (*scopes) free(*scopes); 40 slp_unpackSAAdvert(char *reply, char **surl, char **scopes, char **attrs) argument
|
H A D | slp_ua_common.c | 50 SLPError slp_ua_common(SLPHandle hSLP, const char *scopes, argument 64 if ((err = slp_new_target_list(hp, scopes, &targets)) != SLP_OK)
|
H A D | SLPFindAttrs.c | 199 char *surl, *scopes, *attrs, *spis; local 218 if (slp_unpackDAAdvert(reply, &surl, &scopes, &attrs, &spis, &errCode) 237 free(scopes); 256 char *surl, *scopes, *attrs; local 274 if (slp_unpackSAAdvert(reply, &surl, &scopes, &attrs) != SLP_OK) { 289 free(scopes); 321 * 4: scopes length 322 * 5: scopes (filled in later by networking code) 355 /* set up the scopes and prlist pointers into iov */ 357 msg->scopes 398 slp_packAttrRqst_single(const char *url, const char *scopes, const char *ids, char **msg, const char *lang) argument [all...] |
H A D | SLPFindSrvs.c | 227 char *surl, *scopes, *attrs, *spis; local 242 if (slp_unpackDAAdvert(reply, &surl, &scopes, &attrs, &spis, &errCode) 263 free(scopes); 285 char *surl, *scopes, *attrs; local 300 if (slp_unpackSAAdvert(reply, &surl, &scopes, &attrs) != SLP_OK) { 317 free(scopes); 350 * 4: scopes length 351 * 5: scopes (filled in later by networking code) 384 /* set up the scopes and prlist pointers into iov */ 386 msg->scopes 429 slp_packSrvRqst_single(const char *type, const char *scopes, const char *filter, char **msg, const char *lang) argument [all...] |
H A D | SLPReg.c | 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) { argument 401 packSrvDereg(slp_handle_impl_t *hp, const char *url, const char *scopes, const char *attrs, struct reg_msg **msg) argument [all...] |
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_discovery.c | 94 char *scopes; /* A list of scopes to use */ member in struct:config_cookie 333 err = SLPFindAttrs(h, u, cfg->scopes, "", aggregate_attrs, cookie); 410 err = SLPFindSrvs(h, cookie->type, cookie->scopes, 500 cookie->scopes = scope;
|