2 ; object definitions ...
6 (c-name "BeagleClient")
7 (gtype-id "BEAGLE_TYPE_CLIENT")
10 (define-object QueryPart
13 (c-name "BeagleQueryPart")
14 (gtype-id "BEAGLE_TYPE_QUERY_PART")
17 (define-object QueryPartDate
19 (parent "BeagleQueryPart")
20 (c-name "BeagleQueryPartDate")
21 (gtype-id "BEAGLE_TYPE_QUERY_PART_DATE")
24 (define-object QueryPartHuman
26 (parent "BeagleQueryPart")
27 (c-name "BeagleQueryPartHuman")
28 (gtype-id "BEAGLE_TYPE_QUERY_PART_HUMAN")
31 (define-object QueryPartOr
33 (parent "BeagleQueryPart")
34 (c-name "BeagleQueryPartOr")
35 (gtype-id "BEAGLE_TYPE_QUERY_PART_OR")
38 (define-object QueryPartProperty
40 (parent "BeagleQueryPart")
41 (c-name "BeagleQueryPartProperty")
42 (gtype-id "BEAGLE_TYPE_QUERY_PART_PROPERTY")
45 (define-object QueryPartText
47 (parent "BeagleQueryPart")
48 (c-name "BeagleQueryPartText")
49 (gtype-id "BEAGLE_TYPE_QUERY_PART_TEXT")
52 (define-object QueryPartWildcard
54 (parent "BeagleQueryPart")
55 (c-name "BeagleQueryPartWildcard")
56 (gtype-id "BEAGLE_TYPE_QUERY_PART_WILDCARD")
59 (define-object Request
62 (c-name "BeagleRequest")
63 (gtype-id "BEAGLE_TYPE_REQUEST")
68 (parent "BeagleRequest")
69 (c-name "BeagleQuery")
70 (gtype-id "BEAGLE_TYPE_QUERY")
73 (define-object InformationalMessagesRequest
75 (parent "BeagleRequest")
76 (c-name "BeagleInformationalMessagesRequest")
77 (gtype-id "BEAGLE_TYPE_INFORMATIONAL_MESSAGES_REQUEST")
80 (define-object IndexingServiceRequest
82 (parent "BeagleRequest")
83 (c-name "BeagleIndexingServiceRequest")
84 (gtype-id "BEAGLE_TYPE_INDEXING_SERVICE_REQUEST")
87 (define-object DaemonInformationRequest
89 (parent "BeagleRequest")
90 (c-name "BeagleDaemonInformationRequest")
91 (gtype-id "BEAGLE_TYPE_DAEMON_INFORMATION_REQUEST")
94 (define-object Response
97 (c-name "BeagleResponse")
98 (gtype-id "BEAGLE_TYPE_RESPONSE")
101 (define-object IndexingStatusResponse
103 (parent "BeagleResponse")
104 (c-name "BeagleIndexingStatusResponse")
105 (gtype-id "BEAGLE_TYPE_INDEXING_STATUS_RESPONSE")
108 (define-object HitsSubtractedResponse
110 (parent "BeagleResponse")
111 (c-name "BeagleHitsSubtractedResponse")
112 (gtype-id "BEAGLE_TYPE_HITS_SUBTRACTED_RESPONSE")
115 (define-object HitsAddedResponse
117 (parent "BeagleResponse")
118 (c-name "BeagleHitsAddedResponse")
119 (gtype-id "BEAGLE_TYPE_HITS_ADDED_RESPONSE")
122 (define-object FinishedResponse
124 (parent "BeagleResponse")
125 (c-name "BeagleFinishedResponse")
126 (gtype-id "BEAGLE_TYPE_FINISHED_RESPONSE")
129 (define-object ErrorResponse
131 (parent "BeagleResponse")
132 (c-name "BeagleErrorResponse")
133 (gtype-id "BEAGLE_TYPE_ERROR_RESPONSE")
136 (define-object EmptyResponse
138 (parent "BeagleResponse")
139 (c-name "BeagleEmptyResponse")
140 (gtype-id "BEAGLE_TYPE_EMPTY_RESPONSE")
143 (define-object DaemonInformationResponse
145 (parent "BeagleResponse")
146 (c-name "BeagleDaemonInformationResponse")
147 (gtype-id "BEAGLE_TYPE_DAEMON_INFORMATION_RESPONSE")
150 (define-object SearchTermResponse
152 (parent "BeagleResponse")
153 (c-name "BeagleSearchTermResponse")
154 (gtype-id "BEAGLE_TYPE_SEARCH_TERM_RESPONSE")
157 (define-object ShutdownRequest
159 (parent "BeagleRequest")
160 (c-name "BeagleShutdownRequest")
161 (gtype-id "BEAGLE_TYPE_SHUTDOWN_REQUEST")
164 (define-object SnippetRequest
166 (parent "BeagleRequest")
167 (c-name "BeagleSnippetRequest")
168 (gtype-id "BEAGLE_TYPE_SNIPPET_REQUEST")
171 (define-object SnippetResponse
173 (parent "BeagleResponse")
174 (c-name "BeagleSnippetResponse")
175 (gtype-id "BEAGLE_TYPE_SNIPPET_RESPONSE")
178 ;; Enumerations and flags ...
180 (define-enum IndexableType
182 (c-name "BeagleIndexableType")
184 '("add" "BEAGLE_INDEXABLE_TYPE_ADD")
185 '("remove" "BEAGLE_INDEXABLE_TYPE_REMOVE")
186 '("property-change" "BEAGLE_INDEXABLE_TYPE_PROPERTY_CHANGE")
190 (define-enum IndexableFiltering
192 (c-name "BeagleIndexableFiltering")
194 '("always" "BEAGLE_INDEXABLE_FILTERING_ALWAYS")
195 '("already-filtered" "BEAGLE_INDEXABLE_FILTERING_ALREADY_FILTERED")
196 '("automatic" "BEAGLE_INDEXABLE_FILTERING_AUTOMATIC")
197 '("never" "BEAGLE_INDEXABLE_FILTERING_NEVER")
201 (define-enum PropertyType
203 (c-name "BeaglePropertyType")
205 '("unknown" "BEAGLE_PROPERTY_TYPE_UNKNOWN")
206 '("text" "BEAGLE_PROPERTY_TYPE_TEXT")
207 '("keyword" "BEAGLE_PROPERTY_TYPE_KEYWORD")
208 '("date" "BEAGLE_PROPERTY_TYPE_DATE")
209 '("last" "BEAGLE_PROPERTY_TYPE_LAST")
213 (define-enum QueryableState
215 (c-name "BeagleQueryableState")
217 '("na" "BEAGLE_QUERYABLE_STATE_NA")
218 '("idle" "BEAGLE_QUERYABLE_STATE_IDLE")
219 '("crawling" "BEAGLE_QUERYABLE_STATE_CRAWLING")
220 '("indexing" "BEAGLE_QUERYABLE_STATE_INDEXING")
221 '("flushing" "BEAGLE_QUERYABLE_STATE_FLUSHING")
225 (define-enum QueryDomain
227 (c-name "BeagleQueryDomain")
229 '("local" "BEAGLE_QUERY_DOMAIN_LOCAL")
230 '("system" "BEAGLE_QUERY_DOMAIN_SYSTEM")
231 '("neighborhood" "BEAGLE_QUERY_DOMAIN_NEIGHBORHOOD")
232 '("global" "BEAGLE_QUERY_DOMAIN_GLOBAL")
236 (define-enum QueryPartLogic
238 (c-name "BeagleQueryPartLogic")
240 '("required" "BEAGLE_QUERY_PART_LOGIC_REQUIRED")
241 '("prohibited" "BEAGLE_QUERY_PART_LOGIC_PROHIBITED")
247 (c-name "BeagleError")
249 '("r" "BEAGLE_ERROR_DAEMON_ERROR")
254 ;; From ../../libbeagle/beagle/beagle-client.h
256 (define-function beagle_client_get_type
257 (c-name "beagle_client_get_type")
258 (return-type "GType")
261 (define-function beagle_client_new
262 (c-name "beagle_client_new")
263 (is-constructor-of "BeagleClient")
264 (return-type "BeagleClient*")
266 '("const-char*" "client_name")
270 (define-function beagle_client_new_from_socket_path
271 (c-name "beagle_client_new_from_socket_path")
272 (return-type "BeagleClient*")
274 '("const-char*" "socket_path")
278 (define-method send_request
279 (of-object "BeagleClient")
280 (c-name "beagle_client_send_request")
281 (return-type "BeagleResponse*")
283 '("BeagleRequest*" "request")
288 (define-method send_request_async
289 (of-object "BeagleClient")
290 (c-name "beagle_client_send_request_async")
291 (return-type "gboolean")
293 '("BeagleRequest*" "request")
300 ;; From ../../libbeagle/beagle/beagle-daemon-information-request.h
302 (define-function beagle_daemon_information_request_get_type
303 (c-name "beagle_daemon_information_request_get_type")
304 (return-type "GType")
307 (define-function beagle_daemon_information_request_new
308 (c-name "beagle_daemon_information_request_new")
309 (is-constructor-of "BeagleDaemonInformationRequest")
310 (return-type "BeagleDaemonInformationRequest*")
313 (define-function beagle_daemon_information_request_new_specific
314 (c-name "beagle_daemon_information_request_new_specific")
315 (return-type "BeagleDaemonInformationRequest*")
317 '("gboolean" "get_version")
318 '("gboolean" "get_sched_info")
319 '("gboolean" "get_index_status")
320 '("gboolean" "get_is_indexing")
326 ;; From ../../libbeagle/beagle/beagle-daemon-information-response.h
328 (define-function beagle_daemon_information_response_get_type
329 (c-name "beagle_daemon_information_response_get_type")
330 (return-type "GType")
333 (define-method get_version
334 (of-object "BeagleDaemonInformationResponse")
335 (c-name "beagle_daemon_information_response_get_version")
336 (return-type "const-char*")
339 (define-method get_scheduler_information
340 (of-object "BeagleDaemonInformationResponse")
341 (c-name "beagle_daemon_information_response_get_scheduler_information")
342 (return-type "BeagleSchedulerInformation*")
345 (define-method get_human_readable_status
346 (of-object "BeagleDaemonInformationResponse")
347 (c-name "beagle_daemon_information_response_get_human_readable_status")
348 (return-type "const-char*")
351 (define-method get_index_status
352 (of-object "BeagleDaemonInformationResponse")
353 (c-name "beagle_daemon_information_response_get_index_status")
354 (return-type "GSList*")
357 (define-method get_index_information
358 (of-object "BeagleDaemonInformationResponse")
359 (c-name "beagle_daemon_information_response_get_index_information")
360 (return-type "const-char*")
363 (define-method is_indexing
364 (of-object "BeagleDaemonInformationResponse")
365 (c-name "beagle_daemon_information_response_is_indexing")
366 (return-type "gboolean")
371 ;; From ../../libbeagle/beagle/beagle-empty-response.h
373 (define-function beagle_empty_response_get_type
374 (c-name "beagle_empty_response_get_type")
375 (return-type "GType")
380 ;; From ../../libbeagle/beagle/beagle-error-response.h
382 (define-function beagle_error_response_get_type
383 (c-name "beagle_error_response_get_type")
384 (return-type "GType")
387 (define-method get_message
388 (of-object "BeagleErrorResponse")
389 (c-name "beagle_error_response_get_message")
390 (return-type "const-char*")
393 (define-method get_details
394 (of-object "BeagleErrorResponse")
395 (c-name "beagle_error_response_get_details")
396 (return-type "const-char*")
401 ;; From ../../libbeagle/beagle/beagle-finished-response.h
403 (define-function beagle_finished_response_get_type
404 (c-name "beagle_finished_response_get_type")
405 (return-type "GType")
410 ;; From ../../libbeagle/beagle/beagle.h
414 ;; From ../../libbeagle/beagle/beagle-hit.h
417 (of-object "BeagleHit")
418 (c-name "beagle_hit_ref")
419 (return-type "BeagleHit*")
423 (of-object "BeagleHit")
424 (c-name "beagle_hit_unref")
428 (define-method get_uri
429 (of-object "BeagleHit")
430 (c-name "beagle_hit_get_uri")
431 (return-type "const-char*")
434 (define-method get_type
435 (of-object "BeagleHit")
436 (c-name "beagle_hit_get_type")
437 (return-type "const-char*")
440 (define-method get_mime_type
441 (of-object "BeagleHit")
442 (c-name "beagle_hit_get_mime_type")
443 (return-type "const-char*")
446 (define-method get_source
447 (of-object "BeagleHit")
448 (c-name "beagle_hit_get_source")
449 (return-type "const-char*")
452 (define-method get_parent_uri
453 (of-object "BeagleHit")
454 (c-name "beagle_hit_get_parent_uri")
455 (return-type "const-char*")
458 (define-method get_timestamp
459 (of-object "BeagleHit")
460 (c-name "beagle_hit_get_timestamp")
461 (return-type "BeagleTimestamp*")
464 (define-method get_score
465 (of-object "BeagleHit")
466 (c-name "beagle_hit_get_score")
467 (return-type "double")
470 (define-method get_one_property
471 (of-object "BeagleHit")
472 (c-name "beagle_hit_get_one_property")
473 (return-type "gboolean")
475 '("const-char*" "key")
476 '("const-char**" "value")
480 (define-method get_properties
481 (of-object "BeagleHit")
482 (c-name "beagle_hit_get_properties")
483 (return-type "GSList*")
485 '("const-char*" "key")
489 (define-method get_all_properties
490 (of-object "BeagleHit")
491 (c-name "beagle_hit_get_all_properties")
492 (return-type "GSList*")
497 ;; From ../../libbeagle/beagle/beagle-hits-added-response.h
499 (define-function beagle_hits_added_response_get_type
500 (c-name "beagle_hits_added_response_get_type")
501 (return-type "GType")
504 (define-method get_hits
505 (of-object "BeagleHitsAddedResponse")
506 (c-name "beagle_hits_added_response_get_hits")
507 (return-type "GSList*")
510 (define-method get_num_matches
511 (of-object "BeagleHitsAddedResponse")
512 (c-name "beagle_hits_added_response_get_num_matches")
518 ;; From ../../libbeagle/beagle/beagle-hits-subtracted-response.h
520 (define-function beagle_hits_subtracted_response_get_type
521 (c-name "beagle_hits_subtracted_response_get_type")
522 (return-type "GType")
525 (define-method get_uris
526 (of-object "BeagleHitsSubtractedResponse")
527 (c-name "beagle_hits_subtracted_response_get_uris")
528 (return-type "GSList*")
533 ;; From ../../libbeagle/beagle/beagle-indexable.h
535 (define-function beagle_indexable_new
536 (c-name "beagle_indexable_new")
537 (is-constructor-of "BeagleIndexable")
538 (return-type "BeagleIndexable*")
540 '("const-char*" "uri")
545 (of-object "BeagleIndexable")
546 (c-name "beagle_indexable_free")
550 (define-method add_property
551 (of-object "BeagleIndexable")
552 (c-name "beagle_indexable_add_property")
555 '("BeagleProperty*" "prop")
559 (define-method get_type
560 (of-object "BeagleIndexable")
561 (c-name "beagle_indexable_get_type")
562 (return-type "BeagleIndexableType")
565 (define-method set_type
566 (of-object "BeagleIndexable")
567 (c-name "beagle_indexable_set_type")
570 '("BeagleIndexableType" "type")
574 (define-method get_uri
575 (of-object "BeagleIndexable")
576 (c-name "beagle_indexable_get_uri")
577 (return-type "const-char*")
580 (define-method set_uri
581 (of-object "BeagleIndexable")
582 (c-name "beagle_indexable_set_uri")
585 '("const-char*" "uri")
589 (define-method get_parent_uri
590 (of-object "BeagleIndexable")
591 (c-name "beagle_indexable_get_parent_uri")
592 (return-type "const-char*")
595 (define-method set_parent_uri
596 (of-object "BeagleIndexable")
597 (c-name "beagle_indexable_set_parent_uri")
600 '("const-char*" "uri")
604 (define-method get_content_uri
605 (of-object "BeagleIndexable")
606 (c-name "beagle_indexable_get_content_uri")
607 (return-type "const-char*")
610 (define-method set_content_uri
611 (of-object "BeagleIndexable")
612 (c-name "beagle_indexable_set_content_uri")
615 '("const-char*" "content_uri")
619 (define-method get_hot_content_uri
620 (of-object "BeagleIndexable")
621 (c-name "beagle_indexable_get_hot_content_uri")
622 (return-type "const-char*")
625 (define-method set_hot_content_uri
626 (of-object "BeagleIndexable")
627 (c-name "beagle_indexable_set_hot_content_uri")
630 '("const-char*" "hot_content_uri")
634 (define-method get_timestamp
635 (of-object "BeagleIndexable")
636 (c-name "beagle_indexable_get_timestamp")
637 (return-type "BeagleTimestamp*")
640 (define-method set_timestamp
641 (of-object "BeagleIndexable")
642 (c-name "beagle_indexable_set_timestamp")
645 '("BeagleTimestamp*" "timestamp")
649 (define-method get_delete_content
650 (of-object "BeagleIndexable")
651 (c-name "beagle_indexable_get_delete_content")
652 (return-type "gboolean")
655 (define-method set_delete_content
656 (of-object "BeagleIndexable")
657 (c-name "beagle_indexable_set_delete_content")
660 '("gboolean" "delete_content")
664 (define-method get_crawled
665 (of-object "BeagleIndexable")
666 (c-name "beagle_indexable_get_crawled")
667 (return-type "gboolean")
670 (define-method set_crawled
671 (of-object "BeagleIndexable")
672 (c-name "beagle_indexable_set_crawled")
675 '("gboolean" "crawled")
679 (define-method get_no_content
680 (of-object "BeagleIndexable")
681 (c-name "beagle_indexable_get_no_content")
682 (return-type "gboolean")
685 (define-method set_no_content
686 (of-object "BeagleIndexable")
687 (c-name "beagle_indexable_set_no_content")
690 '("gboolean" "no_content")
694 (define-method get_cache_content
695 (of-object "BeagleIndexable")
696 (c-name "beagle_indexable_get_cache_content")
697 (return-type "gboolean")
700 (define-method set_cache_content
701 (of-object "BeagleIndexable")
702 (c-name "beagle_indexable_set_cache_content")
705 '("gboolean" "cache_content")
709 (define-method get_filtering
710 (of-object "BeagleIndexable")
711 (c-name "beagle_indexable_get_filtering")
712 (return-type "BeagleIndexableFiltering")
715 (define-method set_filtering
716 (of-object "BeagleIndexable")
717 (c-name "beagle_indexable_set_filtering")
720 '("BeagleIndexableFiltering" "filtering")
724 (define-method get_hit_type
725 (of-object "BeagleIndexable")
726 (c-name "beagle_indexable_get_hit_type")
727 (return-type "const-char*")
730 (define-method set_hit_type
731 (of-object "BeagleIndexable")
732 (c-name "beagle_indexable_set_hit_type")
735 '("const-char*" "hit_type")
739 (define-method get_mime_type
740 (of-object "BeagleIndexable")
741 (c-name "beagle_indexable_get_mime_type")
742 (return-type "const-char*")
745 (define-method set_mime_type
746 (of-object "BeagleIndexable")
747 (c-name "beagle_indexable_set_mime_type")
750 '("const-char*" "mime_type")
754 (define-method get_source
755 (of-object "BeagleIndexable")
756 (c-name "beagle_indexable_get_source")
757 (return-type "const-char*")
760 (define-method set_source
761 (of-object "BeagleIndexable")
762 (c-name "beagle_indexable_set_source")
765 '("const-char*" "source")
771 ;; From ../../libbeagle/beagle/beagle-indexing-service-request.h
773 (define-function beagle_indexing_service_request_get_type
774 (c-name "beagle_indexing_service_request_get_type")
775 (return-type "GType")
778 (define-function beagle_indexing_service_request_new
779 (c-name "beagle_indexing_service_request_new")
780 (is-constructor-of "BeagleIndexingServiceRequest")
781 (return-type "BeagleIndexingServiceRequest*")
784 (define-function beagle_indexing_service_request_new_for_service
785 (c-name "beagle_indexing_service_request_new_for_service")
786 (return-type "BeagleIndexingServiceRequest*")
788 '("const-char*" "name")
793 (of-object "BeagleIndexingServiceRequest")
794 (c-name "beagle_indexing_service_request_add")
797 '("BeagleIndexable*" "indexable")
801 (define-method remove
802 (of-object "BeagleIndexingServiceRequest")
803 (c-name "beagle_indexing_service_request_remove")
806 '("const-char*" "uri")
812 ;; From ../../libbeagle/beagle/beagle-indexing-status-response.h
814 (define-function beagle_indexing_status_response_get_type
815 (c-name "beagle_indexing_status_response_get_type")
816 (return-type "GType")
819 (define-function beagle_indexing_status_is_indexing
820 (c-name "beagle_indexing_status_is_indexing")
821 (return-type "gboolean")
823 '("BeagleIndexingStatusResponse*" "response")
829 ;; From ../../libbeagle/beagle/beagle-informational-messages-request.h
831 (define-function beagle_informational_messages_request_get_type
832 (c-name "beagle_informational_messages_request_get_type")
833 (return-type "GType")
836 (define-function beagle_informational_messages_request_new
837 (c-name "beagle_informational_messages_request_new")
838 (is-constructor-of "BeagleInformationalMessagesRequest")
839 (return-type "BeagleInformationalMessagesRequest*")
844 ;; From ../../libbeagle/beagle/beagle-marshal.h
848 ;; From ../../libbeagle/beagle/beagle-parser.h
852 ;; From ../../libbeagle/beagle/beagle-private.h
856 ;; From ../../libbeagle/beagle/beagle-property.h
858 (define-function beagle_property_new
859 (c-name "beagle_property_new")
860 (is-constructor-of "BeagleProperty")
861 (return-type "BeagleProperty*")
863 '("BeaglePropertyType" "type")
864 '("const-char*" "key")
865 '("const-char*" "value")
870 (of-object "BeagleProperty")
871 (c-name "beagle_property_free")
875 (define-method get_type
876 (of-object "BeagleProperty")
877 (c-name "beagle_property_get_type")
878 (return-type "BeaglePropertyType")
881 (define-method set_type
882 (of-object "BeagleProperty")
883 (c-name "beagle_property_set_type")
886 '("BeaglePropertyType" "type")
890 (define-method get_key
891 (of-object "BeagleProperty")
892 (c-name "beagle_property_get_key")
893 (return-type "const-char*")
896 (define-method set_key
897 (of-object "BeagleProperty")
898 (c-name "beagle_property_set_key")
901 '("const-char*" "key")
905 (define-method get_value
906 (of-object "BeagleProperty")
907 (c-name "beagle_property_get_value")
908 (return-type "const-char*")
911 (define-method set_value
912 (of-object "BeagleProperty")
913 (c-name "beagle_property_set_value")
916 '("const-char*" "value")
920 (define-method get_is_searched
921 (of-object "BeagleProperty")
922 (c-name "beagle_property_get_is_searched")
923 (return-type "gboolean")
926 (define-method set_is_searched
927 (of-object "BeagleProperty")
928 (c-name "beagle_property_set_is_searched")
931 '("gboolean" "is_searched")
935 (define-method get_is_mutable
936 (of-object "BeagleProperty")
937 (c-name "beagle_property_get_is_mutable")
938 (return-type "gboolean")
941 (define-method set_is_mutable
942 (of-object "BeagleProperty")
943 (c-name "beagle_property_set_is_mutable")
946 '("gboolean" "is_keyword")
950 (define-method get_is_stored
951 (of-object "BeagleProperty")
952 (c-name "beagle_property_get_is_stored")
953 (return-type "gboolean")
956 (define-method set_is_stored
957 (of-object "BeagleProperty")
958 (c-name "beagle_property_set_is_stored")
961 '("gboolean" "is_stored")
967 ;; From ../../libbeagle/beagle/beagle-queryable-status.h
970 (of-object "BeagleQueryableStatus")
971 (c-name "beagle_queryable_status_ref")
972 (return-type "BeagleQueryableStatus*")
976 (of-object "BeagleQueryableStatus")
977 (c-name "beagle_queryable_status_unref")
981 (define-method get_name
982 (of-object "BeagleQueryableStatus")
983 (c-name "beagle_queryable_status_get_name")
984 (return-type "const-char*")
987 (define-method get_item_count
988 (of-object "BeagleQueryableStatus")
989 (c-name "beagle_queryable_status_get_item_count")
993 (define-method get_state
994 (of-object "BeagleQueryableStatus")
995 (c-name "beagle_queryable_status_get_state")
996 (return-type "BeagleQueryableState")
999 (define-method get_progress_percent
1000 (of-object "BeagleQueryableStatus")
1001 (c-name "beagle_queryable_status_get_progress_percent")
1005 (define-method get_is_indexing
1006 (of-object "BeagleQueryableStatus")
1007 (c-name "beagle_queryable_status_get_is_indexing")
1008 (return-type "gboolean")
1013 ;; From ../../libbeagle/beagle/beagle-query.h
1015 (define-function beagle_query_get_type
1016 (c-name "beagle_query_get_type")
1017 (return-type "GType")
1020 (define-function beagle_query_new
1021 (c-name "beagle_query_new")
1022 (is-constructor-of "BeagleQuery")
1023 (return-type "BeagleQuery*")
1026 (define-method add_part
1027 (of-object "BeagleQuery")
1028 (c-name "beagle_query_add_part")
1029 (return-type "none")
1031 '("BeagleQueryPart*" "part")
1035 (define-method add_text
1036 (of-object "BeagleQuery")
1037 (c-name "beagle_query_add_text")
1038 (return-type "none")
1040 '("const-char*" "str")
1044 (define-method add_mime_type
1045 (of-object "BeagleQuery")
1046 (c-name "beagle_query_add_mime_type")
1047 (return-type "none")
1049 '("const-char*" "mime_type")
1053 (define-method add_hit_type
1054 (of-object "BeagleQuery")
1055 (c-name "beagle_query_add_hit_type")
1056 (return-type "none")
1058 '("const-char*" "hit_type")
1062 (define-method add_source
1063 (of-object "BeagleQuery")
1064 (c-name "beagle_query_add_source")
1065 (return-type "none")
1067 '("const-char*" "source")
1071 (define-method set_domain
1072 (of-object "BeagleQuery")
1073 (c-name "beagle_query_set_domain")
1074 (return-type "none")
1076 '("BeagleQueryDomain" "domain")
1080 (define-method add_domain
1081 (of-object "BeagleQuery")
1082 (c-name "beagle_query_add_domain")
1083 (return-type "none")
1085 '("BeagleQueryDomain" "domain")
1089 (define-method remove_domain
1090 (of-object "BeagleQuery")
1091 (c-name "beagle_query_remove_domain")
1092 (return-type "none")
1094 '("BeagleQueryDomain" "domain")
1098 (define-method set_max_hits
1099 (of-object "BeagleQuery")
1100 (c-name "beagle_query_set_max_hits")
1101 (return-type "none")
1107 (define-method get_max_hits
1108 (of-object "BeagleQuery")
1109 (c-name "beagle_query_get_max_hits")
1113 (define-method get_exact_text
1114 (of-object "BeagleQuery")
1115 (c-name "beagle_query_get_exact_text")
1116 (return-type "GSList*")
1119 (define-method get_stemmed_text
1120 (of-object "BeagleQuery")
1121 (c-name "beagle_query_get_stemmed_text")
1122 (return-type "GSList*")
1127 ;; From ../../libbeagle/beagle/beagle-query-part-date.h
1129 (define-function beagle_query_part_date_get_type
1130 (c-name "beagle_query_part_date_get_type")
1131 (return-type "GType")
1134 (define-function beagle_query_part_date_new
1135 (c-name "beagle_query_part_date_new")
1136 (is-constructor-of "BeagleQueryPartDate")
1137 (return-type "BeagleQueryPartDate*")
1140 (define-method set_start_date
1141 (of-object "BeagleQueryPartDate")
1142 (c-name "beagle_query_part_date_set_start_date")
1143 (return-type "none")
1145 '("BeagleTimestamp*" "start_date")
1149 (define-method set_end_date
1150 (of-object "BeagleQueryPartDate")
1151 (c-name "beagle_query_part_date_set_end_date")
1152 (return-type "none")
1154 '("BeagleTimestamp*" "end_date")
1160 ;; From ../../libbeagle/beagle/beagle-query-part.h
1162 (define-function beagle_query_part_get_type
1163 (c-name "beagle_query_part_get_type")
1164 (return-type "GType")
1167 (define-method set_logic
1168 (of-object "BeagleQueryPart")
1169 (c-name "beagle_query_part_set_logic")
1170 (return-type "none")
1172 '("BeagleQueryPartLogic" "logic")
1178 ;; From ../../libbeagle/beagle/beagle-query-part-human.h
1180 (define-function beagle_query_part_human_get_type
1181 (c-name "beagle_query_part_human_get_type")
1182 (return-type "GType")
1185 (define-function beagle_query_part_human_new
1186 (c-name "beagle_query_part_human_new")
1187 (is-constructor-of "BeagleQueryPartHuman")
1188 (return-type "BeagleQueryPartHuman*")
1191 (define-method set_string
1192 (of-object "BeagleQueryPartHuman")
1193 (c-name "beagle_query_part_human_set_string")
1194 (return-type "none")
1196 '("const-char*" "string")
1202 ;; From ../../libbeagle/beagle/beagle-query-part-or.h
1204 (define-function beagle_query_part_or_get_type
1205 (c-name "beagle_query_part_or_get_type")
1206 (return-type "GType")
1209 (define-function beagle_query_part_or_new
1210 (c-name "beagle_query_part_or_new")
1211 (is-constructor-of "BeagleQueryPartOr")
1212 (return-type "BeagleQueryPartOr*")
1215 (define-method add_subpart
1216 (of-object "BeagleQueryPartOr")
1217 (c-name "beagle_query_part_or_add_subpart")
1218 (return-type "none")
1220 '("BeagleQueryPart*" "subpart")
1226 ;; From ../../libbeagle/beagle/beagle-query-part-property.h
1228 (define-function beagle_query_part_property_get_type
1229 (c-name "beagle_query_part_property_get_type")
1230 (return-type "GType")
1233 (define-function beagle_query_part_property_new
1234 (c-name "beagle_query_part_property_new")
1235 (is-constructor-of "BeagleQueryPartProperty")
1236 (return-type "BeagleQueryPartProperty*")
1239 (define-method set_key
1240 (of-object "BeagleQueryPartProperty")
1241 (c-name "beagle_query_part_property_set_key")
1242 (return-type "none")
1244 '("const-char*" "key")
1248 (define-method set_value
1249 (of-object "BeagleQueryPartProperty")
1250 (c-name "beagle_query_part_property_set_value")
1251 (return-type "none")
1253 '("const-char*" "value")
1257 (define-method set_property_type
1258 (of-object "BeagleQueryPartProperty")
1259 (c-name "beagle_query_part_property_set_property_type")
1260 (return-type "none")
1262 '("BeaglePropertyType" "prop_type")
1268 ;; From ../../libbeagle/beagle/beagle-query-part-text.h
1270 (define-function beagle_query_part_text_get_type
1271 (c-name "beagle_query_part_text_get_type")
1272 (return-type "GType")
1275 (define-function beagle_query_part_text_new
1276 (c-name "beagle_query_part_text_new")
1277 (is-constructor-of "BeagleQueryPartText")
1278 (return-type "BeagleQueryPartText*")
1281 (define-method set_text
1282 (of-object "BeagleQueryPartText")
1283 (c-name "beagle_query_part_text_set_text")
1284 (return-type "none")
1286 '("const-char*" "text")
1290 (define-method set_search_full_text
1291 (of-object "BeagleQueryPartText")
1292 (c-name "beagle_query_part_text_set_search_full_text")
1293 (return-type "none")
1295 '("gboolean" "search_full_text")
1299 (define-method set_search_properties
1300 (of-object "BeagleQueryPartText")
1301 (c-name "beagle_query_part_text_set_search_properties")
1302 (return-type "none")
1304 '("gboolean" "search_properties")
1310 ;; From ../../libbeagle/beagle/beagle-query-part-wildcard.h
1312 (define-function beagle_query_part_wildcard_get_type
1313 (c-name "beagle_query_part_wildcard_get_type")
1314 (return-type "GType")
1317 (define-function beagle_query_part_wildcard_new
1318 (c-name "beagle_query_part_wildcard_new")
1319 (is-constructor-of "BeagleQueryPartWildcard")
1320 (return-type "BeagleQueryPartWildcard*")
1323 (define-method set_query_string
1324 (of-object "BeagleQueryPartWildcard")
1325 (c-name "beagle_query_part_wildcard_set_query_string")
1326 (return-type "none")
1328 '("const-char*" "query_string")
1334 ;; From ../../libbeagle/beagle/beagle-request.h
1336 (define-function beagle_request_get_type
1337 (c-name "beagle_request_get_type")
1338 (return-type "GType")
1343 ;; From ../../libbeagle/beagle/beagle-response.h
1345 (define-function beagle_response_get_type
1346 (c-name "beagle_response_get_type")
1347 (return-type "GType")
1352 ;; From ../../libbeagle/beagle/beagle-scheduler-information.h
1355 (of-object "BeagleSchedulerInformation")
1356 (c-name "beagle_scheduler_information_ref")
1357 (return-type "BeagleSchedulerInformation*")
1360 (define-method unref
1361 (of-object "BeagleSchedulerInformation")
1362 (c-name "beagle_scheduler_information_unref")
1363 (return-type "none")
1366 (define-method get_total_task_count
1367 (of-object "BeagleSchedulerInformation")
1368 (c-name "beagle_scheduler_information_get_total_task_count")
1372 (define-method get_status_string
1373 (of-object "BeagleSchedulerInformation")
1374 (c-name "beagle_scheduler_information_get_status_string")
1375 (return-type "const-char*")
1378 (define-method get_pending_tasks
1379 (of-object "BeagleSchedulerInformation")
1380 (c-name "beagle_scheduler_information_get_pending_tasks")
1381 (return-type "GSList*")
1384 (define-method get_future_tasks
1385 (of-object "BeagleSchedulerInformation")
1386 (c-name "beagle_scheduler_information_get_future_tasks")
1387 (return-type "GSList*")
1390 (define-method get_blocked_tasks
1391 (of-object "BeagleSchedulerInformation")
1392 (c-name "beagle_scheduler_information_get_blocked_tasks")
1393 (return-type "GSList*")
1396 (define-method to_human_readable_string
1397 (of-object "BeagleSchedulerInformation")
1398 (c-name "beagle_scheduler_information_to_human_readable_string")
1399 (return-type "const-char*")
1404 ;; From ../../libbeagle/beagle/beagle-search-term-response.h
1406 (define-function beagle_search_term_response_get_type
1407 (c-name "beagle_search_term_response_get_type")
1408 (return-type "GType")
1413 ;; From ../../libbeagle/beagle/beagle-shutdown-request.h
1415 (define-function beagle_shutdown_request_get_type
1416 (c-name "beagle_shutdown_request_get_type")
1417 (return-type "GType")
1420 (define-function beagle_shutdown_request_new
1421 (c-name "beagle_shutdown_request_new")
1422 (is-constructor-of "BeagleShutdownRequest")
1423 (return-type "BeagleShutdownRequest*")
1428 ;; From ../../libbeagle/beagle/beagle-snippet-request.h
1430 (define-function beagle_snippet_request_get_type
1431 (c-name "beagle_snippet_request_get_type")
1432 (return-type "GType")
1435 (define-function beagle_snippet_request_new
1436 (c-name "beagle_snippet_request_new")
1437 (is-constructor-of "BeagleSnippetRequest")
1438 (return-type "BeagleSnippetRequest*")
1441 (define-method set_hit
1442 (of-object "BeagleSnippetRequest")
1443 (c-name "beagle_snippet_request_set_hit")
1444 (return-type "none")
1446 '("BeagleHit*" "hit")
1450 (define-method set_query
1451 (of-object "BeagleSnippetRequest")
1452 (c-name "beagle_snippet_request_set_query")
1453 (return-type "none")
1455 '("BeagleQuery*" "query")
1461 ;; From ../../libbeagle/beagle/beagle-snippet-response.h
1463 (define-function beagle_snippet_response_get_type
1464 (c-name "beagle_snippet_response_get_type")
1465 (return-type "GType")
1468 (define-method get_snippet
1469 (of-object "BeagleSnippetResponse")
1470 (c-name "beagle_snippet_response_get_snippet")
1471 (return-type "const-char*")
1476 ;; From ../../libbeagle/beagle/beagle-timestamp.h
1478 (define-function beagle_timestamp_new_from_string
1479 (c-name "beagle_timestamp_new_from_string")
1480 (return-type "BeagleTimestamp*")
1482 '("const-char*" "str")
1486 (define-function beagle_timestamp_new_from_unix_time
1487 (c-name "beagle_timestamp_new_from_unix_time")
1488 (return-type "BeagleTimestamp*")
1495 (of-object "BeagleTimestamp")
1496 (c-name "beagle_timestamp_free")
1497 (return-type "none")
1500 (define-method to_unix_time
1501 (of-object "BeagleTimestamp")
1502 (c-name "beagle_timestamp_to_unix_time")
1503 (return-type "gboolean")
1511 ;; From ../../libbeagle/beagle/beagle-util.h
1513 (define-function beagle_error_quark
1514 (c-name "beagle_error_quark")
1515 (return-type "GQuark")
1518 (define-function beagle_util_is_path_on_block_device
1519 (c-name "beagle_util_is_path_on_block_device")
1520 (return-type "gboolean")
1522 '("const-char*" "path")
1526 (define-function beagle_util_get_socket_path
1527 (c-name "beagle_util_get_socket_path")
1528 (return-type "gchar*")
1530 '("const-char*" "client_name")
1534 (define-function beagle_util_daemon_is_running
1535 (c-name "beagle_util_daemon_is_running")
1536 (return-type "gboolean")
1543 (in-module "Beagle")
1544 (c-name "BeagleHit")
1545 (gtype-id "BEAGLE_TYPE_HIT")
1548 (define-pointer Property
1549 (in-module "Beagle")
1550 (c-name "BeagleProperty")
1551 (gtype-id "BEAGLE_TYPE_PROPERTY")
1554 (define-pointer Timestamp
1555 (in-module "Beagle")
1556 (c-name "BeagleTimestamp")
1557 (gtype-id "BEAGLE_TYPE_TIMESTAMP")