YaST2 Developers Documentation: SLP Browser / Agent



functions
files
intro

SLP Browser / Agent

modules/SLP.ycp
Access to SLP Agent functions

Imports

  • HTML
  • Summary

Global Functions

global FindSrvs (string pcServiceType, string pcScopeList) -> list<map>

Issue the query for services

Parameters:
pcServiceType
pcScopeList
Return value:
List of Services

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:
Service Types

global FindAttrs (string pcURLOrServiceType) -> list<string>

Find attributes of a service

Parameters:
pcURLOrServiceType
Return value:
attributes

global GetAttrMap (string pcURLOrServiceType) -> map<string,string>

Find attributes of a service and return a map

Parameters:
pcURLOrServiceType
Return value:
attributes

global AttrSummary (list<string> Attrs) -> string

Attribute summary @param list attribute list @result string summary

Parameters:
Attrs

global Reg (string service) -> boolean

Register service with SLP

Parameters:
service

global DeReg (string service) -> boolean

Deregister service with SLP

Parameters:
service

global RegFile (string service, map<string,string> attr, string regfile) -> boolean

Register service with SLP using a reg file

Parameters:
service
attr
regfile

global DeRegFile (string regfile) -> boolean

De-Register service with SLP by removing the reg file

Parameters:
regfile

global MatchType (string match) -> list<map>

Match Srv Type and return all data

Parameters:
match
Return value:
list of services matching with all relevant data

YaST2 Developers Documentation