File: dependency.c

package info (click to toggle)
listaller 0.5.9-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,096 kB
  • ctags: 1,611
  • sloc: xml: 11,195; ansic: 2,298; sh: 1,648; perl: 1,452; cpp: 1,289; java: 157; makefile: 134; cs: 48; python: 24
file content (305 lines) | stat: -rw-r--r-- 11,642 bytes parent folder | download
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
/**
 * SECTION:dependency
 * @short_description: Definition of a dependency of an application
 * 
 * <para>Contains a #AsComponent which holds the actual information about the referenced component-dependency.</para>
 */
/**
 * LISTALLER_TYPE_DEPENDENCY:
 * 
 * The type for <link linkend="ListallerDependency"><type>ListallerDependency</type></link>.
 */
/**
 * listaller_dependency_load_xml_data:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 * @xmld: &nbsp;
 * @error: location to store the error occuring, or %NULL to ignore
 */
/**
 * listaller_dependency_load_from_file:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 * @fname: &nbsp;
 * @include_optional: &nbsp;
 */
/**
 * listaller_dependency_contains_directive:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 * @str: &nbsp;
 */
/**
 * listaller_dependency_process_directives:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 * @directive_str: &nbsp;
 * @error: (error-domains ListallerDepComponentError): location to store the error occuring, or %NULL to ignore
 * 
 * Returns: Value of the directives found 
 */
/**
 * listaller_dependency_get_version:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 * @error: (error-domains ListallerDepComponentError): location to store the error occuring, or %NULL to ignore
 */
/**
 * listaller_dependency_set_version:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 * @new_version: &nbsp;
 */
/**
 * listaller_dependency_has_item:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 * @kind: &nbsp;
 * @val: &nbsp;
 */
/**
 * listaller_dependency_has_matching_item:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 * @kind: &nbsp;
 * @val: &nbsp;
 */
/**
 * listaller_dependency_has_items:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 */
/**
 * listaller_dependency_get_installed_items_as_string:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 */
/**
 * listaller_dependency_has_installed_items:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 */
/**
 * listaller_dependency_has_feed:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 */
/**
 * listaller_dependency_get_install_dir_for_setting:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 * @setup_setting: &nbsp;
 * 
 * Get installation directory for this module, using the SettupSettings taken as argument
 */
/**
 * listaller_dependency_get_metadata_xml:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 */
/**
 * listaller_dependency_build_pk_package_id:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 * 
 * Generate a PackageKit package-id for this dependency information
 */
/**
 * listaller_dependency_is_valid:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance
 * 
 * Returns %TRUE if the dependency is valid (= contains sane data)
 */
/**
 * listaller_dependency_new:
 */
/**
 * ListallerDependency:metainfo:
 */
/**
 * listaller_dependency_get_metainfo:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to query
 * 
 * Get and return the current value of the <link linkend="ListallerDependency--metainfo"><type>"metainfo"</type></link> property.
 * 
 * 
 * 
 * Returns: the value of the <link linkend="ListallerDependency--metainfo"><type>"metainfo"</type></link> property
 */
/**
 * listaller_dependency_set_metainfo:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to modify
 * @value: the new value of the <link linkend="ListallerDependency--metainfo"><type>"metainfo"</type></link> property
 * 
 * Set the value of the <link linkend="ListallerDependency--metainfo"><type>"metainfo"</type></link> property to @value.
 * 
 * 
 */
/**
 * ListallerDependency:unique-name:
 */
/**
 * listaller_dependency_get_unique_name:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to query
 * 
 * Get and return the current value of the <link linkend="ListallerDependency--unique-name"><type>"unique-name"</type></link> property.
 * 
 * 
 * 
 * Returns: the value of the <link linkend="ListallerDependency--unique-name"><type>"unique-name"</type></link> property
 */
/**
 * listaller_dependency_set_unique_name:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to modify
 * @value: the new value of the <link linkend="ListallerDependency--unique-name"><type>"unique-name"</type></link> property
 * 
 * Set the value of the <link linkend="ListallerDependency--unique-name"><type>"unique-name"</type></link> property to @value.
 * 
 * 
 */
/**
 * ListallerDependency:architecture:
 */
/**
 * listaller_dependency_get_architecture:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to query
 * 
 * Get and return the current value of the <link linkend="ListallerDependency--architecture"><type>"architecture"</type></link> property.
 * 
 * 
 * 
 * Returns: the value of the <link linkend="ListallerDependency--architecture"><type>"architecture"</type></link> property
 */
