
functions
files
intro
|
|
SLP Browser / Agent |
modules/SLP.ycp |
Access to SLP Agent functions |
|
|
|
global FindSrvs (string pcServiceType, string pcScopeList) -> list<map>
|
|
Issue the query for services
- Parameters:
pcServiceType |
|
pcScopeList |
|
- Return value:
global FindSrvTypes (string pcNamingAuthority, string pcScopeList) -> list<string>
|
|
Issues an SLP service type request for service types in the scopes
indicated by the pcScopeList. If the naming authority is "*", then
results are returned for all naming authorities. If the naming
authority is the empty string, i.e. "", then the default naming
authority, "IANA", is used.
- Parameters:
pcNamingAuthority |
|
pcScopeList |
|
- Return value:
global FindAttrs (string pcURLOrServiceType) -> list<string>
|
|
Find attributes of a service
- Parameters:
- Return value:
global GetAttrMap (string pcURLOrServiceType) -> map<string,string>
|
|
Find attributes of a service and return a map
- Parameters:
- Return value:
global AttrSummary (list<string> Attrs) -> string
|
|
Attribute summary
@param list attribute list
@result string summary
- Parameters:
global Reg (string service) -> boolean
|
|
Register service with SLP
- Parameters:
global DeReg (string service) -> boolean
|
|
Deregister service with SLP
- Parameters:
global RegFile (string service, map<string,string> attr, string regfile) -> boolean
|
|
Register service with SLP using a reg file
- Parameters:
global DeRegFile (string regfile) -> boolean
|
|
De-Register service with SLP by removing the reg file
- Parameters:
global MatchType (string match) -> list<map>
|
|
Match Srv Type and return all data
- Parameters:
- Return value:
|
|
|