232. SLP

Access to SLP Agent functions

232.1. Authors

  • Anas Nashif <nashif@suse.de>

232.2. Summary of Module Globals

List of Global Functions

  • AttrSummary - Attribute summary

  • DeReg - Deregister service with SLP

  • DeRegFile - De-Register service with SLP by removing the reg file

  • FindAttrs - Find attributes of a service

  • FindSrvTypes - Issues an SLP service type request for service types in the scopes indicated by the pcScopeList.

  • FindSrvs - Issue the query for services

  • GetAttrMap - Find attributes of a service and return a map

  • GetUnicastAttrMap - Find attributes (using unicast query) of a service and return a map

  • MatchType - Match Srv Type and return all data

  • Reg - Register service with SLP

  • RegFile - Register service with SLP using a reg file

  • UnicastFindAttrs - Find attributes of a service using a unicast query

List of Global Variables

    232.3. Global Functions

    232.3.1. AttrSummary

    Attribute summary

    Function parameters

    • list<string> Attrs

    Return value

    • string - summary

    232.3.2. DeReg

    Deregister service with SLP

    Function parameters

    • string service

    Return value

    • boolean - True on success

    232.3.3. DeRegFile

    De-Register service with SLP by removing the reg file

    Function parameters

    • string regfile

    Return value

    • boolean - True on success

    232.3.4. FindAttrs

    Find attributes of a service

    Function parameters

    • string pcURLOrServiceType

    Return value

    • list<string> - attributes

    232.3.5. FindSrvTypes

    Issues an SLP service type request for service types in the scopes indicated by the pcScopeList.

    Function parameters

    • string pcNamingAuthority

    • string pcScopeList

    Return value

    • list<string> - Service Types

    232.3.6. FindSrvs

    Issue the query for services

    Function parameters

    • string pcServiceType

    • string pcScopeList

    Return value

    • list<map> - List of Services

    232.3.7. GetAttrMap

    Find attributes of a service and return a map

    Function parameters

    • string pcURLOrServiceType

    Return value

    • map<string,string> - attributes

    232.3.8. GetUnicastAttrMap

    Find attributes (using unicast query) of a service and return a map

    Function parameters

    • string pcURLOrServiceType

    • string ip

    Return value

    • map<string,string> - attributes

    232.3.9. MatchType

    Match Srv Type and return all data

    Function parameters

    • string match

    Return value

    • list<map> - list of services matching with all relevant data

    232.3.10. Reg

    Register service with SLP

    Function parameters

    • string service

    Return value

    • boolean - True on success

    232.3.11. RegFile

    Register service with SLP using a reg file

    Function parameters

    • string service

    • map<string,string> attr

    • string regfile

    Return value

    • boolean - True on Success

    232.3.12. UnicastFindAttrs

    Find attributes of a service using a unicast query

    Function parameters

    • string pcURLOrServiceType

    • string ip

    Return value

    • list<string> - attributes

    232.4. Global Variables

    232.5. Module Requirements

    232.5.1. Module Imports

    • HTML
    • Summary

    232.5.2. Module Includes