void SLPSetProperty( const char* name,
DescriptionThis function is supposed to allow the caller to set SLP properties, but it is impossible to implement this function along with SLPGetProperty() in a way that is even remotely thread safe. Therefore, OpenSLP completely ignores all calls made to SLPSetProperty() so that SLPGetProperty() can be used in threaded applications.
NotesFor some reason the SLP API writers decided to make SLPGetProperty() and SLPSetProperty() calls impossible to implement in a thread safe manner. For this reason OpenSLP only allows read only access to SLP properties. Properties are read into static data structures when the process loads, and never changed so at least SLPGetProperty() can be called from threaded applications.
Some discussions have taken place on the srvloc mailing list and it looks like the SLP API will be revised to solve this problem. Until this time OpenSLP will not implement SLPSetProperty().
See AlsoSLPGetProperty(), Open SLP Users Guide