CodeWriter: Write [Diagnostics] attribute
[vala-lang.git] / vapi / packages / libepc-1.0 / libepc-1.0.gi
blob479ea6d530bd49fbeee32ba637cd93c97b1be5d7
1 <?xml version="1.0"?>
2 <api version="1.0">
3 <namespace name="Epc">
4 <function name="address_family_get_class" symbol="epc_address_family_get_class">
5 <return-type type="GEnumClass*"/>
6 </function>
7 <function name="address_family_to_string" symbol="epc_address_family_to_string">
8 <return-type type="gchar*"/>
9 <parameters>
10 <parameter name="value" type="EpcAddressFamily"/>
11 </parameters>
12 </function>
13 <function name="auth_flags_get_class" symbol="epc_auth_flags_get_class">
14 <return-type type="GFlagsClass*"/>
15 </function>
16 <function name="auth_flags_to_string" symbol="epc_auth_flags_to_string">
17 <return-type type="gchar*"/>
18 <parameters>
19 <parameter name="value" type="EpcAuthFlags"/>
20 </parameters>
21 </function>
22 <function name="collision_handling_get_class" symbol="epc_collision_handling_get_class">
23 <return-type type="GEnumClass*"/>
24 </function>
25 <function name="collision_handling_to_string" symbol="epc_collision_handling_to_string">
26 <return-type type="gchar*"/>
27 <parameters>
28 <parameter name="value" type="EpcCollisionHandling"/>
29 </parameters>
30 </function>
31 <function name="http_error_quark" symbol="epc_http_error_quark">
32 <return-type type="GQuark"/>
33 </function>
34 <function name="protocol_build_uri" symbol="epc_protocol_build_uri">
35 <return-type type="gchar*"/>
36 <parameters>
37 <parameter name="protocol" type="EpcProtocol"/>
38 <parameter name="hostname" type="gchar*"/>
39 <parameter name="port" type="guint16"/>
40 <parameter name="path" type="gchar*"/>
41 </parameters>
42 </function>
43 <function name="protocol_from_name" symbol="epc_protocol_from_name">
44 <return-type type="EpcProtocol"/>
45 <parameters>
46 <parameter name="name" type="gchar*"/>
47 <parameter name="fallback" type="EpcProtocol"/>
48 </parameters>
49 </function>
50 <function name="protocol_get_class" symbol="epc_protocol_get_class">
51 <return-type type="GEnumClass*"/>
52 </function>
53 <function name="protocol_get_service_type" symbol="epc_protocol_get_service_type">
54 <return-type type="gchar*"/>
55 <parameters>
56 <parameter name="protocol" type="EpcProtocol"/>
57 </parameters>
58 </function>
59 <function name="protocol_get_uri_scheme" symbol="epc_protocol_get_uri_scheme">
60 <return-type type="gchar*"/>
61 <parameters>
62 <parameter name="protocol" type="EpcProtocol"/>
63 </parameters>
64 </function>
65 <function name="protocol_to_string" symbol="epc_protocol_to_string">
66 <return-type type="gchar*"/>
67 <parameters>
68 <parameter name="value" type="EpcProtocol"/>
69 </parameters>
70 </function>
71 <function name="service_type_get_base" symbol="epc_service_type_get_base">
72 <return-type type="gchar*"/>
73 <parameters>
74 <parameter name="type" type="gchar*"/>
75 </parameters>
76 </function>
77 <function name="service_type_get_protocol" symbol="epc_service_type_get_protocol">
78 <return-type type="EpcProtocol"/>
79 <parameters>
80 <parameter name="service_type" type="gchar*"/>
81 </parameters>
82 </function>
83 <function name="service_type_list_supported" symbol="epc_service_type_list_supported">
84 <return-type type="gchar**"/>
85 <parameters>
86 <parameter name="application" type="gchar*"/>
87 </parameters>
88 </function>
89 <function name="service_type_new" symbol="epc_service_type_new">
90 <return-type type="gchar*"/>
91 <parameters>
92 <parameter name="protocol" type="EpcProtocol"/>
93 <parameter name="application" type="gchar*"/>
94 </parameters>
95 </function>
96 <callback name="EpcAuthHandler">
97 <return-type type="gboolean"/>
98 <parameters>
99 <parameter name="context" type="EpcAuthContext*"/>
100 <parameter name="username" type="gchar*"/>
101 <parameter name="user_data" type="gpointer"/>
102 </parameters>
103 </callback>
104 <callback name="EpcContentsHandler">
105 <return-type type="EpcContents*"/>
106 <parameters>
107 <parameter name="publisher" type="EpcPublisher*"/>
108 <parameter name="key" type="gchar*"/>
109 <parameter name="user_data" type="gpointer"/>
110 </parameters>
111 </callback>
112 <callback name="EpcContentsReadFunc">
113 <return-type type="gboolean"/>
114 <parameters>
115 <parameter name="contents" type="EpcContents*"/>
116 <parameter name="buffer" type="gpointer"/>
117 <parameter name="length" type="gsize*"/>
118 <parameter name="user_data" type="gpointer"/>
119 </parameters>
120 </callback>
121 <struct name="EpcAuthContext">
122 <method name="check_password" symbol="epc_auth_context_check_password">
123 <return-type type="gboolean"/>
124 <parameters>
125 <parameter name="context" type="EpcAuthContext*"/>
126 <parameter name="password" type="gchar*"/>
127 </parameters>
128 </method>
129 <method name="get_key" symbol="epc_auth_context_get_key">
130 <return-type type="gchar*"/>
131 <parameters>
132 <parameter name="context" type="EpcAuthContext*"/>
133 </parameters>
134 </method>
135 <method name="get_password" symbol="epc_auth_context_get_password">
136 <return-type type="gchar*"/>
137 <parameters>
138 <parameter name="context" type="EpcAuthContext*"/>
139 </parameters>
140 </method>
141 <method name="get_publisher" symbol="epc_auth_context_get_publisher">
142 <return-type type="EpcPublisher*"/>
143 <parameters>
144 <parameter name="context" type="EpcAuthContext*"/>
145 </parameters>
146 </method>
147 </struct>
148 <struct name="EpcContents">
149 <method name="get_data" symbol="epc_contents_get_data">
150 <return-type type="gconstpointer"/>
151 <parameters>
152 <parameter name="contents" type="EpcContents*"/>
153 <parameter name="length" type="gsize*"/>
154 </parameters>
155 </method>
156 <method name="get_mime_type" symbol="epc_contents_get_mime_type">
157 <return-type type="gchar*"/>
158 <parameters>
159 <parameter name="contents" type="EpcContents*"/>
160 </parameters>
161 </method>
162 <method name="is_stream" symbol="epc_contents_is_stream">
163 <return-type type="gboolean"/>
164 <parameters>
165 <parameter name="contents" type="EpcContents*"/>
166 </parameters>
167 </method>
168 <method name="new" symbol="epc_contents_new">
169 <return-type type="EpcContents*"/>
170 <parameters>
171 <parameter name="type" type="gchar*"/>
172 <parameter name="data" type="gpointer"/>
173 <parameter name="length" type="gssize"/>
174 <parameter name="destroy_data" type="GDestroyNotify"/>
175 </parameters>
176 </method>
177 <method name="new_dup" symbol="epc_contents_new_dup">
178 <return-type type="EpcContents*"/>
179 <parameters>
180 <parameter name="type" type="gchar*"/>
181 <parameter name="data" type="gconstpointer"/>
182 <parameter name="length" type="gssize"/>
183 </parameters>
184 </method>
185 <method name="ref" symbol="epc_contents_ref">
186 <return-type type="EpcContents*"/>
187 <parameters>
188 <parameter name="contents" type="EpcContents*"/>
189 </parameters>
190 </method>
191 <method name="stream_new" symbol="epc_contents_stream_new">
192 <return-type type="EpcContents*"/>
193 <parameters>
194 <parameter name="type" type="gchar*"/>
195 <parameter name="callback" type="EpcContentsReadFunc"/>
196 <parameter name="user_data" type="gpointer"/>
197 <parameter name="destroy_data" type="GDestroyNotify"/>
198 </parameters>
199 </method>
200 <method name="stream_read" symbol="epc_contents_stream_read">
201 <return-type type="gconstpointer"/>
202 <parameters>
203 <parameter name="contents" type="EpcContents*"/>
204 <parameter name="length" type="gsize*"/>
205 </parameters>
206 </method>
207 <method name="unref" symbol="epc_contents_unref">
208 <return-type type="void"/>
209 <parameters>
210 <parameter name="contents" type="EpcContents*"/>
211 </parameters>
212 </method>
213 </struct>
214 <boxed name="EpcServiceInfo" type-name="EpcServiceInfo" get-type="epc_service_info_get_type">
215 <method name="get_address" symbol="epc_service_info_get_address">
216 <return-type type="AvahiAddress*"/>
217 <parameters>
218 <parameter name="info" type="EpcServiceInfo*"/>
219 </parameters>
220 </method>
221 <method name="get_address_family" symbol="epc_service_info_get_address_family">
222 <return-type type="EpcAddressFamily"/>
223 <parameters>
224 <parameter name="info" type="EpcServiceInfo*"/>
225 </parameters>
226 </method>
227 <method name="get_detail" symbol="epc_service_info_get_detail">
228 <return-type type="gchar*"/>
229 <parameters>
230 <parameter name="info" type="EpcServiceInfo*"/>
231 <parameter name="name" type="gchar*"/>
232 </parameters>
233 </method>
234 <method name="get_host" symbol="epc_service_info_get_host">
235 <return-type type="gchar*"/>
236 <parameters>
237 <parameter name="info" type="EpcServiceInfo*"/>
238 </parameters>
239 </method>
240 <method name="get_interface" symbol="epc_service_info_get_interface">
241 <return-type type="gchar*"/>
242 <parameters>
243 <parameter name="info" type="EpcServiceInfo*"/>
244 </parameters>
245 </method>
246 <method name="get_port" symbol="epc_service_info_get_port">
247 <return-type type="guint"/>
248 <parameters>
249 <parameter name="info" type="EpcServiceInfo*"/>
250 </parameters>
251 </method>
252 <method name="get_service_type" symbol="epc_service_info_get_service_type">
253 <return-type type="gchar*"/>
254 <parameters>
255 <parameter name="info" type="EpcServiceInfo*"/>
256 </parameters>
257 </method>
258 <constructor name="new" symbol="epc_service_info_new">
259 <return-type type="EpcServiceInfo*"/>
260 <parameters>
261 <parameter name="type" type="gchar*"/>
262 <parameter name="host" type="gchar*"/>
263 <parameter name="port" type="guint"/>
264 <parameter name="details" type="AvahiStringList*"/>
265 </parameters>
266 </constructor>
267 <constructor name="new_full" symbol="epc_service_info_new_full">
268 <return-type type="EpcServiceInfo*"/>
269 <parameters>
270 <parameter name="type" type="gchar*"/>
271 <parameter name="host" type="gchar*"/>
272 <parameter name="port" type="guint"/>
273 <parameter name="details" type="AvahiStringList*"/>
274 <parameter name="address" type="AvahiAddress*"/>
275 <parameter name="ifname" type="gchar*"/>
276 </parameters>
277 </constructor>
278 <method name="ref" symbol="epc_service_info_ref">
279 <return-type type="EpcServiceInfo*"/>
280 <parameters>
281 <parameter name="info" type="EpcServiceInfo*"/>
282 </parameters>
283 </method>
284 <method name="unref" symbol="epc_service_info_unref">
285 <return-type type="void"/>
286 <parameters>
287 <parameter name="info" type="EpcServiceInfo*"/>
288 </parameters>
289 </method>
290 </boxed>
291 <enum name="EpcAddressFamily" type-name="EpcAddressFamily" get-type="epc_address_family_get_type">
292 <member name="EPC_ADDRESS_UNSPEC" value="0"/>
293 <member name="EPC_ADDRESS_IPV4" value="2"/>
294 <member name="EPC_ADDRESS_IPV6" value="10"/>
295 </enum>
296 <enum name="EpcCollisionHandling" type-name="EpcCollisionHandling" get-type="epc_collision_handling_get_type">
297 <member name="EPC_COLLISIONS_IGNORE" value="0"/>
298 <member name="EPC_COLLISIONS_CHANGE_NAME" value="1"/>
299 <member name="EPC_COLLISIONS_UNIQUE_SERVICE" value="2"/>
300 </enum>
301 <enum name="EpcProtocol" type-name="EpcProtocol" get-type="epc_protocol_get_type">
302 <member name="EPC_PROTOCOL_UNKNOWN" value="0"/>
303 <member name="EPC_PROTOCOL_HTTP" value="1"/>
304 <member name="EPC_PROTOCOL_HTTPS" value="2"/>
305 </enum>
306 <flags name="EpcAuthFlags" type-name="EpcAuthFlags" get-type="epc_auth_flags_get_type">
307 <member name="EPC_AUTH_DEFAULT" value="0"/>
308 <member name="EPC_AUTH_PASSWORD_TEXT_NEEDED" value="1"/>
309 </flags>
310 <object name="EpcConsumer" parent="GObject" type-name="EpcConsumer" get-type="epc_consumer_get_type">
311 <method name="get_password" symbol="epc_consumer_get_password">
312 <return-type type="gchar*"/>
313 <parameters>
314 <parameter name="consumer" type="EpcConsumer*"/>
315 </parameters>
316 </method>
317 <method name="get_protocol" symbol="epc_consumer_get_protocol">
318 <return-type type="EpcProtocol"/>
319 <parameters>
320 <parameter name="consumer" type="EpcConsumer*"/>
321 </parameters>
322 </method>
323 <method name="get_username" symbol="epc_consumer_get_username">
324 <return-type type="gchar*"/>
325 <parameters>
326 <parameter name="consumer" type="EpcConsumer*"/>
327 </parameters>
328 </method>
329 <method name="is_publisher_resolved" symbol="epc_consumer_is_publisher_resolved">
330 <return-type type="gboolean"/>
331 <parameters>
332 <parameter name="consumer" type="EpcConsumer*"/>
333 </parameters>
334 </method>
335 <method name="list" symbol="epc_consumer_list">
336 <return-type type="GList*"/>
337 <parameters>
338 <parameter name="consumer" type="EpcConsumer*"/>
339 <parameter name="pattern" type="gchar*"/>
340 <parameter name="error" type="GError**"/>
341 </parameters>
342 </method>
343 <method name="lookup" symbol="epc_consumer_lookup">
344 <return-type type="gpointer"/>
345 <parameters>
346 <parameter name="consumer" type="EpcConsumer*"/>
347 <parameter name="key" type="gchar*"/>
348 <parameter name="length" type="gsize*"/>
349 <parameter name="error" type="GError**"/>
350 </parameters>
351 </method>
352 <constructor name="new" symbol="epc_consumer_new">
353 <return-type type="EpcConsumer*"/>
354 <parameters>
355 <parameter name="service" type="EpcServiceInfo*"/>
356 </parameters>
357 </constructor>
358 <constructor name="new_for_name" symbol="epc_consumer_new_for_name">
359 <return-type type="EpcConsumer*"/>
360 <parameters>
361 <parameter name="name" type="gchar*"/>
362 </parameters>
363 </constructor>
364 <constructor name="new_for_name_full" symbol="epc_consumer_new_for_name_full">
365 <return-type type="EpcConsumer*"/>
366 <parameters>
367 <parameter name="name" type="gchar*"/>
368 <parameter name="application" type="gchar*"/>
369 <parameter name="domain" type="gchar*"/>
370 </parameters>
371 </constructor>
372 <method name="resolve_publisher" symbol="epc_consumer_resolve_publisher">
373 <return-type type="gboolean"/>
374 <parameters>
375 <parameter name="consumer" type="EpcConsumer*"/>
376 <parameter name="timeout" type="guint"/>
377 </parameters>
378 </method>
379 <method name="set_password" symbol="epc_consumer_set_password">
380 <return-type type="void"/>
381 <parameters>
382 <parameter name="consumer" type="EpcConsumer*"/>
383 <parameter name="password" type="gchar*"/>
384 </parameters>
385 </method>
386 <method name="set_protocol" symbol="epc_consumer_set_protocol">
387 <return-type type="void"/>
388 <parameters>
389 <parameter name="consumer" type="EpcConsumer*"/>
390 <parameter name="protocol" type="EpcProtocol"/>
391 </parameters>
392 </method>
393 <method name="set_username" symbol="epc_consumer_set_username">
394 <return-type type="void"/>
395 <parameters>
396 <parameter name="consumer" type="EpcConsumer*"/>
397 <parameter name="username" type="gchar*"/>
398 </parameters>
399 </method>
400 <property name="application" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
401 <property name="domain" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
402 <property name="hostname" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
403 <property name="name" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
404 <property name="password" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
405 <property name="path" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
406 <property name="port" type="gint" readable="1" writable="1" construct="0" construct-only="1"/>
407 <property name="protocol" type="EpcProtocol" readable="1" writable="1" construct="1" construct-only="0"/>
408 <property name="username" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
409 <signal name="authenticate" when="LAST">
410 <return-type type="gboolean"/>
411 <parameters>
412 <parameter name="consumer" type="EpcConsumer*"/>
413 <parameter name="realm" type="char*"/>
414 </parameters>
415 </signal>
416 <signal name="publisher-resolved" when="FIRST">
417 <return-type type="void"/>
418 <parameters>
419 <parameter name="consumer" type="EpcConsumer*"/>
420 <parameter name="protocol" type="EpcProtocol"/>
421 <parameter name="hostname" type="char*"/>
422 <parameter name="port" type="guint"/>
423 </parameters>
424 </signal>
425 </object>
426 <object name="EpcDispatcher" parent="GObject" type-name="EpcDispatcher" get-type="epc_dispatcher_get_type">
427 <method name="add_service" symbol="epc_dispatcher_add_service">
428 <return-type type="void"/>
429 <parameters>
430 <parameter name="dispatcher" type="EpcDispatcher*"/>
431 <parameter name="protocol" type="EpcAddressFamily"/>
432 <parameter name="type" type="gchar*"/>
433 <parameter name="domain" type="gchar*"/>
434 <parameter name="host" type="gchar*"/>
435 <parameter name="port" type="guint16"/>
436 </parameters>
437 </method>
438 <method name="add_service_subtype" symbol="epc_dispatcher_add_service_subtype">
439 <return-type type="void"/>
440 <parameters>
441 <parameter name="dispatcher" type="EpcDispatcher*"/>
442 <parameter name="type" type="gchar*"/>
443 <parameter name="subtype" type="gchar*"/>
444 </parameters>
445 </method>
446 <method name="get_collision_handling" symbol="epc_dispatcher_get_collision_handling">
447 <return-type type="EpcCollisionHandling"/>
448 <parameters>
449 <parameter name="dispatcher" type="EpcDispatcher*"/>
450 </parameters>
451 </method>
452 <method name="get_cookie" symbol="epc_dispatcher_get_cookie">
453 <return-type type="gchar*"/>
454 <parameters>
455 <parameter name="dispatcher" type="EpcDispatcher*"/>
456 </parameters>
457 </method>
458 <method name="get_name" symbol="epc_dispatcher_get_name">
459 <return-type type="gchar*"/>
460 <parameters>
461 <parameter name="dispatcher" type="EpcDispatcher*"/>
462 </parameters>
463 </method>
464 <constructor name="new" symbol="epc_dispatcher_new">
465 <return-type type="EpcDispatcher*"/>
466 <parameters>
467 <parameter name="name" type="gchar*"/>
468 </parameters>
469 </constructor>
470 <method name="reset" symbol="epc_dispatcher_reset">
471 <return-type type="void"/>
472 <parameters>
473 <parameter name="dispatcher" type="EpcDispatcher*"/>
474 </parameters>
475 </method>
476 <method name="run" symbol="epc_dispatcher_run">
477 <return-type type="gboolean"/>
478 <parameters>
479 <parameter name="dispatcher" type="EpcDispatcher*"/>
480 <parameter name="error" type="GError**"/>
481 </parameters>
482 </method>
483 <method name="set_collision_handling" symbol="epc_dispatcher_set_collision_handling">
484 <return-type type="void"/>
485 <parameters>
486 <parameter name="dispatcher" type="EpcDispatcher*"/>
487 <parameter name="method" type="EpcCollisionHandling"/>
488 </parameters>
489 </method>
490 <method name="set_cookie" symbol="epc_dispatcher_set_cookie">
491 <return-type type="void"/>
492 <parameters>
493 <parameter name="dispatcher" type="EpcDispatcher*"/>
494 <parameter name="cookie" type="gchar*"/>
495 </parameters>
496 </method>
497 <method name="set_name" symbol="epc_dispatcher_set_name">
498 <return-type type="void"/>
499 <parameters>
500 <parameter name="dispatcher" type="EpcDispatcher*"/>
501 <parameter name="name" type="gchar*"/>
502 </parameters>
503 </method>
504 <method name="set_service_details" symbol="epc_dispatcher_set_service_details">
505 <return-type type="void"/>
506 <parameters>
507 <parameter name="dispatcher" type="EpcDispatcher*"/>
508 <parameter name="type" type="gchar*"/>
509 </parameters>
510 </method>
511 <property name="collision-handling" type="EpcCollisionHandling" readable="1" writable="1" construct="1" construct-only="0"/>
512 <property name="cookie" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
513 <property name="name" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
514 </object>
515 <object name="EpcPublisher" parent="GObject" type-name="EpcPublisher" get-type="epc_publisher_get_type">
516 <method name="add" symbol="epc_publisher_add">
517 <return-type type="void"/>
518 <parameters>
519 <parameter name="publisher" type="EpcPublisher*"/>
520 <parameter name="key" type="gchar*"/>
521 <parameter name="data" type="gconstpointer"/>
522 <parameter name="length" type="gssize"/>
523 </parameters>
524 </method>
525 <method name="add_bookmark" symbol="epc_publisher_add_bookmark">
526 <return-type type="void"/>
527 <parameters>
528 <parameter name="publisher" type="EpcPublisher*"/>
529 <parameter name="key" type="gchar*"/>
530 <parameter name="label" type="gchar*"/>
531 </parameters>
532 </method>
533 <method name="add_file" symbol="epc_publisher_add_file">
534 <return-type type="void"/>
535 <parameters>
536 <parameter name="publisher" type="EpcPublisher*"/>
537 <parameter name="key" type="gchar*"/>
538 <parameter name="filename" type="gchar*"/>
539 </parameters>
540 </method>
541 <method name="add_handler" symbol="epc_publisher_add_handler">
542 <return-type type="void"/>
543 <parameters>
544 <parameter name="publisher" type="EpcPublisher*"/>
545 <parameter name="key" type="gchar*"/>
546 <parameter name="handler" type="EpcContentsHandler"/>
547 <parameter name="user_data" type="gpointer"/>
548 <parameter name="destroy_data" type="GDestroyNotify"/>
549 </parameters>
550 </method>
551 <method name="expand_name" symbol="epc_publisher_expand_name">
552 <return-type type="gchar*"/>
553 <parameters>
554 <parameter name="name" type="gchar*"/>
555 <parameter name="error" type="GError**"/>
556 </parameters>
557 </method>
558 <method name="get_auth_flags" symbol="epc_publisher_get_auth_flags">
559 <return-type type="EpcAuthFlags"/>
560 <parameters>
561 <parameter name="publisher" type="EpcPublisher*"/>
562 </parameters>
563 </method>
564 <method name="get_certificate_file" symbol="epc_publisher_get_certificate_file">
565 <return-type type="gchar*"/>
566 <parameters>
567 <parameter name="publisher" type="EpcPublisher*"/>
568 </parameters>
569 </method>
570 <method name="get_collision_handling" symbol="epc_publisher_get_collision_handling">
571 <return-type type="EpcCollisionHandling"/>
572 <parameters>
573 <parameter name="publisher" type="EpcPublisher*"/>
574 </parameters>
575 </method>
576 <method name="get_contents_path" symbol="epc_publisher_get_contents_path">
577 <return-type type="gchar*"/>
578 <parameters>
579 <parameter name="publisher" type="EpcPublisher*"/>
580 </parameters>
581 </method>
582 <method name="get_path" symbol="epc_publisher_get_path">
583 <return-type type="gchar*"/>
584 <parameters>
585 <parameter name="publisher" type="EpcPublisher*"/>
586 <parameter name="key" type="gchar*"/>
587 </parameters>
588 </method>
589 <method name="get_private_key_file" symbol="epc_publisher_get_private_key_file">
590 <return-type type="gchar*"/>
591 <parameters>
592 <parameter name="publisher" type="EpcPublisher*"/>
593 </parameters>
594 </method>
595 <method name="get_protocol" symbol="epc_publisher_get_protocol">
596 <return-type type="EpcProtocol"/>
597 <parameters>
598 <parameter name="publisher" type="EpcPublisher*"/>
599 </parameters>
600 </method>
601 <method name="get_service_cookie" symbol="epc_publisher_get_service_cookie">
602 <return-type type="gchar*"/>
603 <parameters>
604 <parameter name="publisher" type="EpcPublisher*"/>
605 </parameters>
606 </method>
607 <method name="get_service_domain" symbol="epc_publisher_get_service_domain">
608 <return-type type="gchar*"/>
609 <parameters>
610 <parameter name="publisher" type="EpcPublisher*"/>
611 </parameters>
612 </method>
613 <method name="get_service_name" symbol="epc_publisher_get_service_name">
614 <return-type type="gchar*"/>
615 <parameters>
616 <parameter name="publisher" type="EpcPublisher*"/>
617 </parameters>
618 </method>
619 <method name="get_uri" symbol="epc_publisher_get_uri">
620 <return-type type="gchar*"/>
621 <parameters>
622 <parameter name="publisher" type="EpcPublisher*"/>
623 <parameter name="key" type="gchar*"/>
624 <parameter name="error" type="GError**"/>
625 </parameters>
626 </method>
627 <method name="has_key" symbol="epc_publisher_has_key">
628 <return-type type="gboolean"/>
629 <parameters>
630 <parameter name="publisher" type="EpcPublisher*"/>
631 <parameter name="key" type="gchar*"/>
632 </parameters>
633 </method>
634 <method name="list" symbol="epc_publisher_list">
635 <return-type type="GList*"/>
636 <parameters>
637 <parameter name="publisher" type="EpcPublisher*"/>
638 <parameter name="pattern" type="gchar*"/>
639 </parameters>
640 </method>
641 <method name="lookup" symbol="epc_publisher_lookup">
642 <return-type type="gpointer"/>
643 <parameters>
644 <parameter name="publisher" type="EpcPublisher*"/>
645 <parameter name="key" type="gchar*"/>
646 </parameters>
647 </method>
648 <constructor name="new" symbol="epc_publisher_new">
649 <return-type type="EpcPublisher*"/>
650 <parameters>
651 <parameter name="name" type="gchar*"/>
652 <parameter name="application" type="gchar*"/>
653 <parameter name="domain" type="gchar*"/>
654 </parameters>
655 </constructor>
656 <method name="quit" symbol="epc_publisher_quit">
657 <return-type type="gboolean"/>
658 <parameters>
659 <parameter name="publisher" type="EpcPublisher*"/>
660 </parameters>
661 </method>
662 <method name="remove" symbol="epc_publisher_remove">
663 <return-type type="gboolean"/>
664 <parameters>
665 <parameter name="publisher" type="EpcPublisher*"/>
666 <parameter name="key" type="gchar*"/>
667 </parameters>
668 </method>
669 <method name="run" symbol="epc_publisher_run">
670 <return-type type="gboolean"/>
671 <parameters>
672 <parameter name="publisher" type="EpcPublisher*"/>
673 <parameter name="error" type="GError**"/>
674 </parameters>
675 </method>
676 <method name="run_async" symbol="epc_publisher_run_async">
677 <return-type type="gboolean"/>
678 <parameters>
679 <parameter name="publisher" type="EpcPublisher*"/>
680 <parameter name="error" type="GError**"/>
681 </parameters>
682 </method>
683 <method name="set_auth_flags" symbol="epc_publisher_set_auth_flags">
684 <return-type type="void"/>
685 <parameters>
686 <parameter name="publisher" type="EpcPublisher*"/>
687 <parameter name="flags" type="EpcAuthFlags"/>
688 </parameters>
689 </method>
690 <method name="set_auth_handler" symbol="epc_publisher_set_auth_handler">
691 <return-type type="void"/>
692 <parameters>
693 <parameter name="publisher" type="EpcPublisher*"/>
694 <parameter name="key" type="gchar*"/>
695 <parameter name="handler" type="EpcAuthHandler"/>
696 <parameter name="user_data" type="gpointer"/>
697 <parameter name="destroy_data" type="GDestroyNotify"/>
698 </parameters>
699 </method>
700 <method name="set_collision_handling" symbol="epc_publisher_set_collision_handling">
701 <return-type type="void"/>
702 <parameters>
703 <parameter name="publisher" type="EpcPublisher*"/>
704 <parameter name="method" type="EpcCollisionHandling"/>
705 </parameters>
706 </method>
707 <method name="set_contents_path" symbol="epc_publisher_set_contents_path">
708 <return-type type="void"/>
709 <parameters>
710 <parameter name="publisher" type="EpcPublisher*"/>
711 <parameter name="path" type="gchar*"/>
712 </parameters>
713 </method>
714 <method name="set_credentials" symbol="epc_publisher_set_credentials">
715 <return-type type="void"/>
716 <parameters>
717 <parameter name="publisher" type="EpcPublisher*"/>
718 <parameter name="certfile" type="gchar*"/>
719 <parameter name="keyfile" type="gchar*"/>
720 </parameters>
721 </method>
722 <method name="set_protocol" symbol="epc_publisher_set_protocol">
723 <return-type type="void"/>
724 <parameters>
725 <parameter name="publisher" type="EpcPublisher*"/>
726 <parameter name="protocol" type="EpcProtocol"/>
727 </parameters>
728 </method>
729 <method name="set_service_cookie" symbol="epc_publisher_set_service_cookie">
730 <return-type type="void"/>
731 <parameters>
732 <parameter name="publisher" type="EpcPublisher*"/>
733 <parameter name="cookie" type="gchar*"/>
734 </parameters>
735 </method>
736 <method name="set_service_name" symbol="epc_publisher_set_service_name">
737 <return-type type="void"/>
738 <parameters>
739 <parameter name="publisher" type="EpcPublisher*"/>
740 <parameter name="name" type="gchar*"/>
741 </parameters>
742 </method>
743 <property name="application" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
744 <property name="auth-flags" type="EpcAuthFlags" readable="1" writable="1" construct="1" construct-only="0"/>
745 <property name="certificate-file" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
746 <property name="collision-handling" type="EpcCollisionHandling" readable="1" writable="1" construct="1" construct-only="0"/>
747 <property name="contents-path" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
748 <property name="private-key-file" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
749 <property name="protocol" type="EpcProtocol" readable="1" writable="1" construct="1" construct-only="0"/>
750 <property name="service-cookie" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
751 <property name="service-domain" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
752 <property name="service-name" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
753 </object>
754 <object name="EpcServiceMonitor" parent="GObject" type-name="EpcServiceMonitor" get-type="epc_service_monitor_get_type">
755 <method name="get_skip_our_own" symbol="epc_service_monitor_get_skip_our_own">
756 <return-type type="gboolean"/>
757 <parameters>
758 <parameter name="monitor" type="EpcServiceMonitor*"/>
759 </parameters>
760 </method>
761 <constructor name="new" symbol="epc_service_monitor_new">
762 <return-type type="EpcServiceMonitor*"/>
763 <parameters>
764 <parameter name="application" type="gchar*"/>
765 <parameter name="domain" type="gchar*"/>
766 <parameter name="first_protocol" type="EpcProtocol"/>
767 </parameters>
768 </constructor>
769 <constructor name="new_for_types" symbol="epc_service_monitor_new_for_types">
770 <return-type type="EpcServiceMonitor*"/>
771 <parameters>
772 <parameter name="domain" type="gchar*"/>
773 </parameters>
774 </constructor>
775 <constructor name="new_for_types_strv" symbol="epc_service_monitor_new_for_types_strv">
776 <return-type type="EpcServiceMonitor*"/>
777 <parameters>
778 <parameter name="domain" type="gchar*"/>
779 <parameter name="types" type="gchar**"/>
780 </parameters>
781 </constructor>
782 <method name="set_skip_our_own" symbol="epc_service_monitor_set_skip_our_own">
783 <return-type type="void"/>
784 <parameters>
785 <parameter name="monitor" type="EpcServiceMonitor*"/>
786 <parameter name="setting" type="gboolean"/>
787 </parameters>
788 </method>
789 <property name="application" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
790 <property name="domain" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
791 <property name="service-types" type="GStrv*" readable="1" writable="1" construct="0" construct-only="1"/>
792 <property name="skip-our-own" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
793 <signal name="scanning-done" when="FIRST">
794 <return-type type="void"/>
795 <parameters>
796 <parameter name="monitor" type="EpcServiceMonitor*"/>
797 <parameter name="type" type="char*"/>
798 </parameters>
799 </signal>
800 <signal name="service-found" when="FIRST">
801 <return-type type="void"/>
802 <parameters>
803 <parameter name="monitor" type="EpcServiceMonitor*"/>
804 <parameter name="name" type="char*"/>
805 <parameter name="info" type="EpcServiceInfo*"/>
806 </parameters>
807 </signal>
808 <signal name="service-removed" when="FIRST">
809 <return-type type="void"/>
810 <parameters>
811 <parameter name="monitor" type="EpcServiceMonitor*"/>
812 <parameter name="name" type="char*"/>
813 <parameter name="type" type="char*"/>
814 </parameters>
815 </signal>
816 </object>
817 <constant name="EPC_SERVICE_TYPE_HTTP" type="char*" value="_easy-publish-http._tcp"/>
818 <constant name="EPC_SERVICE_TYPE_HTTPS" type="char*" value="_easy-publish-https._tcp"/>
819 </namespace>
820 </api>