⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 slpgetproperty.html

📁 SLP协议在linux下的实现。此版本为1.2.1版。官方网站为www.openslp.org
💻 HTML
字号:
<!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]">   <title>OpenSLP Programmers Guide - SLPGetProperty()</title></head><body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000"><h2>SLPGetProperty</h2><hr WIDTH="100%"><h3>Declaration</h3><tt>#include &lt;slp.h></tt><p><tt>const char* SLPGetProperty( const char* <a href="#name">name</a>)</tt><br>&nbsp;<h3>Description</h3>Returns the value of the corresponding SLP property name.&nbsp; The returnedstring is owned by the library and MUST NOT be freed.<br>&nbsp;<h3>Parameters</h3><table BORDER CELLPADDING=5 NOSAVE ><tr VALIGN=TOP NOSAVE><td NOSAVE><a NAME="name"></a><tt>name</tt></td><td NOSAVE>The name of a net.slp property to get.&nbsp; See <a href="/broken">OpenSLPUsers Guide</a> for a list of supported properties</td></tr></table><h3>Returns</h3>A very thread unsafe character pointer to a string containing the propertyvalue.&nbsp; If an error occurs, like the property <tt>name</tt> is notfound, NULL is returned so don't forget to check for NULL!<br>&nbsp;<h3>Status</h3><table CELLPADDING=5 NOSAVE ><tr VALIGN=TOP NOSAVE><td NOSAVE>OpenSLP 0.6.0</td><td NOSAVE>Fully implemented as specified by RFC 2614.</td></tr></table><h3>Notes</h3>For some reason the SLP API writers decided to make SLPGetProperty() andSLPSetProperty() calls impossible to implement in a thread safe manner.&nbsp;For this reason OpenSLP only allows read only access to SLP properties.&nbsp;Properties are read into static data structures when the process loads,and never changed so at least SLPGetProperty() can be called from threadedapplications.<h3>See Also</h3><a href="SLPSetProperty.html">SLPSetProperty()</a>,&nbsp; <a href="/broken">OpenSLP Users Guide</a></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -