📄 slptypes.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.72C-CCK-MCD Caldera Systems OpenLinux [en] (X11; U; Linux 2.2.14 i686) [Netscape]"> <title>OpenSLP Programmers Guide - SLP Data Types</title></head><body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000"><h2>SLP Data Types</h2><hr WIDTH="100%"><h3><a NAME="SLPURLLifetime"></a>SLPURLLifetime</h3>An enumerated type with a range of 0 - 65535. There are two definedvalues <tt>of:</tt><blockquote><tt>SLP_LIFETIME_DEFAULT 10800</tt><br><tt>SLP_LIFETIME_MAXIMUM 65535</tt></blockquote><h3><a NAME="SLPError"></a>SLPError</h3>An enumerated type with a range of -26 - 1. See <a href="SLPError.html">SLPErrorCodes </a>for more detail.<br> <h3><a NAME="SLPBoolean"></a>SLPBoolean</h3>A boolean value with one of the following values:<blockquote><tt>SLP_FALSE 0</tt><br><tt>SLP_TRUE 1</tt></blockquote><h3><a NAME="SLPSrvURL"></a>SLPSrvURL</h3>Structure that is used to index the parts of a parsed Service URL thatis returned by <a href="SLPParseSrvURL.html">SLPParseSrvURL()</a>. The structure contains the following members.<blockquote><tt>char* s_pcSrvType</tt><blockquote>A pointer to a character string containing the service typename, including naming authority. The service type name includesthe "service:" if the URL is of the service: scheme.</blockquote><tt>char* s_pcHost</tt><blockquote>A pointer to a character string containing the host identificationinformation.</blockquote><tt>int s_iPort</tt><blockquote>The port number, or zero if none. The port is only availableif the transport is IP</blockquote><tt>char* s_pcNetFamily</tt><blockquote>A pointer to a character string containing the network addressfamily identifier. Possible values are "ipx" for the IPX family,"at" for the Appletalk family, and "" (the empty string) for IP addressfamily. OpenSLP only supports the IP address family.</blockquote><tt>char* s_pcSrvPart</tt><blockquote>The remainder of the URL.</blockquote></blockquote><h3><a NAME="SLPHandle"></a>SLPHandle</h3>The SLPHandle type is returned by <a href="SLPOpen.html">SLPOpen()</a>and is a parameter to all SLP Functions. The type is opaque to thecaller.</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -