
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 |
The Service Type String, including authority string if
any, for the request, such as can be discovered using SLPSrvTypes().
This could be, for example "service:printer:lpr" or "service:nfs". |
pcScopeList |
comma separated list of scope names to search for
service types. |
- 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 |
The naming authority to search. |
pcScopeList |
comma separated list of scope names to search for
service types. |
- Return value:
global FindAttrs (string pcURLOrServiceType) -> list<string>
|
|
Find attributes of a service
- Parameters:
pcURLOrServiceType |
service url or type |
- Return value:
global GetAttrMap (string pcURLOrServiceType) -> map<string,string>
|
|
Find attributes of a service and return a map
- Parameters:
pcURLOrServiceType |
service url or type |
- Return value:
global AttrSummary (list<string> Attrs) -> string
|
|
Attribute summary
- Parameters:
- Return value:
global Reg (string service) -> boolean
|
|
Register service with SLP
- Parameters:
service |
Service to be registered |
- Return value:
global DeReg (string service) -> boolean
|
|
Deregister service with SLP
- Parameters:
service |
Service to be deregistered |
- Return value:
global RegFile (string service, map<string,string> attr, string regfile) -> boolean
|
|
Register service with SLP using a reg file
- Parameters:
service |
The service to be registered |
attr |
Attributes |
regfile |
Reg File |
- Return value:
global DeRegFile (string regfile) -> boolean
|
|
De-Register service with SLP by removing the reg file
- Parameters:
regfile |
The service to be deregistered |
- Return value:
global MatchType (string match) -> list<map>
|
|
Match Srv Type and return all data
- Parameters:
- Return value:
|
list of services matching with all relevant data |
|