blob: c5781eb65df7a2fa182f8476a1d70ebbb4034de9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
<!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 - SLPFindScopes()</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
<h2>
SLPFindScopes</h2>
<hr WIDTH="100%">
<h3>
Declaration</h3>
<tt>#include <slp.h></tt>
<p><tt><a href="/SLPError.html">SLPError</a> SLPFindScopes( SLPHandle <a href="#hslp">hslp</a>,</tt>
<br><tt>
char** <a href="#scopelist">scopelist</a> )</tt>
<br>
<h3>
Description</h3>
Sets the scopelist parameter to a pointer to a comma separated list of
all available scope values. The most desirable values are always
placed first in the list. There is always one value, "DEFAULT", in
the list.
<br>
<h3>
Parameters</h3>
<table BORDER CELLPADDING=5 NOSAVE >
<tr VALIGN=TOP NOSAVE>
<td><a NAME="hslp"></a><tt>hslp</tt></td>
<td NOSAVE>Pointer to the string to be un-escaped</td>
</tr>
<tr VALIGN=TOP NOSAVE>
<td NOSAVE><a NAME="scopelist"></a><tt>scopelist</tt></td>
<td NOSAVE>Pointer to a pointer for the dynamically allocated list of scopes.
The memory should be freed by a call to <tt><a href="SLPFree.html">SLPFree()</a></tt>
when no longer needed.</td>
</tr>
</table>
<h3>
Returns</h3>
<table BORDER NOSAVE >
<tr NOSAVE>
<td NOSAVE>SLP_OK</td>
<td>Indicates that the no error occurred during the operation.</td>
</tr>
<tr>
<td>SLP_NETWORK_TIMED_OUT</td>
<td>When no reply can be obtained in the time specified by the configured
timeout interval for a unicast request, this error is returned. In
other words, slpd is running, but something is wrong with it</td>
</tr>
<tr>
<td>SLP_NETWORK_INIT_FAILED</td>
<td>If the network cannot initialize properly, this error is returned.
Will also be returned if an SA or DA agent (slpd) can not be contacted.
slpd must be running in order to call SLPReg() or SLPDereg().</td>
</tr>
<tr>
<td>SLP_MEMORY_ALLOC_FAILED </td>
<td>Out of memory error</td>
</tr>
<tr>
<td>SLP_NETWORK_ERROR</td>
<td>The failure of networking during normal operations causes this error
to be returned. In OpenSLP, this is the error you'll get if an underlying
socket() call failed.</td>
</tr>
<tr>
<td>SLP_INTERNAL_SYSTEM_ERROR</td>
<td>A basic failure of the API causes this error to be returned. This occurs
when a system call or library fails. The operation could not recover.</td>
</tr>
</table>
<h3>
Status</h3>
<table CELLPADDING=5 NOSAVE >
<tr VALIGN=TOP NOSAVE>
<td NOSAVE>OpenSLP 0.8.0</td>
<td NOSAVE>Fully implemented as specified by RFC 2608.</td>
</tr>
</table>
<h3>
See Also</h3>
<a href="doc/html/UsersGuide/index.html">Open SLP Users Guide</a>
</body>
</html>
|