/**
 * listaller_dependency_set_architecture:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to modify
 * @value: the new value of the <link linkend="ListallerDependency--architecture"><type>"architecture"</type></link> property
 * 
 * Set the value of the <link linkend="ListallerDependency--architecture"><type>"architecture"</type></link> property to @value.
 * 
 * 
 */
/**
 * ListallerDependency:installed:
 */
/**
 * listaller_dependency_get_installed:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to query
 * 
 * Get and return the current value of the <link linkend="ListallerDependency--installed"><type>"installed"</type></link> property.
 * 
 * 
 * 
 * Returns: the value of the <link linkend="ListallerDependency--installed"><type>"installed"</type></link> property
 */
/**
 * listaller_dependency_set_installed:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to modify
 * @value: the new value of the <link linkend="ListallerDependency--installed"><type>"installed"</type></link> property
 * 
 * Set the value of the <link linkend="ListallerDependency--installed"><type>"installed"</type></link> property to @value.
 * 
 * 
 */
/**
 * ListallerDependency:origin:
 */
/**
 * listaller_dependency_get_origin:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to query
 * 
 * Get and return the current value of the <link linkend="ListallerDependency--origin"><type>"origin"</type></link> property.
 * 
 * 
 * 
 * Returns: the value of the <link linkend="ListallerDependency--origin"><type>"origin"</type></link> property
 */
/**
 * listaller_dependency_set_origin:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to modify
 * @value: the new value of the <link linkend="ListallerDependency--origin"><type>"origin"</type></link> property
 * 
 * Set the value of the <link linkend="ListallerDependency--origin"><type>"origin"</type></link> property to @value.
 * 
 * 
 */
/**
 * ListallerDependency:install-time:
 */
/**
 * listaller_dependency_get_install_time:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to query
 * 
 * Get and return the current value of the <link linkend="ListallerDependency--install-time"><type>"install-time"</type></link> property.
 * 
 * 
 * 
 * Returns: the value of the <link linkend="ListallerDependency--install-time"><type>"install-time"</type></link> property
 */
/**
 * listaller_dependency_set_install_time:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to modify
 * @value: the new value of the <link linkend="ListallerDependency--install-time"><type>"install-time"</type></link> property
 * 
 * Set the value of the <link linkend="ListallerDependency--install-time"><type>"install-time"</type></link> property to @value.
 * 
 * 
 */
/**
 * ListallerDependency:environment:
 */
/**
 * listaller_dependency_get_environment:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to query
 * 
 * Get and return the current value of the <link linkend="ListallerDependency--environment"><type>"environment"</type></link> property.
 * 
 * 
 * 
 * Returns: the value of the <link linkend="ListallerDependency--environment"><type>"environment"</type></link> property
 */
/**
 * listaller_dependency_set_environment:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to modify
 * @value: the new value of the <link linkend="ListallerDependency--environment"><type>"environment"</type></link> property
 * 
 * Set the value of the <link linkend="ListallerDependency--environment"><type>"environment"</type></link> property to @value.
 * 
 * 
 */
/**
 * ListallerDependency:feed-url:
 */
/**
 * listaller_dependency_get_feed_url:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to query
 * 
 * Get and return the current value of the <link linkend="ListallerDependency--feed-url"><type>"feed-url"</type></link> property.
 * 
 * 
 * 
 * Returns: the value of the <link linkend="ListallerDependency--feed-url"><type>"feed-url"</type></link> property
 */
/**
 * listaller_dependency_set_feed_url:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to modify
 * @value: the new value of the <link linkend="ListallerDependency--feed-url"><type>"feed-url"</type></link> property
 * 
 * Set the value of the <link linkend="ListallerDependency--feed-url"><type>"feed-url"</type></link> property to @value.
 * 
 * 
 */
/**
 * ListallerDependency:installed-items:
 */
/**
 * listaller_dependency_get_installed_items:
 * @self: the <link linkend="ListallerDependency"><type>ListallerDependency</type></link> instance to query
 * 
 * Get and return the current value of the <link linkend="ListallerDependency--installed-items"><type>"installed-items"</type></link> property.
 * 
 * 
 * 
 * Returns: the value of the <link linkend="ListallerDependency--installed-items"><type>"installed-items"</type></link> property
 */
/**
 * ListallerDependency:
 * 
 * Definition of a dependency of an application
 * 
 * <para>Contains a #AsComponent which holds the actual information about the referenced component-dependency.</para>
 */
/**
 * ListallerDependencyClass:
 * @parent_class: the parent class structure
 * 
 * The class structure for <link linkend="LISTALLER-TYPE-DEPENDENCY:CAPS"><literal>LISTALLER_TYPE_DEPENDENCY</literal></link>. All the fields in this structure are private and should never be accessed directly.
 */
/**
 * ListallerDepComponentError:
 */