RFC 2614 Service Location API June 1999 2.4. Processing Serialized Registration and Configuration Files . . . . . . . . . . . . . . . . . . . . . . . . 18 3. Binding Independent Implementation Considerations 18 3.1. Multithreading . . . . . . . . . . . . . . . . . . . . 18 3.2. Asynchronous and Incremental . . . . . . . . . . . . . 19 3.3. Type Checking for Service Types. . . . . . . . . . . . 19 3.4. Refreshing Registrations . . . . . . . . . . . . . . . 19 3.5. Configuration File Processing . . . . . . . . . . . . 19 3.6. Attribute Types . . . . . . . . . . . . . . . . . . . 20 3.7. Removal of Duplicates . . . . . . . . . . . . . . . . 20 3.8. Character Set Encoding . . . . . . . . . . . . . . . . 20 3.9. Error Semantics . . . . . . . . . . . . . . . . . . . 20 3.10. Modular Implementations . . . . . . . . . . . . . . . 24 3.11. Handling Special Service Types . . . . . . . . . . . . 24 3.12. Scope Discovery and Handling . . . . . . . . . . . . . 24 4. C Language Binding 25 4.1. Constant Types . . . . . . . . . . . . . . . . . . . . 26 4.1.1. URL Lifetimes. . . . . . . . . . . . . . . . . 26 4.1.2. Error Codes. . . . . . . . . . . . . . . . . . 26 4.1.3. SLPBoolean . . . . . . . . . . . . . . . . . . 27 4.2. Struct Types . . . . . . . . . . . . . . . . . . . . 28 4.2.1. SLPSrvURL . . . . . . . . . . . . . . . . . . 28 4.2.2. SLPHandle . . . . . . . . . . . . . . . . . . 29 4.3. Callbacks . . . . . . . . . . . . . . . . . . . . . . 29 4.3.1. SLPRegReport . . . . . . . . . . . . . . . . 30 4.3.2. SLPSrvTypeCallback . . . . . . . . . . . . . . 30 4.3.3. SLPSrvURLCallback . . . . . . . . . . . . . . 31 4.3.4. SLPAttrCallback . . . . . . . . . . . . . . . 33 4.4. Opening and Closing an SLPHandle . . . . . . . . . . . 34 4.4.1. SLPOpen. . . . . . . . . . . . . . . . . . . . 34 4.4.2. SLPClose . . . . . . . . . . . . . . . . . . . 35 4.5. Protocol API . . . . . . . . . . . . . . . . . . . . 36 4.5.1. SLPReg . . . . . . . . . . . . . . . . . . . . 36 4.5.2. SLPDereg . . . . . . . . . . . . . . . . . . . 37 4.5.3. SLPDelAttrs . . . . . . . . . . . . . . . . . 38 4.5.4. SLPFindSrvTypes. . . . . . . . . . . . . . . . 39 4.5.5. SLPFindSrvs . . . . . . . . . . . . . . . . . 41 4.5.6. SLPFindAttrs . . . . . . . . . . . . . . . . . 42 4.6. Miscellaneous Functions . . . . . . . . . . . . . . . 43 4.6.1. SLPGetRefreshInterval . . . . . . . . . . . . 44 4.6.2. SLPFindScopes . . . . . . . . . . . . . . . . 44 4.6.3. SLPParseSrvURL . . . . . . . . . . . . . . . . 45 4.6.4. SLPEscape . . . . . . . . . . . . . . . . . . 46 4.6.5. SLPUnescape . . . . . . . . . . . . . . . . . 47 4.6.6. SLPFree . . . . . . . . . . . . . . . . . . . 48 4.6.7. SLPGetProperty . . . . . . . . . . . . . . . . 48 4.6.8. SLPSetProperty . . . . . . . . . . . . . . . . 49 4.7. Implementation Notes . . . . . . . . . . . . . . . . 49 Kempf & Guttman Informational