gtk+-3.0: Update to 3.0.5
[vala-lang.git] / vapi / packages / gnome-keyring-1 / gnome-keyring-1.gi
blobb51a9a352e70b99249b13aceb627f268f933c922
1 <?xml version="1.0"?>
2 <api version="1.0">
3 <namespace name="GnomeKeyring">
4 <function name="acl_copy" symbol="gnome_keyring_acl_copy">
5 <return-type type="GList*"/>
6 <parameters>
7 <parameter name="list" type="GList*"/>
8 </parameters>
9 </function>
10 <function name="acl_free" symbol="gnome_keyring_acl_free">
11 <return-type type="void"/>
12 <parameters>
13 <parameter name="acl" type="GList*"/>
14 </parameters>
15 </function>
16 <function name="cancel_request" symbol="gnome_keyring_cancel_request">
17 <return-type type="void"/>
18 <parameters>
19 <parameter name="request" type="gpointer"/>
20 </parameters>
21 </function>
22 <function name="change_password" symbol="gnome_keyring_change_password">
23 <return-type type="gpointer"/>
24 <parameters>
25 <parameter name="keyring" type="char*"/>
26 <parameter name="original" type="char*"/>
27 <parameter name="password" type="char*"/>
28 <parameter name="callback" type="GnomeKeyringOperationDoneCallback"/>
29 <parameter name="data" type="gpointer"/>
30 <parameter name="destroy_data" type="GDestroyNotify"/>
31 </parameters>
32 </function>
33 <function name="change_password_sync" symbol="gnome_keyring_change_password_sync">
34 <return-type type="GnomeKeyringResult"/>
35 <parameters>
36 <parameter name="keyring" type="char*"/>
37 <parameter name="original" type="char*"/>
38 <parameter name="password" type="char*"/>
39 </parameters>
40 </function>
41 <function name="create" symbol="gnome_keyring_create">
42 <return-type type="gpointer"/>
43 <parameters>
44 <parameter name="keyring_name" type="char*"/>
45 <parameter name="password" type="char*"/>
46 <parameter name="callback" type="GnomeKeyringOperationDoneCallback"/>
47 <parameter name="data" type="gpointer"/>
48 <parameter name="destroy_data" type="GDestroyNotify"/>
49 </parameters>
50 </function>
51 <function name="create_sync" symbol="gnome_keyring_create_sync">
52 <return-type type="GnomeKeyringResult"/>
53 <parameters>
54 <parameter name="keyring_name" type="char*"/>
55 <parameter name="password" type="char*"/>
56 </parameters>
57 </function>
58 <function name="daemon_prepare_environment_sync" symbol="gnome_keyring_daemon_prepare_environment_sync">
59 <return-type type="GnomeKeyringResult"/>
60 </function>
61 <function name="daemon_set_display_sync" symbol="gnome_keyring_daemon_set_display_sync">
62 <return-type type="GnomeKeyringResult"/>
63 <parameters>
64 <parameter name="display" type="char*"/>
65 </parameters>
66 </function>
67 <function name="delete" symbol="gnome_keyring_delete">
68 <return-type type="gpointer"/>
69 <parameters>
70 <parameter name="keyring" type="char*"/>
71 <parameter name="callback" type="GnomeKeyringOperationDoneCallback"/>
72 <parameter name="data" type="gpointer"/>
73 <parameter name="destroy_data" type="GDestroyNotify"/>
74 </parameters>
75 </function>
76 <function name="delete_password" symbol="gnome_keyring_delete_password">
77 <return-type type="gpointer"/>
78 <parameters>
79 <parameter name="schema" type="GnomeKeyringPasswordSchema*"/>
80 <parameter name="callback" type="GnomeKeyringOperationDoneCallback"/>
81 <parameter name="data" type="gpointer"/>
82 <parameter name="destroy_data" type="GDestroyNotify"/>
83 </parameters>
84 </function>
85 <function name="delete_password_sync" symbol="gnome_keyring_delete_password_sync">
86 <return-type type="GnomeKeyringResult"/>
87 <parameters>
88 <parameter name="schema" type="GnomeKeyringPasswordSchema*"/>
89 </parameters>
90 </function>
91 <function name="delete_sync" symbol="gnome_keyring_delete_sync">
92 <return-type type="GnomeKeyringResult"/>
93 <parameters>
94 <parameter name="keyring" type="char*"/>
95 </parameters>
96 </function>
97 <function name="find_items" symbol="gnome_keyring_find_items">
98 <return-type type="gpointer"/>
99 <parameters>
100 <parameter name="type" type="GnomeKeyringItemType"/>
101 <parameter name="attributes" type="GnomeKeyringAttributeList*"/>
102 <parameter name="callback" type="GnomeKeyringOperationGetListCallback"/>
103 <parameter name="data" type="gpointer"/>
104 <parameter name="destroy_data" type="GDestroyNotify"/>
105 </parameters>
106 </function>
107 <function name="find_items_sync" symbol="gnome_keyring_find_items_sync">
108 <return-type type="GnomeKeyringResult"/>
109 <parameters>
110 <parameter name="type" type="GnomeKeyringItemType"/>
111 <parameter name="attributes" type="GnomeKeyringAttributeList*"/>
112 <parameter name="found" type="GList**"/>
113 </parameters>
114 </function>
115 <function name="find_itemsv" symbol="gnome_keyring_find_itemsv">
116 <return-type type="gpointer"/>
117 <parameters>
118 <parameter name="type" type="GnomeKeyringItemType"/>
119 <parameter name="callback" type="GnomeKeyringOperationGetListCallback"/>
120 <parameter name="data" type="gpointer"/>
121 <parameter name="destroy_data" type="GDestroyNotify"/>
122 </parameters>
123 </function>
124 <function name="find_itemsv_sync" symbol="gnome_keyring_find_itemsv_sync">
125 <return-type type="GnomeKeyringResult"/>
126 <parameters>
127 <parameter name="type" type="GnomeKeyringItemType"/>
128 <parameter name="found" type="GList**"/>
129 </parameters>
130 </function>
131 <function name="find_network_password" symbol="gnome_keyring_find_network_password">
132 <return-type type="gpointer"/>
133 <parameters>
134 <parameter name="user" type="char*"/>
135 <parameter name="domain" type="char*"/>
136 <parameter name="server" type="char*"/>
137 <parameter name="object" type="char*"/>
138 <parameter name="protocol" type="char*"/>
139 <parameter name="authtype" type="char*"/>
140 <parameter name="port" type="guint32"/>
141 <parameter name="callback" type="GnomeKeyringOperationGetListCallback"/>
142 <parameter name="data" type="gpointer"/>
143 <parameter name="destroy_data" type="GDestroyNotify"/>
144 </parameters>
145 </function>
146 <function name="find_network_password_sync" symbol="gnome_keyring_find_network_password_sync">
147 <return-type type="GnomeKeyringResult"/>
148 <parameters>
149 <parameter name="user" type="char*"/>
150 <parameter name="domain" type="char*"/>
151 <parameter name="server" type="char*"/>
152 <parameter name="object" type="char*"/>
153 <parameter name="protocol" type="char*"/>
154 <parameter name="authtype" type="char*"/>
155 <parameter name="port" type="guint32"/>
156 <parameter name="results" type="GList**"/>
157 </parameters>
158 </function>
159 <function name="find_password" symbol="gnome_keyring_find_password">
160 <return-type type="gpointer"/>
161 <parameters>
162 <parameter name="schema" type="GnomeKeyringPasswordSchema*"/>
163 <parameter name="callback" type="GnomeKeyringOperationGetStringCallback"/>
164 <parameter name="data" type="gpointer"/>
165 <parameter name="destroy_data" type="GDestroyNotify"/>
166 </parameters>
167 </function>
168 <function name="find_password_sync" symbol="gnome_keyring_find_password_sync">
169 <return-type type="GnomeKeyringResult"/>
170 <parameters>
171 <parameter name="schema" type="GnomeKeyringPasswordSchema*"/>
172 <parameter name="password" type="gchar**"/>
173 </parameters>
174 </function>
175 <function name="free_password" symbol="gnome_keyring_free_password">
176 <return-type type="void"/>
177 <parameters>
178 <parameter name="password" type="gchar*"/>
179 </parameters>
180 </function>
181 <function name="get_default_keyring" symbol="gnome_keyring_get_default_keyring">
182 <return-type type="gpointer"/>
183 <parameters>
184 <parameter name="callback" type="GnomeKeyringOperationGetStringCallback"/>
185 <parameter name="data" type="gpointer"/>
186 <parameter name="destroy_data" type="GDestroyNotify"/>
187 </parameters>
188 </function>
189 <function name="get_default_keyring_sync" symbol="gnome_keyring_get_default_keyring_sync">
190 <return-type type="GnomeKeyringResult"/>
191 <parameters>
192 <parameter name="keyring" type="char**"/>
193 </parameters>
194 </function>
195 <function name="get_info" symbol="gnome_keyring_get_info">
196 <return-type type="gpointer"/>
197 <parameters>
198 <parameter name="keyring" type="char*"/>
199 <parameter name="callback" type="GnomeKeyringOperationGetKeyringInfoCallback"/>
200 <parameter name="data" type="gpointer"/>
201 <parameter name="destroy_data" type="GDestroyNotify"/>
202 </parameters>
203 </function>
204 <function name="get_info_sync" symbol="gnome_keyring_get_info_sync">
205 <return-type type="GnomeKeyringResult"/>
206 <parameters>
207 <parameter name="keyring" type="char*"/>
208 <parameter name="info" type="GnomeKeyringInfo**"/>
209 </parameters>
210 </function>
211 <function name="is_available" symbol="gnome_keyring_is_available">
212 <return-type type="gboolean"/>
213 </function>
214 <function name="item_ac_get_access_type" symbol="gnome_keyring_item_ac_get_access_type">
215 <return-type type="GnomeKeyringAccessType"/>
216 <parameters>
217 <parameter name="ac" type="GnomeKeyringAccessControl*"/>
218 </parameters>
219 </function>
220 <function name="item_ac_get_display_name" symbol="gnome_keyring_item_ac_get_display_name">
221 <return-type type="char*"/>
222 <parameters>
223 <parameter name="ac" type="GnomeKeyringAccessControl*"/>
224 </parameters>
225 </function>
226 <function name="item_ac_get_path_name" symbol="gnome_keyring_item_ac_get_path_name">
227 <return-type type="char*"/>
228 <parameters>
229 <parameter name="ac" type="GnomeKeyringAccessControl*"/>
230 </parameters>
231 </function>
232 <function name="item_ac_set_access_type" symbol="gnome_keyring_item_ac_set_access_type">
233 <return-type type="void"/>
234 <parameters>
235 <parameter name="ac" type="GnomeKeyringAccessControl*"/>
236 <parameter name="value" type="GnomeKeyringAccessType"/>
237 </parameters>
238 </function>
239 <function name="item_ac_set_display_name" symbol="gnome_keyring_item_ac_set_display_name">
240 <return-type type="void"/>
241 <parameters>
242 <parameter name="ac" type="GnomeKeyringAccessControl*"/>
243 <parameter name="value" type="char*"/>
244 </parameters>
245 </function>
246 <function name="item_ac_set_path_name" symbol="gnome_keyring_item_ac_set_path_name">
247 <return-type type="void"/>
248 <parameters>
249 <parameter name="ac" type="GnomeKeyringAccessControl*"/>
250 <parameter name="value" type="char*"/>
251 </parameters>
252 </function>
253 <function name="item_create" symbol="gnome_keyring_item_create">
254 <return-type type="gpointer"/>
255 <parameters>
256 <parameter name="keyring" type="char*"/>
257 <parameter name="type" type="GnomeKeyringItemType"/>
258 <parameter name="display_name" type="char*"/>
259 <parameter name="attributes" type="GnomeKeyringAttributeList*"/>
260 <parameter name="secret" type="char*"/>
261 <parameter name="update_if_exists" type="gboolean"/>
262 <parameter name="callback" type="GnomeKeyringOperationGetIntCallback"/>
263 <parameter name="data" type="gpointer"/>
264 <parameter name="destroy_data" type="GDestroyNotify"/>
265 </parameters>
266 </function>
267 <function name="item_create_sync" symbol="gnome_keyring_item_create_sync">
268 <return-type type="GnomeKeyringResult"/>
269 <parameters>
270 <parameter name="keyring" type="char*"/>
271 <parameter name="type" type="GnomeKeyringItemType"/>
272 <parameter name="display_name" type="char*"/>
273 <parameter name="attributes" type="GnomeKeyringAttributeList*"/>
274 <parameter name="secret" type="char*"/>
275 <parameter name="update_if_exists" type="gboolean"/>
276 <parameter name="item_id" type="guint32*"/>
277 </parameters>
278 </function>
279 <function name="item_delete" symbol="gnome_keyring_item_delete">
280 <return-type type="gpointer"/>
281 <parameters>
282 <parameter name="keyring" type="char*"/>
283 <parameter name="id" type="guint32"/>
284 <parameter name="callback" type="GnomeKeyringOperationDoneCallback"/>
285 <parameter name="data" type="gpointer"/>
286 <parameter name="destroy_data" type="GDestroyNotify"/>
287 </parameters>
288 </function>
289 <function name="item_delete_sync" symbol="gnome_keyring_item_delete_sync">
290 <return-type type="GnomeKeyringResult"/>
291 <parameters>
292 <parameter name="keyring" type="char*"/>
293 <parameter name="id" type="guint32"/>
294 </parameters>
295 </function>
296 <function name="item_get_acl" symbol="gnome_keyring_item_get_acl">
297 <return-type type="gpointer"/>
298 <parameters>
299 <parameter name="keyring" type="char*"/>
300 <parameter name="id" type="guint32"/>
301 <parameter name="callback" type="GnomeKeyringOperationGetListCallback"/>
302 <parameter name="data" type="gpointer"/>
303 <parameter name="destroy_data" type="GDestroyNotify"/>
304 </parameters>
305 </function>
306 <function name="item_get_acl_sync" symbol="gnome_keyring_item_get_acl_sync">
307 <return-type type="GnomeKeyringResult"/>
308 <parameters>
309 <parameter name="keyring" type="char*"/>
310 <parameter name="id" type="guint32"/>
311 <parameter name="acl" type="GList**"/>
312 </parameters>
313 </function>
314 <function name="item_get_attributes" symbol="gnome_keyring_item_get_attributes">
315 <return-type type="gpointer"/>
316 <parameters>
317 <parameter name="keyring" type="char*"/>
318 <parameter name="id" type="guint32"/>
319 <parameter name="callback" type="GnomeKeyringOperationGetAttributesCallback"/>
320 <parameter name="data" type="gpointer"/>
321 <parameter name="destroy_data" type="GDestroyNotify"/>
322 </parameters>
323 </function>
324 <function name="item_get_attributes_sync" symbol="gnome_keyring_item_get_attributes_sync">
325 <return-type type="GnomeKeyringResult"/>
326 <parameters>
327 <parameter name="keyring" type="char*"/>
328 <parameter name="id" type="guint32"/>
329 <parameter name="attributes" type="GnomeKeyringAttributeList**"/>
330 </parameters>
331 </function>
332 <function name="item_get_info" symbol="gnome_keyring_item_get_info">
333 <return-type type="gpointer"/>
334 <parameters>
335 <parameter name="keyring" type="char*"/>
336 <parameter name="id" type="guint32"/>
337 <parameter name="callback" type="GnomeKeyringOperationGetItemInfoCallback"/>
338 <parameter name="data" type="gpointer"/>
339 <parameter name="destroy_data" type="GDestroyNotify"/>
340 </parameters>
341 </function>
342 <function name="item_get_info_full" symbol="gnome_keyring_item_get_info_full">
343 <return-type type="gpointer"/>
344 <parameters>
345 <parameter name="keyring" type="char*"/>
346 <parameter name="id" type="guint32"/>
347 <parameter name="flags" type="guint32"/>
348 <parameter name="callback" type="GnomeKeyringOperationGetItemInfoCallback"/>
349 <parameter name="data" type="gpointer"/>
350 <parameter name="destroy_data" type="GDestroyNotify"/>
351 </parameters>
352 </function>
353 <function name="item_get_info_full_sync" symbol="gnome_keyring_item_get_info_full_sync">
354 <return-type type="GnomeKeyringResult"/>
355 <parameters>
356 <parameter name="keyring" type="char*"/>
357 <parameter name="id" type="guint32"/>
358 <parameter name="flags" type="guint32"/>
359 <parameter name="info" type="GnomeKeyringItemInfo**"/>
360 </parameters>
361 </function>
362 <function name="item_get_info_sync" symbol="gnome_keyring_item_get_info_sync">
363 <return-type type="GnomeKeyringResult"/>
364 <parameters>
365 <parameter name="keyring" type="char*"/>
366 <parameter name="id" type="guint32"/>
367 <parameter name="info" type="GnomeKeyringItemInfo**"/>
368 </parameters>
369 </function>
370 <function name="item_grant_access_rights" symbol="gnome_keyring_item_grant_access_rights">
371 <return-type type="gpointer"/>
372 <parameters>
373 <parameter name="keyring" type="gchar*"/>
374 <parameter name="display_name" type="gchar*"/>
375 <parameter name="full_path" type="gchar*"/>
376 <parameter name="id" type="guint32"/>
377 <parameter name="rights" type="GnomeKeyringAccessType"/>
378 <parameter name="callback" type="GnomeKeyringOperationDoneCallback"/>
379 <parameter name="data" type="gpointer"/>
380 <parameter name="destroy_data" type="GDestroyNotify"/>
381 </parameters>
382 </function>
383 <function name="item_grant_access_rights_sync" symbol="gnome_keyring_item_grant_access_rights_sync">
384 <return-type type="GnomeKeyringResult"/>
385 <parameters>
386 <parameter name="keyring" type="char*"/>
387 <parameter name="display_name" type="char*"/>
388 <parameter name="full_path" type="char*"/>
389 <parameter name="id" type="guint32"/>
390 <parameter name="rights" type="GnomeKeyringAccessType"/>
391 </parameters>
392 </function>
393 <function name="item_set_acl" symbol="gnome_keyring_item_set_acl">
394 <return-type type="gpointer"/>
395 <parameters>
396 <parameter name="keyring" type="char*"/>
397 <parameter name="id" type="guint32"/>
398 <parameter name="acl" type="GList*"/>
399 <parameter name="callback" type="GnomeKeyringOperationDoneCallback"/>
400 <parameter name="data" type="gpointer"/>
401 <parameter name="destroy_data" type="GDestroyNotify"/>
402 </parameters>
403 </function>
404 <function name="item_set_acl_sync" symbol="gnome_keyring_item_set_acl_sync">
405 <return-type type="GnomeKeyringResult"/>
406 <parameters>
407 <parameter name="keyring" type="char*"/>
408 <parameter name="id" type="guint32"/>
409 <parameter name="acl" type="GList*"/>
410 </parameters>
411 </function>
412 <function name="item_set_attributes" symbol="gnome_keyring_item_set_attributes">
413 <return-type type="gpointer"/>
414 <parameters>
415 <parameter name="keyring" type="char*"/>
416 <parameter name="id" type="guint32"/>
417 <parameter name="attributes" type="GnomeKeyringAttributeList*"/>
418 <parameter name="callback" type="GnomeKeyringOperationDoneCallback"/>
419 <parameter name="data" type="gpointer"/>
420 <parameter name="destroy_data" type="GDestroyNotify"/>
421 </parameters>
422 </function>
423 <function name="item_set_attributes_sync" symbol="gnome_keyring_item_set_attributes_sync">
424 <return-type type="GnomeKeyringResult"/>
425 <parameters>
426 <parameter name="keyring" type="char*"/>
427 <parameter name="id" type="guint32"/>
428 <parameter name="attributes" type="GnomeKeyringAttributeList*"/>
429 </parameters>
430 </function>
431 <function name="item_set_info" symbol="gnome_keyring_item_set_info">
432 <return-type type="gpointer"/>
433 <parameters>
434 <parameter name="keyring" type="char*"/>
435 <parameter name="id" type="guint32"/>
436 <parameter name="info" type="GnomeKeyringItemInfo*"/>
437 <parameter name="callback" type="GnomeKeyringOperationDoneCallback"/>
438 <parameter name="data" type="gpointer"/>
439 <parameter name="destroy_data" type="GDestroyNotify"/>
440 </parameters>
441 </function>
442 <function name="item_set_info_sync" symbol="gnome_keyring_item_set_info_sync">
443 <return-type type="GnomeKeyringResult"/>
444 <parameters>
445 <parameter name="keyring" type="char*"/>
446 <parameter name="id" type="guint32"/>
447 <parameter name="info" type="GnomeKeyringItemInfo*"/>
448 </parameters>
449 </function>
450 <function name="list_item_ids" symbol="gnome_keyring_list_item_ids">
451 <return-type type="gpointer"/>
452 <parameters>
453 <parameter name="keyring" type="char*"/>
454 <parameter name="callback" type="GnomeKeyringOperationGetListCallback"/>
455 <parameter name="data" type="gpointer"/>
456 <parameter name="destroy_data" type="GDestroyNotify"/>
457 </parameters>
458 </function>
459 <function name="list_item_ids_sync" symbol="gnome_keyring_list_item_ids_sync">
460 <return-type type="GnomeKeyringResult"/>
461 <parameters>
462 <parameter name="keyring" type="char*"/>
463 <parameter name="ids" type="GList**"/>
464 </parameters>
465 </function>
466 <function name="list_keyring_names" symbol="gnome_keyring_list_keyring_names">
467 <return-type type="gpointer"/>
468 <parameters>
469 <parameter name="callback" type="GnomeKeyringOperationGetListCallback"/>
470 <parameter name="data" type="gpointer"/>
471 <parameter name="destroy_data" type="GDestroyNotify"/>
472 </parameters>
473 </function>
474 <function name="list_keyring_names_sync" symbol="gnome_keyring_list_keyring_names_sync">
475 <return-type type="GnomeKeyringResult"/>
476 <parameters>
477 <parameter name="keyrings" type="GList**"/>
478 </parameters>
479 </function>
480 <function name="lock" symbol="gnome_keyring_lock">
481 <return-type type="gpointer"/>
482 <parameters>
483 <parameter name="keyring" type="char*"/>
484 <parameter name="callback" type="GnomeKeyringOperationDoneCallback"/>
485 <parameter name="data" type="gpointer"/>
486 <parameter name="destroy_data" type="GDestroyNotify"/>
487 </parameters>
488 </function>
489 <function name="lock_all" symbol="gnome_keyring_lock_all">
490 <return-type type="gpointer"/>
491 <parameters>
492 <parameter name="callback" type="GnomeKeyringOperationDoneCallback"/>
493 <parameter name="data" type="gpointer"/>
494 <parameter name="destroy_data" type="GDestroyNotify"/>
495 </parameters>
496 </function>
497 <function name="lock_all_sync" symbol="gnome_keyring_lock_all_sync">
498 <return-type type="GnomeKeyringResult"/>
499 </function>
500 <function name="lock_sync" symbol="gnome_keyring_lock_sync">
501 <return-type type="GnomeKeyringResult"/>
502 <parameters>
503 <parameter name="keyring" type="char*"/>
504 </parameters>
505 </function>
506 <function name="memory_alloc" symbol="gnome_keyring_memory_alloc">
507 <return-type type="gpointer"/>
508 <parameters>
509 <parameter name="sz" type="gulong"/>
510 </parameters>
511 </function>
512 <function name="memory_free" symbol="gnome_keyring_memory_free">
513 <return-type type="void"/>
514 <parameters>
515 <parameter name="p" type="gpointer"/>
516 </parameters>
517 </function>
518 <function name="memory_is_secure" symbol="gnome_keyring_memory_is_secure">
519 <return-type type="gboolean"/>
520 <parameters>
521 <parameter name="p" type="gpointer"/>
522 </parameters>
523 </function>
524 <function name="memory_realloc" symbol="gnome_keyring_memory_realloc">
525 <return-type type="gpointer"/>
526 <parameters>
527 <parameter name="p" type="gpointer"/>
528 <parameter name="sz" type="gulong"/>
529 </parameters>
530 </function>
531 <function name="memory_strdup" symbol="gnome_keyring_memory_strdup">
532 <return-type type="gchar*"/>
533 <parameters>
534 <parameter name="str" type="gchar*"/>
535 </parameters>
536 </function>
537 <function name="memory_try_alloc" symbol="gnome_keyring_memory_try_alloc">
538 <return-type type="gpointer"/>
539 <parameters>
540 <parameter name="sz" type="gulong"/>
541 </parameters>
542 </function>
543 <function name="memory_try_realloc" symbol="gnome_keyring_memory_try_realloc">
544 <return-type type="gpointer"/>
545 <parameters>
546 <parameter name="p" type="gpointer"/>
547 <parameter name="sz" type="gulong"/>
548 </parameters>
549 </function>
550 <function name="network_password_free" symbol="gnome_keyring_network_password_free">
551 <return-type type="void"/>
552 <parameters>
553 <parameter name="data" type="GnomeKeyringNetworkPasswordData*"/>
554 </parameters>
555 </function>
556 <function name="network_password_list_free" symbol="gnome_keyring_network_password_list_free">
557 <return-type type="void"/>
558 <parameters>
559 <parameter name="list" type="GList*"/>
560 </parameters>
561 </function>
562 <function name="result_to_message" symbol="gnome_keyring_result_to_message">
563 <return-type type="gchar*"/>
564 <parameters>
565 <parameter name="res" type="GnomeKeyringResult"/>
566 </parameters>
567 </function>
568 <function name="set_default_keyring" symbol="gnome_keyring_set_default_keyring">
569 <return-type type="gpointer"/>
570 <parameters>
571 <parameter name="keyring" type="char*"/>
572 <parameter name="callback" type="GnomeKeyringOperationDoneCallback"/>
573 <parameter name="data" type="gpointer"/>
574 <parameter name="destroy_data" type="GDestroyNotify"/>
575 </parameters>
576 </function>
577 <function name="set_default_keyring_sync" symbol="gnome_keyring_set_default_keyring_sync">
578 <return-type type="GnomeKeyringResult"/>
579 <parameters>
580 <parameter name="keyring" type="char*"/>
581 </parameters>
582 </function>
583 <function name="set_info" symbol="gnome_keyring_set_info">
584 <return-type type="gpointer"/>
585 <parameters>
586 <parameter name="keyring" type="char*"/>
587 <parameter name="info" type="GnomeKeyringInfo*"/>
588 <parameter name="callback" type="GnomeKeyringOperationDoneCallback"/>
589 <parameter name="data" type="gpointer"/>
590 <parameter name="destroy_data" type="GDestroyNotify"/>
591 </parameters>
592 </function>
593 <function name="set_info_sync" symbol="gnome_keyring_set_info_sync">
594 <return-type type="GnomeKeyringResult"/>
595 <parameters>
596 <parameter name="keyring" type="char*"/>
597 <parameter name="info" type="GnomeKeyringInfo*"/>
598 </parameters>
599 </function>
600 <function name="set_network_password" symbol="gnome_keyring_set_network_password">
601 <return-type type="gpointer"/>
602 <parameters>
603 <parameter name="keyring" type="char*"/>
604 <parameter name="user" type="char*"/>
605 <parameter name="domain" type="char*"/>
606 <parameter name="server" type="char*"/>
607 <parameter name="object" type="char*"/>
608 <parameter name="protocol" type="char*"/>
609 <parameter name="authtype" type="char*"/>
610 <parameter name="port" type="guint32"/>
611 <parameter name="password" type="char*"/>
612 <parameter name="callback" type="GnomeKeyringOperationGetIntCallback"/>
613 <parameter name="data" type="gpointer"/>
614 <parameter name="destroy_data" type="GDestroyNotify"/>
615 </parameters>
616 </function>
617 <function name="set_network_password_sync" symbol="gnome_keyring_set_network_password_sync">
618 <return-type type="GnomeKeyringResult"/>
619 <parameters>
620 <parameter name="keyring" type="char*"/>
621 <parameter name="user" type="char*"/>
622 <parameter name="domain" type="char*"/>
623 <parameter name="server" type="char*"/>
624 <parameter name="object" type="char*"/>
625 <parameter name="protocol" type="char*"/>
626 <parameter name="authtype" type="char*"/>
627 <parameter name="port" type="guint32"/>
628 <parameter name="password" type="char*"/>
629 <parameter name="item_id" type="guint32*"/>
630 </parameters>
631 </function>
632 <function name="store_password" symbol="gnome_keyring_store_password">
633 <return-type type="gpointer"/>
634 <parameters>
635 <parameter name="schema" type="GnomeKeyringPasswordSchema*"/>
636 <parameter name="keyring" type="gchar*"/>
637 <parameter name="display_name" type="gchar*"/>
638 <parameter name="password" type="gchar*"/>
639 <parameter name="callback" type="GnomeKeyringOperationDoneCallback"/>
640 <parameter name="data" type="gpointer"/>
641 <parameter name="destroy_data" type="GDestroyNotify"/>
642 </parameters>
643 </function>
644 <function name="store_password_sync" symbol="gnome_keyring_store_password_sync">
645 <return-type type="GnomeKeyringResult"/>
646 <parameters>
647 <parameter name="schema" type="GnomeKeyringPasswordSchema*"/>
648 <parameter name="keyring" type="gchar*"/>
649 <parameter name="display_name" type="gchar*"/>
650 <parameter name="password" type="gchar*"/>
651 </parameters>
652 </function>
653 <function name="string_list_free" symbol="gnome_keyring_string_list_free">
654 <return-type type="void"/>
655 <parameters>
656 <parameter name="strings" type="GList*"/>
657 </parameters>
658 </function>
659 <function name="unlock" symbol="gnome_keyring_unlock">
660 <return-type type="gpointer"/>
661 <parameters>
662 <parameter name="keyring" type="char*"/>
663 <parameter name="password" type="char*"/>
664 <parameter name="callback" type="GnomeKeyringOperationDoneCallback"/>
665 <parameter name="data" type="gpointer"/>
666 <parameter name="destroy_data" type="GDestroyNotify"/>
667 </parameters>
668 </function>
669 <function name="unlock_sync" symbol="gnome_keyring_unlock_sync">
670 <return-type type="GnomeKeyringResult"/>
671 <parameters>
672 <parameter name="keyring" type="char*"/>
673 <parameter name="password" type="char*"/>
674 </parameters>
675 </function>
676 <callback name="GnomeKeyringOperationDoneCallback">
677 <return-type type="void"/>
678 <parameters>
679 <parameter name="result" type="GnomeKeyringResult"/>
680 <parameter name="data" type="gpointer"/>
681 </parameters>
682 </callback>
683 <callback name="GnomeKeyringOperationGetAttributesCallback">
684 <return-type type="void"/>
685 <parameters>
686 <parameter name="result" type="GnomeKeyringResult"/>
687 <parameter name="attributes" type="GnomeKeyringAttributeList*"/>
688 <parameter name="data" type="gpointer"/>
689 </parameters>
690 </callback>
691 <callback name="GnomeKeyringOperationGetIntCallback">
692 <return-type type="void"/>
693 <parameters>
694 <parameter name="result" type="GnomeKeyringResult"/>
695 <parameter name="val" type="guint32"/>
696 <parameter name="data" type="gpointer"/>
697 </parameters>
698 </callback>
699 <callback name="GnomeKeyringOperationGetItemInfoCallback">
700 <return-type type="void"/>
701 <parameters>
702 <parameter name="result" type="GnomeKeyringResult"/>
703 <parameter name="info" type="GnomeKeyringItemInfo*"/>
704 <parameter name="data" type="gpointer"/>
705 </parameters>
706 </callback>
707 <callback name="GnomeKeyringOperationGetKeyringInfoCallback">
708 <return-type type="void"/>
709 <parameters>
710 <parameter name="result" type="GnomeKeyringResult"/>
711 <parameter name="info" type="GnomeKeyringInfo*"/>
712 <parameter name="data" type="gpointer"/>
713 </parameters>
714 </callback>
715 <callback name="GnomeKeyringOperationGetListCallback">
716 <return-type type="void"/>
717 <parameters>
718 <parameter name="result" type="GnomeKeyringResult"/>
719 <parameter name="list" type="GList*"/>
720 <parameter name="data" type="gpointer"/>
721 </parameters>
722 </callback>
723 <callback name="GnomeKeyringOperationGetStringCallback">
724 <return-type type="void"/>
725 <parameters>
726 <parameter name="result" type="GnomeKeyringResult"/>
727 <parameter name="string" type="char*"/>
728 <parameter name="data" type="gpointer"/>
729 </parameters>
730 </callback>
731 <struct name="GnomeKeyringAccessControl">
732 <method name="copy" symbol="gnome_keyring_access_control_copy">
733 <return-type type="GnomeKeyringAccessControl*"/>
734 <parameters>
735 <parameter name="ac" type="GnomeKeyringAccessControl*"/>
736 </parameters>
737 </method>
738 <method name="free" symbol="gnome_keyring_access_control_free">
739 <return-type type="void"/>
740 <parameters>
741 <parameter name="ac" type="GnomeKeyringAccessControl*"/>
742 </parameters>
743 </method>
744 <method name="new" symbol="gnome_keyring_access_control_new">
745 <return-type type="GnomeKeyringAccessControl*"/>
746 <parameters>
747 <parameter name="application" type="GnomeKeyringApplicationRef*"/>
748 <parameter name="types_allowed" type="GnomeKeyringAccessType"/>
749 </parameters>
750 </method>
751 </struct>
752 <struct name="GnomeKeyringApplicationRef">
753 <method name="copy" symbol="gnome_keyring_application_ref_copy">
754 <return-type type="GnomeKeyringApplicationRef*"/>
755 <parameters>
756 <parameter name="app" type="GnomeKeyringApplicationRef*"/>
757 </parameters>
758 </method>
759 <method name="free" symbol="gnome_keyring_application_ref_free">
760 <return-type type="void"/>
761 <parameters>
762 <parameter name="app" type="GnomeKeyringApplicationRef*"/>
763 </parameters>
764 </method>
765 <method name="new" symbol="gnome_keyring_application_ref_new">
766 <return-type type="GnomeKeyringApplicationRef*"/>
767 </method>
768 </struct>
769 <struct name="GnomeKeyringAttribute">
770 <field name="name" type="char*"/>
771 <field name="type" type="GnomeKeyringAttributeType"/>
772 <field name="value" type="gpointer"/>
773 </struct>
774 <struct name="GnomeKeyringAttributeList">
775 <method name="append_string" symbol="gnome_keyring_attribute_list_append_string">
776 <return-type type="void"/>
777 <parameters>
778 <parameter name="attributes" type="GnomeKeyringAttributeList*"/>
779 <parameter name="name" type="char*"/>
780 <parameter name="value" type="char*"/>
781 </parameters>
782 </method>
783 <method name="append_uint32" symbol="gnome_keyring_attribute_list_append_uint32">
784 <return-type type="void"/>
785 <parameters>
786 <parameter name="attributes" type="GnomeKeyringAttributeList*"/>
787 <parameter name="name" type="char*"/>
788 <parameter name="value" type="guint32"/>
789 </parameters>
790 </method>
791 <method name="copy" symbol="gnome_keyring_attribute_list_copy">
792 <return-type type="GnomeKeyringAttributeList*"/>
793 <parameters>
794 <parameter name="attributes" type="GnomeKeyringAttributeList*"/>
795 </parameters>
796 </method>
797 <method name="free" symbol="gnome_keyring_attribute_list_free">
798 <return-type type="void"/>
799 <parameters>
800 <parameter name="attributes" type="GnomeKeyringAttributeList*"/>
801 </parameters>
802 </method>
803 </struct>
804 <struct name="GnomeKeyringFound">
805 <method name="free" symbol="gnome_keyring_found_free">
806 <return-type type="void"/>
807 <parameters>
808 <parameter name="found" type="GnomeKeyringFound*"/>
809 </parameters>
810 </method>
811 <method name="list_free" symbol="gnome_keyring_found_list_free">
812 <return-type type="void"/>
813 <parameters>
814 <parameter name="found_list" type="GList*"/>
815 </parameters>
816 </method>
817 <field name="keyring" type="char*"/>
818 <field name="item_id" type="guint"/>
819 <field name="attributes" type="GnomeKeyringAttributeList*"/>
820 <field name="secret" type="char*"/>
821 </struct>
822 <struct name="GnomeKeyringInfo">
823 <method name="copy" symbol="gnome_keyring_info_copy">
824 <return-type type="GnomeKeyringInfo*"/>
825 <parameters>
826 <parameter name="keyring_info" type="GnomeKeyringInfo*"/>
827 </parameters>
828 </method>
829 <method name="free" symbol="gnome_keyring_info_free">
830 <return-type type="void"/>
831 <parameters>
832 <parameter name="keyring_info" type="GnomeKeyringInfo*"/>
833 </parameters>
834 </method>
835 <method name="get_ctime" symbol="gnome_keyring_info_get_ctime">
836 <return-type type="time_t"/>
837 <parameters>
838 <parameter name="keyring_info" type="GnomeKeyringInfo*"/>
839 </parameters>
840 </method>
841 <method name="get_is_locked" symbol="gnome_keyring_info_get_is_locked">
842 <return-type type="gboolean"/>
843 <parameters>
844 <parameter name="keyring_info" type="GnomeKeyringInfo*"/>
845 </parameters>
846 </method>
847 <method name="get_lock_on_idle" symbol="gnome_keyring_info_get_lock_on_idle">
848 <return-type type="gboolean"/>
849 <parameters>
850 <parameter name="keyring_info" type="GnomeKeyringInfo*"/>
851 </parameters>
852 </method>
853 <method name="get_lock_timeout" symbol="gnome_keyring_info_get_lock_timeout">
854 <return-type type="guint32"/>
855 <parameters>
856 <parameter name="keyring_info" type="GnomeKeyringInfo*"/>
857 </parameters>
858 </method>
859 <method name="get_mtime" symbol="gnome_keyring_info_get_mtime">
860 <return-type type="time_t"/>
861 <parameters>
862 <parameter name="keyring_info" type="GnomeKeyringInfo*"/>
863 </parameters>
864 </method>
865 <method name="set_lock_on_idle" symbol="gnome_keyring_info_set_lock_on_idle">
866 <return-type type="void"/>
867 <parameters>
868 <parameter name="keyring_info" type="GnomeKeyringInfo*"/>
869 <parameter name="value" type="gboolean"/>
870 </parameters>
871 </method>
872 <method name="set_lock_timeout" symbol="gnome_keyring_info_set_lock_timeout">
873 <return-type type="void"/>
874 <parameters>
875 <parameter name="keyring_info" type="GnomeKeyringInfo*"/>
876 <parameter name="value" type="guint32"/>
877 </parameters>
878 </method>
879 </struct>
880 <struct name="GnomeKeyringItemInfo">
881 <method name="copy" symbol="gnome_keyring_item_info_copy">
882 <return-type type="GnomeKeyringItemInfo*"/>
883 <parameters>
884 <parameter name="item_info" type="GnomeKeyringItemInfo*"/>
885 </parameters>
886 </method>
887 <method name="free" symbol="gnome_keyring_item_info_free">
888 <return-type type="void"/>
889 <parameters>
890 <parameter name="item_info" type="GnomeKeyringItemInfo*"/>
891 </parameters>
892 </method>
893 <method name="get_ctime" symbol="gnome_keyring_item_info_get_ctime">
894 <return-type type="time_t"/>
895 <parameters>
896 <parameter name="item_info" type="GnomeKeyringItemInfo*"/>
897 </parameters>
898 </method>
899 <method name="get_display_name" symbol="gnome_keyring_item_info_get_display_name">
900 <return-type type="char*"/>
901 <parameters>
902 <parameter name="item_info" type="GnomeKeyringItemInfo*"/>
903 </parameters>
904 </method>
905 <method name="get_mtime" symbol="gnome_keyring_item_info_get_mtime">
906 <return-type type="time_t"/>
907 <parameters>
908 <parameter name="item_info" type="GnomeKeyringItemInfo*"/>
909 </parameters>
910 </method>
911 <method name="get_secret" symbol="gnome_keyring_item_info_get_secret">
912 <return-type type="char*"/>
913 <parameters>
914 <parameter name="item_info" type="GnomeKeyringItemInfo*"/>
915 </parameters>
916 </method>
917 <method name="new" symbol="gnome_keyring_item_info_new">
918 <return-type type="GnomeKeyringItemInfo*"/>
919 </method>
920 <method name="set_display_name" symbol="gnome_keyring_item_info_set_display_name">
921 <return-type type="void"/>
922 <parameters>
923 <parameter name="item_info" type="GnomeKeyringItemInfo*"/>
924 <parameter name="value" type="char*"/>
925 </parameters>
926 </method>
927 <method name="set_secret" symbol="gnome_keyring_item_info_set_secret">
928 <return-type type="void"/>
929 <parameters>
930 <parameter name="item_info" type="GnomeKeyringItemInfo*"/>
931 <parameter name="value" type="char*"/>
932 </parameters>
933 </method>
934 <method name="set_type" symbol="gnome_keyring_item_info_set_type">
935 <return-type type="void"/>
936 <parameters>
937 <parameter name="item_info" type="GnomeKeyringItemInfo*"/>
938 <parameter name="type" type="GnomeKeyringItemType"/>
939 </parameters>
940 </method>
941 </struct>
942 <struct name="GnomeKeyringNetworkPasswordData">
943 <field name="keyring" type="char*"/>
944 <field name="item_id" type="guint32"/>
945 <field name="protocol" type="char*"/>
946 <field name="server" type="char*"/>
947 <field name="object" type="char*"/>
948 <field name="authtype" type="char*"/>
949 <field name="port" type="guint32"/>
950 <field name="user" type="char*"/>
951 <field name="domain" type="char*"/>
952 <field name="password" type="char*"/>
953 </struct>
954 <struct name="GnomeKeyringPasswordSchema">
955 <field name="item_type" type="GnomeKeyringItemType"/>
956 <field name="attributes" type="gpointer[]"/>
957 <field name="reserved1" type="gpointer"/>
958 <field name="reserved2" type="gpointer"/>
959 <field name="reserved3" type="gpointer"/>
960 </struct>
961 <enum name="GnomeKeyringAccessRestriction">
962 <member name="GNOME_KEYRING_ACCESS_ASK" value="0"/>
963 <member name="GNOME_KEYRING_ACCESS_DENY" value="1"/>
964 <member name="GNOME_KEYRING_ACCESS_ALLOW" value="2"/>
965 </enum>
966 <enum name="GnomeKeyringAccessType">
967 <member name="GNOME_KEYRING_ACCESS_READ" value="1"/>
968 <member name="GNOME_KEYRING_ACCESS_WRITE" value="2"/>
969 <member name="GNOME_KEYRING_ACCESS_REMOVE" value="4"/>
970 </enum>
971 <enum name="GnomeKeyringAttributeType">
972 <member name="GNOME_KEYRING_ATTRIBUTE_TYPE_STRING" value="0"/>
973 <member name="GNOME_KEYRING_ATTRIBUTE_TYPE_UINT32" value="1"/>
974 </enum>
975 <enum name="GnomeKeyringItemInfoFlags">
976 <member name="GNOME_KEYRING_ITEM_INFO_BASICS" value="0"/>
977 <member name="GNOME_KEYRING_ITEM_INFO_SECRET" value="1"/>
978 </enum>
979 <enum name="GnomeKeyringItemType">
980 <member name="GNOME_KEYRING_ITEM_GENERIC_SECRET" value="0"/>
981 <member name="GNOME_KEYRING_ITEM_NETWORK_PASSWORD" value="1"/>
982 <member name="GNOME_KEYRING_ITEM_NOTE" value="2"/>
983 <member name="GNOME_KEYRING_ITEM_CHAINED_KEYRING_PASSWORD" value="3"/>
984 <member name="GNOME_KEYRING_ITEM_ENCRYPTION_KEY_PASSWORD" value="4"/>
985 <member name="GNOME_KEYRING_ITEM_PK_STORAGE" value="256"/>
986 <member name="GNOME_KEYRING_ITEM_LAST_TYPE" value="257"/>
987 </enum>
988 <enum name="GnomeKeyringResult">
989 <member name="GNOME_KEYRING_RESULT_OK" value="0"/>
990 <member name="GNOME_KEYRING_RESULT_DENIED" value="1"/>
991 <member name="GNOME_KEYRING_RESULT_NO_KEYRING_DAEMON" value="2"/>
992 <member name="GNOME_KEYRING_RESULT_ALREADY_UNLOCKED" value="3"/>
993 <member name="GNOME_KEYRING_RESULT_NO_SUCH_KEYRING" value="4"/>
994 <member name="GNOME_KEYRING_RESULT_BAD_ARGUMENTS" value="5"/>
995 <member name="GNOME_KEYRING_RESULT_IO_ERROR" value="6"/>
996 <member name="GNOME_KEYRING_RESULT_CANCELLED" value="7"/>
997 <member name="GNOME_KEYRING_RESULT_KEYRING_ALREADY_EXISTS" value="8"/>
998 <member name="GNOME_KEYRING_RESULT_NO_MATCH" value="9"/>
999 </enum>
1000 <constant name="GNOME_KEYRING_ITEM_APPLICATION_SECRET" type="int" value="16777216"/>
1001 <constant name="GNOME_KEYRING_ITEM_INFO_ALL" type="int" value="0"/>
1002 <constant name="GNOME_KEYRING_ITEM_TYPE_MASK" type="int" value="65535"/>
1003 <constant name="GNOME_KEYRING_SESSION" type="char*" value="session"/>
1004 </namespace>
1005 </api>