File: url_xml.3

package info (click to toggle)
discover 2.1.2-8
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 6,248 kB
  • sloc: sh: 8,115; ansic: 7,275; xml: 1,809; makefile: 732
file content (171 lines) | stat: -rw-r--r-- 5,085 bytes parent folder | download | duplicates (9)
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
.TH "URL list XML parsing" 3 "28 Jul 2005" "discover" \" -*- nroff -*-
.ad l
.nh
.SH NAME
URL list XML parsing \- 
.SS "Functions"

.in +1c
.ti -1c
.RI "\fBdiscover_xml_url_t\fP * \fBdiscover_xml_get_urls\fP (\fBdiscover_error_t\fP *status)"
.br
.ti -1c
.RI "void \fBdiscover_xml_free_urls\fP (void)"
.br
.ti -1c
.RI "\fBdiscover_xml_url_t\fP * \fBdiscover_xml_get_data_urls\fP (\fBdiscover_bus_t\fP bus, \fBdiscover_filetype_t\fP filetype, \fBdiscover_error_t\fP *status)"
.br
.ti -1c
.RI "void \fBdiscover_xml_free_data_urls\fP (void)"
.br
.ti -1c
.RI "\fBdiscover_xml_url_t\fP * \fBdiscover_xml_url_new\fP (void)"
.br
.ti -1c
.RI "void \fBdiscover_xml_url_copy\fP (\fBdiscover_xml_url_t\fP *src, \fBdiscover_xml_url_t\fP *dst)"
.br
.ti -1c
.RI "char * \fBdiscover_xml_url_get_url\fP (\fBdiscover_xml_url_t\fP *url)"
.br
.ti -1c
.RI "char * \fBdiscover_xml_url_get_label\fP (\fBdiscover_xml_url_t\fP *url)"
.br
.ti -1c
.RI "char * \fBdiscover_xml_url_get_bus\fP (\fBdiscover_xml_url_t\fP *url)"
.br
.ti -1c
.RI "char * \fBdiscover_xml_url_get_type\fP (\fBdiscover_xml_url_t\fP *url)"
.br
.ti -1c
.RI "\fBdiscover_xml_url_t\fP * \fBdiscover_xml_url_get_next\fP (\fBdiscover_xml_url_t\fP *url)"
.br
.ti -1c
.RI "\fBdiscover_xml_url_t\fP * \fBdiscover_xml_url_get_last\fP (\fBdiscover_xml_url_t\fP *url)"
.br
.ti -1c
.RI "void \fBdiscover_xml_url_free\fP (\fBdiscover_xml_url_t\fP *urls)"
.br
.in -1c
.SH "Function Documentation"
.PP 
.SS "void discover_xml_free_data_urls (void)"
.PP
Free the list of data URLs. 
.PP
Definition at line 310 of file url-xml.c.
.PP
References BUS_COUNT, and discover_xml_url_free().
.SS "void discover_xml_free_urls (void)"
.PP
Free the list of URLs. 
.PP
Definition at line 244 of file url-xml.c.
.PP
References discover_xml_url_free().
.SS "\fBdiscover_xml_url_t\fP* discover_xml_get_data_urls (\fBdiscover_bus_t\fP bus, \fBdiscover_filetype_t\fP filetype, \fBdiscover_error_t\fP * status)"
.PP
Get the list of data URLs, based on the bus type and type of data required.
.PP
\fBParameters:\fP
.RS 4
\fIbus\fP Bus in question 
.br
\fIfiletype\fP Type of file (vendor, busclass, or device) 
.br
\fIstatus\fP Address in which to place status report 
.RE
.PP

.PP
Definition at line 261 of file url-xml.c.
.PP
References discover_error::code, discover_conf_get_bus_name(), discover_conf_get_filetype_name(), DISCOVER_EDATANOTFOUND, discover_xml_get_urls(), discover_xml_url_copy(), and discover_xml_url_new().
.PP
Referenced by discover_xml_get_busclasses(), discover_xml_get_devices(), and discover_xml_get_vendors().
.SS "\fBdiscover_xml_url_t\fP* discover_xml_get_urls (\fBdiscover_error_t\fP * status)"
.PP
Get the list of URLs from which bus and device data will be retrieved.
.PP
\fBParameters:\fP
.RS 4
\fIstatus\fP Address in which to place status report 
.RE
.PP

.PP
Definition at line 182 of file url-xml.c.
.PP
References discover_error::code, discover_conf_get_urls(), DISCOVER_EIO, DISCOVER_EXML, and discover_xml_url_free().
.PP
Referenced by discover_xml_get_data_urls().
.SS "void discover_xml_url_copy (\fBdiscover_xml_url_t\fP * src, \fBdiscover_xml_url_t\fP * dst)"
.PP
Copy a URL structure.
.PP
\fBParameters:\fP
.RS 4
\fIsrc\fP Copy from (source) 
.br
\fIdst\fP Copy to (destination) 
.RE
.PP

.PP
Definition at line 349 of file url-xml.c.
.PP
Referenced by discover_xml_get_data_urls().
.SS "void discover_xml_url_free (\fBdiscover_xml_url_t\fP * urls)"
.PP
Free the URL or list of URLs.
.PP
\fBParameters:\fP
.RS 4
\fIurls\fP URL or list of URLs to free 
.RE
.PP

.PP
Definition at line 444 of file url-xml.c.
.PP
Referenced by discover_conf_free(), discover_xml_free_data_urls(), discover_xml_free_urls(), and discover_xml_get_urls().
.SS "char* discover_xml_url_get_bus (\fBdiscover_xml_url_t\fP * url)"
.PP
Get the bus member of URL. 
.PP
Definition at line 398 of file url-xml.c.
.SS "char* discover_xml_url_get_label (\fBdiscover_xml_url_t\fP * url)"
.PP
Get the label member of url. 
.PP
Definition at line 387 of file url-xml.c.
.SS "\fBdiscover_xml_url_t\fP* discover_xml_url_get_last (\fBdiscover_xml_url_t\fP * url)"
.PP
Get the last member of url. 
.PP
Definition at line 431 of file url-xml.c.
.SS "\fBdiscover_xml_url_t\fP* discover_xml_url_get_next (\fBdiscover_xml_url_t\fP * url)"
.PP
Get the next member of url. 
.PP
Definition at line 420 of file url-xml.c.
.PP
Referenced by discover_xml_get_busclasses(), discover_xml_get_devices(), and discover_xml_get_vendors().
.SS "char* discover_xml_url_get_type (\fBdiscover_xml_url_t\fP * url)"
.PP
Get the type member of url. 
.PP
Definition at line 409 of file url-xml.c.
.SS "char* discover_xml_url_get_url (\fBdiscover_xml_url_t\fP * url)"
.PP
Get the url member of url. 
.PP
Definition at line 376 of file url-xml.c.
.PP
Referenced by discover_xml_get_busclasses(), discover_xml_get_devices(), and discover_xml_get_vendors().
.SS "\fBdiscover_xml_url_t\fP* discover_xml_url_new (void)"
.PP
Create and initialize a new (empty) URL structure. 
.PP
Definition at line 326 of file url-xml.c.
.PP
Referenced by discover_conf_get_urls(), and discover_xml_get_data_urls().