diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-09-11 14:38:47 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-09-11 14:38:47 +0900 |
| commit | 884c8093d63402a1ad0b502244b791e3c6782be3 (patch) | |
| tree | a600d4ab0d431a2bdfe4c15b70df43c14fbd8dd0 /debian/openslp-dfsg/openslp-dfsg-1.2.1/doc/html/ProgrammersGuide/SLPSetProperty.html | |
| parent | 14e1aa2006796f147f3f4811fb908a6b01e79253 (diff) | |
| download | extra-dependencies-884c8093d63402a1ad0b502244b791e3c6782be3.tar.gz extra-dependencies-884c8093d63402a1ad0b502244b791e3c6782be3.zip | |
Added debian extra dependency packages.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/openslp-dfsg/openslp-dfsg-1.2.1/doc/html/ProgrammersGuide/SLPSetProperty.html')
| -rw-r--r-- | debian/openslp-dfsg/openslp-dfsg-1.2.1/doc/html/ProgrammersGuide/SLPSetProperty.html | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/debian/openslp-dfsg/openslp-dfsg-1.2.1/doc/html/ProgrammersGuide/SLPSetProperty.html b/debian/openslp-dfsg/openslp-dfsg-1.2.1/doc/html/ProgrammersGuide/SLPSetProperty.html new file mode 100644 index 00000000..9065c246 --- /dev/null +++ b/debian/openslp-dfsg/openslp-dfsg-1.2.1/doc/html/ProgrammersGuide/SLPSetProperty.html @@ -0,0 +1,78 @@ +<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="GENERATOR" content="Mozilla/4.77C-CCK-MCD Caldera Systems OpenLinux [en] (X11; U; Linux 2.4.2 i686) [Netscape]"> +</head> +<body text="#000000" bgcolor="#FFFFFF" link="#0000EE" vlink="#551A8B" alink="#FF0000"> + +<h2> +SLPSetProperty</h2> + +<hr WIDTH="100%"> +<h3> +Declaration</h3> +<tt>#include <slp.h></tt> +<p><tt>void SLPSetProperty( const char* name,</tt> +<br><tt> +const char* value )</tt> +<br> +<h3> +Description</h3> +This function is supposed to allow the caller to set SLP properties, but +it is impossible to implement this function along with <a href="SLPGetProperty.html">SLPGetProperty()</a> +in a way that is even remotely thread safe. Therefore, OpenSLP +completely ignores all calls made to <tt>SLPSetProperty() </tt>so that +<a href="SLPSetProperty.html">SLPGetProperty()</a> +can be used in threaded applications. +<br> +<h3> +Parameters</h3> + +<table BORDER CELLPADDING=5 NOSAVE > +<tr VALIGN=TOP NOSAVE> +<td NOSAVE><a NAME="name"></a><tt>name</tt></td> + +<td NOSAVE>Pointer to the name of a net.slp property to set. See +<a href="/broken">OpenSLP +Users Guide</a> for a list of supported properties</td> +</tr> + +<tr> +<td><a NAME="value"></a><tt>value</tt></td> + +<td>Pointer to the new string value.</td> +</tr> +</table> + +<h3> +Returns</h3> +None +<h3> +Status</h3> + +<table CELLPADDING=5 NOSAVE > +<tr VALIGN=TOP NOSAVE> +<td NOSAVE>OpenSLP 0.8.0</td> + +<td NOSAVE>Not implemented. See Notes.</td> +</tr> +</table> + +<h3> +Notes</h3> +For 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. +<p>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(). +<h3> +See Also</h3> +<a href="SLPGetProperty.html">SLPGetProperty()</a>, <a href="/broken">Open +SLP Users Guide</a> +</body> +</html> |
