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 IndexingServiceRequest
75 (parent "BeagleRequest")
76 (c-name "BeagleIndexingServiceRequest")
77 (gtype-id "BEAGLE_TYPE_INDEXING_SERVICE_REQUEST")
80 (define-object DaemonInformationRequest
82 (parent "BeagleRequest")
83 (c-name "BeagleDaemonInformationRequest")
84 (gtype-id "BEAGLE_TYPE_DAEMON_INFORMATION_REQUEST")
87 (define-object Response
90 (c-name "BeagleResponse")
91 (gtype-id "BEAGLE_TYPE_RESPONSE")
94 (define-object HitsSubtractedResponse
96 (parent "BeagleResponse")
97 (c-name "BeagleHitsSubtractedResponse")
98 (gtype-id "BEAGLE_TYPE_HITS_SUBTRACTED_RESPONSE")
101 (define-object HitsAddedResponse
103 (parent "BeagleResponse")
104 (c-name "BeagleHitsAddedResponse")
105 (gtype-id "BEAGLE_TYPE_HITS_ADDED_RESPONSE")
108 (define-object FinishedResponse
110 (parent "BeagleResponse")
111 (c-name "BeagleFinishedResponse")
112 (gtype-id "BEAGLE_TYPE_FINISHED_RESPONSE")
115 (define-object ErrorResponse
117 (parent "BeagleResponse")
118 (c-name "BeagleErrorResponse")
119 (gtype-id "BEAGLE_TYPE_ERROR_RESPONSE")
122 (define-object EmptyResponse
124 (parent "BeagleResponse")
125 (c-name "BeagleEmptyResponse")
126 (gtype-id "BEAGLE_TYPE_EMPTY_RESPONSE")
129 (define-object DaemonInformationResponse
131 (parent "BeagleResponse")
132 (c-name "BeagleDaemonInformationResponse")
133 (gtype-id "BEAGLE_TYPE_DAEMON_INFORMATION_RESPONSE")
136 (define-object SearchTermResponse
138 (parent "BeagleResponse")
139 (c-name "BeagleSearchTermResponse")
140 (gtype-id "BEAGLE_TYPE_SEARCH_TERM_RESPONSE")
143 (define-object ShutdownRequest
145 (parent "BeagleRequest")
146 (c-name "BeagleShutdownRequest")
147 (gtype-id "BEAGLE_TYPE_SHUTDOWN_REQUEST")
150 (define-object SnippetRequest
152 (parent "BeagleRequest")
153 (c-name "BeagleSnippetRequest")
154 (gtype-id "BEAGLE_TYPE_SNIPPET_REQUEST")
157 (define-object SnippetResponse
159 (parent "BeagleResponse")
160 (c-name "BeagleSnippetResponse")
161 (gtype-id "BEAGLE_TYPE_SNIPPET_RESPONSE")
164 ;; Enumerations and flags ...
166 (define-enum IndexableType
168 (c-name "BeagleIndexableType")
170 '("add" "BEAGLE_INDEXABLE_TYPE_ADD")
171 '("remove" "BEAGLE_INDEXABLE_TYPE_REMOVE")
172 '("property-change" "BEAGLE_INDEXABLE_TYPE_PROPERTY_CHANGE")
176 (define-enum IndexableFiltering
178 (c-name "BeagleIndexableFiltering")
180 '("always" "BEAGLE_INDEXABLE_FILTERING_ALWAYS")
181 '("already-filtered" "BEAGLE_INDEXABLE_FILTERING_ALREADY_FILTERED")
182 '("automatic" "BEAGLE_INDEXABLE_FILTERING_AUTOMATIC")
183 '("never" "BEAGLE_INDEXABLE_FILTERING_NEVER")
187 (define-enum PropertyType
189 (c-name "BeaglePropertyType")
191 '("unknown" "BEAGLE_PROPERTY_TYPE_UNKNOWN")
192 '("text" "BEAGLE_PROPERTY_TYPE_TEXT")
193 '("keyword" "BEAGLE_PROPERTY_TYPE_KEYWORD")
194 '("date" "BEAGLE_PROPERTY_TYPE_DATE")
195 '("last" "BEAGLE_PROPERTY_TYPE_LAST")
199 (define-enum QueryableState
201 (c-name "BeagleQueryableState")
203 '("na" "BEAGLE_QUERYABLE_STATE_NA")
204 '("idle" "BEAGLE_QUERYABLE_STATE_IDLE")
205 '("crawling" "BEAGLE_QUERYABLE_STATE_CRAWLING")
206 '("indexing" "BEAGLE_QUERYABLE_STATE_INDEXING")
207 '("flushing" "BEAGLE_QUERYABLE_STATE_FLUSHING")
211 (define-enum QueryDomain
213 (c-name "BeagleQueryDomain")
215 '("local" "BEAGLE_QUERY_DOMAIN_LOCAL")
216 '("system" "BEAGLE_QUERY_DOMAIN_SYSTEM")
217 '("neighborhood" "BEAGLE_QUERY_DOMAIN_NEIGHBORHOOD")
218 '("global" "BEAGLE_QUERY_DOMAIN_GLOBAL")
222 (define-enum QueryPartLogic
224 (c-name "BeagleQueryPartLogic")
226 '("required" "BEAGLE_QUERY_PART_LOGIC_REQUIRED")
227 '("prohibited" "BEAGLE_QUERY_PART_LOGIC_PROHIBITED")
233 (c-name "BeagleError")
235 '("r" "BEAGLE_ERROR_DAEMON_ERROR")
240 ;; From ../../libbeagle/beagle/beagle-client.h
242 (define-function beagle_client_get_type
243 (c-name "beagle_client_get_type")
244 (return-type "GType")
247 (define-function beagle_client_new
248 (c-name "beagle_client_new")
249 (is-constructor-of "BeagleClient")
250 (return-type "BeagleClient*")
252 '("const-char*" "client_name")
256 (define-function beagle_client_new_from_socket_path
257 (c-name "beagle_client_new_from_socket_path")
258 (return-type "BeagleClient*")
260 '("const-char*" "socket_path")
264 (define-method send_request
265 (of-object "BeagleClient")
266 (c-name "beagle_client_send_request")
267 (return-type "BeagleResponse*")
269 '("BeagleRequest*" "request")
274 (define-method send_request_async
275 (of-object "BeagleClient")
276 (c-name "beagle_client_send_request_async")
277 (return-type "gboolean")
279 '("BeagleRequest*" "request")
286 ;; From ../../libbeagle/beagle/beagle-daemon-information-request.h
288 (define-function beagle_daemon_information_request_get_type
289 (c-name "beagle_daemon_information_request_get_type")
290 (return-type "GType")
293 (define-function beagle_daemon_information_request_new
294 (c-name "beagle_daemon_information_request_new")
295 (is-constructor-of "BeagleDaemonInformationRequest")
296 (return-type "BeagleDaemonInformationRequest*")
299 (define-function beagle_daemon_information_request_new_specific
300 (c-name "beagle_daemon_information_request_new_specific")
301 (return-type "BeagleDaemonInformationRequest*")
303 '("gboolean" "get_version")
304 '("gboolean" "get_sched_info")
305 '("gboolean" "get_index_status")
306 '("gboolean" "get_is_indexing")
312 ;; From ../../libbeagle/beagle/beagle-daemon-information-response.h
314 (define-function beagle_daemon_information_response_get_type
315 (c-name "beagle_daemon_information_response_get_type")
316 (return-type "GType")
319 (define-method get_version
320 (of-object "BeagleDaemonInformationResponse")
321 (c-name "beagle_daemon_information_response_get_version")
322 (return-type "const-char*")
325 (define-method get_scheduler_information
326 (of-object "BeagleDaemonInformationResponse")
327 (c-name "beagle_daemon_information_response_get_scheduler_information")
328 (return-type "BeagleSchedulerInformation*")
331 (define-method get_index_status
332 (of-object "BeagleDaemonInformationResponse")
333 (c-name "beagle_daemon_information_response_get_index_status")
334 (return-type "GSList*")
337 (define-method get_index_information
338 (of-object "BeagleDaemonInformationResponse")
339 (c-name "beagle_daemon_information_response_get_index_information")
340 (return-type "const-char*")
343 (define-method is_indexing
344 (of-object "BeagleDaemonInformationResponse")
345 (c-name "beagle_daemon_information_response_is_indexing")
346 (return-type "gboolean")
351 ;; From ../../libbeagle/beagle/beagle-empty-response.h
353 (define-function beagle_empty_response_get_type
354 (c-name "beagle_empty_response_get_type")
355 (return-type "GType")
360 ;; From ../../libbeagle/beagle/beagle-error-response.h
362 (define-function beagle_error_response_get_type
363 (c-name "beagle_error_response_get_type")
364 (return-type "GType")
367 (define-method get_message
368 (of-object "BeagleErrorResponse")
369 (c-name "beagle_error_response_get_message")
370 (return-type "const-char*")
373 (define-method get_details
374 (of-object "BeagleErrorResponse")
375 (c-name "beagle_error_response_get_details")
376 (return-type "const-char*")
381 ;; From ../../libbeagle/beagle/beagle-finished-response.h
383 (define-function beagle_finished_response_get_type
384 (c-name "beagle_finished_response_get_type")
385 (return-type "GType")
390 ;; From ../../libbeagle/beagle/beagle.h
394 ;; From ../../libbeagle/beagle/beagle-hit.h
397 (of-object "BeagleHit")
398 (c-name "beagle_hit_ref")
399 (return-type "BeagleHit*")
403 (of-object "BeagleHit")
404 (c-name "beagle_hit_unref")
408 (define-method get_uri
409 (of-object "BeagleHit")
410 (c-name "beagle_hit_get_uri")
411 (return-type "const-char*")
414 (define-method get_type
415 (of-object "BeagleHit")
416 (c-name "beagle_hit_get_type")
417 (return-type "const-char*")
420 (define-method get_mime_type
421 (of-object "BeagleHit")
422 (c-name "beagle_hit_get_mime_type")
423 (return-type "const-char*")
426 (define-method get_source
427 (of-object "BeagleHit")
428 (c-name "beagle_hit_get_source")
429 (return-type "const-char*")
432 (define-method get_parent_uri
433 (of-object "BeagleHit")
434 (c-name "beagle_hit_get_parent_uri")
435 (return-type "const-char*")
438 (define-method get_timestamp
439 (of-object "BeagleHit")
440 (c-name "beagle_hit_get_timestamp")
441 (return-type "BeagleTimestamp*")
444 (define-method get_score
445 (of-object "BeagleHit")
446 (c-name "beagle_hit_get_score")
447 (return-type "double")
450 (define-method get_one_property
451 (of-object "BeagleHit")
452 (c-name "beagle_hit_get_one_property")
453 (return-type "gboolean")
455 '("const-char*" "key")
456 '("const-char**" "value")
460 (define-method get_properties
461 (of-object "BeagleHit")
462 (c-name "beagle_hit_get_properties")
463 (return-type "GSList*")
465 '("const-char*" "key")
469 (define-method get_all_properties
470 (of-object "BeagleHit")
471 (c-name "beagle_hit_get_all_properties")
472 (return-type "GSList*")
477 ;; From ../../libbeagle/beagle/beagle-hits-added-response.h
479 (define-function beagle_hits_added_response_get_type
480 (c-name "beagle_hits_added_response_get_type")
481 (return-type "GType")
484 (define-method get_hits
485 (of-object "BeagleHitsAddedResponse")
486 (c-name "beagle_hits_added_response_get_hits")
487 (return-type "GSList*")
492 ;; From ../../libbeagle/beagle/beagle-hits-subtracted-response.h
494 (define-function beagle_hits_subtracted_response_get_type
495 (c-name "beagle_hits_subtracted_response_get_type")
496 (return-type "GType")
499 (define-method get_uris
500 (of-object "BeagleHitsSubtractedResponse")
501 (c-name "beagle_hits_subtracted_response_get_uris")
502 (return-type "GSList*")
507 ;; From ../../libbeagle/beagle/beagle-indexable.h
509 (define-function beagle_indexable_new
510 (c-name "beagle_indexable_new")
511 (is-constructor-of "BeagleIndexable")
512 (return-type "BeagleIndexable*")
514 '("const-char*" "uri")
519 (of-object "BeagleIndexable")
520 (c-name "beagle_indexable_free")
524 (define-method add_property
525 (of-object "BeagleIndexable")
526 (c-name "beagle_indexable_add_property")
529 '("BeagleProperty*" "prop")
533 (define-method get_type
534 (of-object "BeagleIndexable")
535 (c-name "beagle_indexable_get_type")
536 (return-type "BeagleIndexableType")
539 (define-method set_type
540 (of-object "BeagleIndexable")
541 (c-name "beagle_indexable_set_type")
544 '("BeagleIndexableType" "type")
548 (define-method get_uri
549 (of-object "BeagleIndexable")
550 (c-name "beagle_indexable_get_uri")
551 (return-type "const-char*")
554 (define-method set_uri
555 (of-object "BeagleIndexable")
556 (c-name "beagle_indexable_set_uri")
559 '("const-char*" "uri")
563 (define-method get_parent_uri
564 (of-object "BeagleIndexable")
565 (c-name "beagle_indexable_get_parent_uri")
566 (return-type "const-char*")
569 (define-method set_parent_uri
570 (of-object "BeagleIndexable")
571 (c-name "beagle_indexable_set_parent_uri")
574 '("const-char*" "uri")
578 (define-method get_content_uri
579 (of-object "BeagleIndexable")
580 (c-name "beagle_indexable_get_content_uri")
581 (return-type "const-char*")
584 (define-method set_content_uri
585 (of-object "BeagleIndexable")
586 (c-name "beagle_indexable_set_content_uri")
589 '("const-char*" "content_uri")
593 (define-method get_hot_content_uri
594 (of-object "BeagleIndexable")
595 (c-name "beagle_indexable_get_hot_content_uri")
596 (return-type "const-char*")
599 (define-method set_hot_content_uri
600 (of-object "BeagleIndexable")
601 (c-name "beagle_indexable_set_hot_content_uri")
604 '("const-char*" "hot_content_uri")
608 (define-method get_timestamp
609 (of-object "BeagleIndexable")
610 (c-name "beagle_indexable_get_timestamp")
611 (return-type "BeagleTimestamp*")
614 (define-method set_timestamp
615 (of-object "BeagleIndexable")
616 (c-name "beagle_indexable_set_timestamp")
619 '("BeagleTimestamp*" "timestamp")
623 (define-method get_delete_content
624 (of-object "BeagleIndexable")
625 (c-name "beagle_indexable_get_delete_content")
626 (return-type "gboolean")
629 (define-method set_delete_content
630 (of-object "BeagleIndexable")
631 (c-name "beagle_indexable_set_delete_content")
634 '("gboolean" "delete_content")
638 (define-method get_crawled
639 (of-object "BeagleIndexable")
640 (c-name "beagle_indexable_get_crawled")
641 (return-type "gboolean")
644 (define-method set_crawled
645 (of-object "BeagleIndexable")
646 (c-name "beagle_indexable_set_crawled")
649 '("gboolean" "crawled")
653 (define-method get_no_content
654 (of-object "BeagleIndexable")
655 (c-name "beagle_indexable_get_no_content")
656 (return-type "gboolean")
659 (define-method set_no_content
660 (of-object "BeagleIndexable")
661 (c-name "beagle_indexable_set_no_content")
664 '("gboolean" "no_content")
668 (define-method get_cache_content
669 (of-object "BeagleIndexable")
670 (c-name "beagle_indexable_get_cache_content")
671 (return-type "gboolean")
674 (define-method set_cache_content
675 (of-object "BeagleIndexable")
676 (c-name "beagle_indexable_set_cache_content")
679 '("gboolean" "cache_content")
683 (define-method get_filtering
684 (of-object "BeagleIndexable")
685 (c-name "beagle_indexable_get_filtering")
686 (return-type "BeagleIndexableFiltering")
689 (define-method set_filtering
690 (of-object "BeagleIndexable")
691 (c-name "beagle_indexable_set_filtering")
694 '("BeagleIndexableFiltering" "filtering")
698 (define-method get_hit_type
699 (of-object "BeagleIndexable")
700 (c-name "beagle_indexable_get_hit_type")
701 (return-type "const-char*")
704 (define-method set_hit_type
705 (of-object "BeagleIndexable")
706 (c-name "beagle_indexable_set_hit_type")
709 '("const-char*" "hit_type")
713 (define-method get_mime_type
714 (of-object "BeagleIndexable")
715 (c-name "beagle_indexable_get_mime_type")
716 (return-type "const-char*")
719 (define-method set_mime_type
720 (of-object "BeagleIndexable")
721 (c-name "beagle_indexable_set_mime_type")
724 '("const-char*" "mime_type")
728 (define-method get_source
729 (of-object "BeagleIndexable")
730 (c-name "beagle_indexable_get_source")
731 (return-type "const-char*")
734 (define-method set_source
735 (of-object "BeagleIndexable")
736 (c-name "beagle_indexable_set_source")
739 '("const-char*" "source")
745 ;; From ../../libbeagle/beagle/beagle-indexing-service-request.h
747 (define-function beagle_indexing_service_request_get_type
748 (c-name "beagle_indexing_service_request_get_type")
749 (return-type "GType")
752 (define-function beagle_indexing_service_request_new
753 (c-name "beagle_indexing_service_request_new")
754 (is-constructor-of "BeagleIndexingServiceRequest")
755 (return-type "BeagleIndexingServiceRequest*")
758 (define-function beagle_indexing_service_request_new_for_service
759 (c-name "beagle_indexing_service_request_new_for_service")
760 (return-type "BeagleIndexingServiceRequest*")
762 '("const-char*" "name")
767 (of-object "BeagleIndexingServiceRequest")
768 (c-name "beagle_indexing_service_request_add")
771 '("BeagleIndexable*" "indexable")
775 (define-method remove
776 (of-object "BeagleIndexingServiceRequest")
777 (c-name "beagle_indexing_service_request_remove")
780 '("const-char*" "uri")
786 ;; From ../../libbeagle/beagle/beagle-marshal.h
790 ;; From ../../libbeagle/beagle/beagle-parser.h
794 ;; From ../../libbeagle/beagle/beagle-private.h
798 ;; From ../../libbeagle/beagle/beagle-property.h
800 (define-function beagle_property_new
801 (c-name "beagle_property_new")
802 (is-constructor-of "BeagleProperty")
803 (return-type "BeagleProperty*")
805 '("BeaglePropertyType" "type")
806 '("const-char*" "key")
807 '("const-char*" "value")
812 (of-object "BeagleProperty")
813 (c-name "beagle_property_free")
817 (define-method get_type
818 (of-object "BeagleProperty")
819 (c-name "beagle_property_get_type")
820 (return-type "BeaglePropertyType")
823 (define-method set_type
824 (of-object "BeagleProperty")
825 (c-name "beagle_property_set_type")
828 '("BeaglePropertyType" "type")
832 (define-method get_key
833 (of-object "BeagleProperty")
834 (c-name "beagle_property_get_key")
835 (return-type "const-char*")
838 (define-method set_key
839 (of-object "BeagleProperty")
840 (c-name "beagle_property_set_key")
843 '("const-char*" "key")
847 (define-method get_value
848 (of-object "BeagleProperty")
849 (c-name "beagle_property_get_value")
850 (return-type "const-char*")
853 (define-method set_value
854 (of-object "BeagleProperty")
855 (c-name "beagle_property_set_value")
858 '("const-char*" "value")
862 (define-method get_is_searched
863 (of-object "BeagleProperty")
864 (c-name "beagle_property_get_is_searched")
865 (return-type "gboolean")
868 (define-method set_is_searched
869 (of-object "BeagleProperty")
870 (c-name "beagle_property_set_is_searched")
873 '("gboolean" "is_searched")
877 (define-method get_is_mutable
878 (of-object "BeagleProperty")
879 (c-name "beagle_property_get_is_mutable")
880 (return-type "gboolean")
883 (define-method set_is_mutable
884 (of-object "BeagleProperty")
885 (c-name "beagle_property_set_is_mutable")
888 '("gboolean" "is_keyword")
892 (define-method get_is_stored
893 (of-object "BeagleProperty")
894 (c-name "beagle_property_get_is_stored")
895 (return-type "gboolean")
898 (define-method set_is_stored
899 (of-object "BeagleProperty")
900 (c-name "beagle_property_set_is_stored")
903 '("gboolean" "is_stored")
909 ;; From ../../libbeagle/beagle/beagle-queryable-status.h
912 (of-object "BeagleQueryableStatus")
913 (c-name "beagle_queryable_status_ref")
914 (return-type "BeagleQueryableStatus*")
918 (of-object "BeagleQueryableStatus")
919 (c-name "beagle_queryable_status_unref")
923 (define-method get_name
924 (of-object "BeagleQueryableStatus")
925 (c-name "beagle_queryable_status_get_name")
926 (return-type "const-char*")
929 (define-method get_item_count
930 (of-object "BeagleQueryableStatus")
931 (c-name "beagle_queryable_status_get_item_count")
935 (define-method get_state
936 (of-object "BeagleQueryableStatus")
937 (c-name "beagle_queryable_status_get_state")
938 (return-type "BeagleQueryableState")
941 (define-method get_progress_percent
942 (of-object "BeagleQueryableStatus")
943 (c-name "beagle_queryable_status_get_progress_percent")
947 (define-method get_is_indexing
948 (of-object "BeagleQueryableStatus")
949 (c-name "beagle_queryable_status_get_is_indexing")
950 (return-type "gboolean")
955 ;; From ../../libbeagle/beagle/beagle-query.h
957 (define-function beagle_query_get_type
958 (c-name "beagle_query_get_type")
959 (return-type "GType")
962 (define-function beagle_query_new
963 (c-name "beagle_query_new")
964 (is-constructor-of "BeagleQuery")
965 (return-type "BeagleQuery*")
968 (define-method add_part
969 (of-object "BeagleQuery")
970 (c-name "beagle_query_add_part")
973 '("BeagleQueryPart*" "part")
977 (define-method add_text
978 (of-object "BeagleQuery")
979 (c-name "beagle_query_add_text")
982 '("const-char*" "str")
986 (define-method add_mime_type
987 (of-object "BeagleQuery")
988 (c-name "beagle_query_add_mime_type")
991 '("const-char*" "mime_type")
995 (define-method add_hit_type
996 (of-object "BeagleQuery")
997 (c-name "beagle_query_add_hit_type")
1000 '("const-char*" "hit_type")
1004 (define-method add_source
1005 (of-object "BeagleQuery")
1006 (c-name "beagle_query_add_source")
1007 (return-type "none")
1009 '("const-char*" "source")
1013 (define-method set_domain
1014 (of-object "BeagleQuery")
1015 (c-name "beagle_query_set_domain")
1016 (return-type "none")
1018 '("BeagleQueryDomain" "domain")
1022 (define-method add_domain
1023 (of-object "BeagleQuery")
1024 (c-name "beagle_query_add_domain")
1025 (return-type "none")
1027 '("BeagleQueryDomain" "domain")
1031 (define-method remove_domain
1032 (of-object "BeagleQuery")
1033 (c-name "beagle_query_remove_domain")
1034 (return-type "none")
1036 '("BeagleQueryDomain" "domain")
1040 (define-method set_max_hits
1041 (of-object "BeagleQuery")
1042 (c-name "beagle_query_set_max_hits")
1043 (return-type "none")
1049 (define-method get_max_hits
1050 (of-object "BeagleQuery")
1051 (c-name "beagle_query_get_max_hits")
1055 (define-method get_exact_text
1056 (of-object "BeagleQuery")
1057 (c-name "beagle_query_get_exact_text")
1058 (return-type "GSList*")
1061 (define-method get_stemmed_text
1062 (of-object "BeagleQuery")
1063 (c-name "beagle_query_get_stemmed_text")
1064 (return-type "GSList*")
1069 ;; From ../../libbeagle/beagle/beagle-query-part-date.h
1071 (define-function beagle_query_part_date_get_type
1072 (c-name "beagle_query_part_date_get_type")
1073 (return-type "GType")
1076 (define-function beagle_query_part_date_new
1077 (c-name "beagle_query_part_date_new")
1078 (is-constructor-of "BeagleQueryPartDate")
1079 (return-type "BeagleQueryPartDate*")
1082 (define-method set_start_date
1083 (of-object "BeagleQueryPartDate")
1084 (c-name "beagle_query_part_date_set_start_date")
1085 (return-type "none")
1087 '("BeagleTimestamp*" "start_date")
1091 (define-method set_end_date
1092 (of-object "BeagleQueryPartDate")
1093 (c-name "beagle_query_part_date_set_end_date")
1094 (return-type "none")
1096 '("BeagleTimestamp*" "end_date")
1102 ;; From ../../libbeagle/beagle/beagle-query-part.h
1104 (define-function beagle_query_part_get_type
1105 (c-name "beagle_query_part_get_type")
1106 (return-type "GType")
1109 (define-method set_logic
1110 (of-object "BeagleQueryPart")
1111 (c-name "beagle_query_part_set_logic")
1112 (return-type "none")
1114 '("BeagleQueryPartLogic" "logic")
1120 ;; From ../../libbeagle/beagle/beagle-query-part-human.h
1122 (define-function beagle_query_part_human_get_type
1123 (c-name "beagle_query_part_human_get_type")
1124 (return-type "GType")
1127 (define-function beagle_query_part_human_new
1128 (c-name "beagle_query_part_human_new")
1129 (is-constructor-of "BeagleQueryPartHuman")
1130 (return-type "BeagleQueryPartHuman*")
1133 (define-method set_string
1134 (of-object "BeagleQueryPartHuman")
1135 (c-name "beagle_query_part_human_set_string")
1136 (return-type "none")
1138 '("const-char*" "string")
1144 ;; From ../../libbeagle/beagle/beagle-query-part-or.h
1146 (define-function beagle_query_part_or_get_type
1147 (c-name "beagle_query_part_or_get_type")
1148 (return-type "GType")
1151 (define-function beagle_query_part_or_new
1152 (c-name "beagle_query_part_or_new")
1153 (is-constructor-of "BeagleQueryPartOr")
1154 (return-type "BeagleQueryPartOr*")
1157 (define-method add_subpart
1158 (of-object "BeagleQueryPartOr")
1159 (c-name "beagle_query_part_or_add_subpart")
1160 (return-type "none")
1162 '("BeagleQueryPart*" "subpart")
1168 ;; From ../../libbeagle/beagle/beagle-query-part-property.h
1170 (define-function beagle_query_part_property_get_type
1171 (c-name "beagle_query_part_property_get_type")
1172 (return-type "GType")
1175 (define-function beagle_query_part_property_new
1176 (c-name "beagle_query_part_property_new")
1177 (is-constructor-of "BeagleQueryPartProperty")
1178 (return-type "BeagleQueryPartProperty*")
1181 (define-method set_key
1182 (of-object "BeagleQueryPartProperty")
1183 (c-name "beagle_query_part_property_set_key")
1184 (return-type "none")
1186 '("const-char*" "key")
1190 (define-method set_value
1191 (of-object "BeagleQueryPartProperty")
1192 (c-name "beagle_query_part_property_set_value")
1193 (return-type "none")
1195 '("const-char*" "value")
1199 (define-method set_property_type
1200 (of-object "BeagleQueryPartProperty")
1201 (c-name "beagle_query_part_property_set_property_type")
1202 (return-type "none")
1204 '("BeaglePropertyType" "prop_type")
1210 ;; From ../../libbeagle/beagle/beagle-query-part-text.h
1212 (define-function beagle_query_part_text_get_type
1213 (c-name "beagle_query_part_text_get_type")
1214 (return-type "GType")
1217 (define-function beagle_query_part_text_new
1218 (c-name "beagle_query_part_text_new")
1219 (is-constructor-of "BeagleQueryPartText")
1220 (return-type "BeagleQueryPartText*")
1223 (define-method set_text
1224 (of-object "BeagleQueryPartText")
1225 (c-name "beagle_query_part_text_set_text")
1226 (return-type "none")
1228 '("const-char*" "text")
1232 (define-method set_search_full_text
1233 (of-object "BeagleQueryPartText")
1234 (c-name "beagle_query_part_text_set_search_full_text")
1235 (return-type "none")
1237 '("gboolean" "search_full_text")
1241 (define-method set_search_properties
1242 (of-object "BeagleQueryPartText")
1243 (c-name "beagle_query_part_text_set_search_properties")
1244 (return-type "none")
1246 '("gboolean" "search_properties")
1252 ;; From ../../libbeagle/beagle/beagle-query-part-wildcard.h
1254 (define-function beagle_query_part_wildcard_get_type
1255 (c-name "beagle_query_part_wildcard_get_type")
1256 (return-type "GType")
1259 (define-function beagle_query_part_wildcard_new
1260 (c-name "beagle_query_part_wildcard_new")
1261 (is-constructor-of "BeagleQueryPartWildcard")
1262 (return-type "BeagleQueryPartWildcard*")
1265 (define-method set_query_string
1266 (of-object "BeagleQueryPartWildcard")
1267 (c-name "beagle_query_part_wildcard_set_query_string")
1268 (return-type "none")
1270 '("const-char*" "query_string")
1276 ;; From ../../libbeagle/beagle/beagle-request.h
1278 (define-function beagle_request_get_type
1279 (c-name "beagle_request_get_type")
1280 (return-type "GType")
1285 ;; From ../../libbeagle/beagle/beagle-response.h
1287 (define-function beagle_response_get_type
1288 (c-name "beagle_response_get_type")
1289 (return-type "GType")
1294 ;; From ../../libbeagle/beagle/beagle-scheduler-information.h
1297 (of-object "BeagleSchedulerInformation")
1298 (c-name "beagle_scheduler_information_ref")
1299 (return-type "BeagleSchedulerInformation*")
1302 (define-method unref
1303 (of-object "BeagleSchedulerInformation")
1304 (c-name "beagle_scheduler_information_unref")
1305 (return-type "none")
1308 (define-method get_total_task_count
1309 (of-object "BeagleSchedulerInformation")
1310 (c-name "beagle_scheduler_information_get_total_task_count")
1314 (define-method get_status_string
1315 (of-object "BeagleSchedulerInformation")
1316 (c-name "beagle_scheduler_information_get_status_string")
1317 (return-type "const-char*")
1320 (define-method get_pending_tasks
1321 (of-object "BeagleSchedulerInformation")
1322 (c-name "beagle_scheduler_information_get_pending_tasks")
1323 (return-type "GSList*")
1326 (define-method get_future_tasks
1327 (of-object "BeagleSchedulerInformation")
1328 (c-name "beagle_scheduler_information_get_future_tasks")
1329 (return-type "GSList*")
1332 (define-method get_blocked_tasks
1333 (of-object "BeagleSchedulerInformation")
1334 (c-name "beagle_scheduler_information_get_blocked_tasks")
1335 (return-type "GSList*")
1338 (define-method to_human_readable_string
1339 (of-object "BeagleSchedulerInformation")
1340 (c-name "beagle_scheduler_information_to_human_readable_string")
1341 (return-type "const-char*")
1346 ;; From ../../libbeagle/beagle/beagle-search-term-response.h
1348 (define-function beagle_search_term_response_get_type
1349 (c-name "beagle_search_term_response_get_type")
1350 (return-type "GType")
1355 ;; From ../../libbeagle/beagle/beagle-shutdown-request.h
1357 (define-function beagle_shutdown_request_get_type
1358 (c-name "beagle_shutdown_request_get_type")
1359 (return-type "GType")
1362 (define-function beagle_shutdown_request_new
1363 (c-name "beagle_shutdown_request_new")
1364 (is-constructor-of "BeagleShutdownRequest")
1365 (return-type "BeagleShutdownRequest*")
1370 ;; From ../../libbeagle/beagle/beagle-snippet-request.h
1372 (define-function beagle_snippet_request_get_type
1373 (c-name "beagle_snippet_request_get_type")
1374 (return-type "GType")
1377 (define-function beagle_snippet_request_new
1378 (c-name "beagle_snippet_request_new")
1379 (is-constructor-of "BeagleSnippetRequest")
1380 (return-type "BeagleSnippetRequest*")
1383 (define-method set_hit
1384 (of-object "BeagleSnippetRequest")
1385 (c-name "beagle_snippet_request_set_hit")
1386 (return-type "none")
1388 '("BeagleHit*" "hit")
1392 (define-method set_query
1393 (of-object "BeagleSnippetRequest")
1394 (c-name "beagle_snippet_request_set_query")
1395 (return-type "none")
1397 '("BeagleQuery*" "query")
1403 ;; From ../../libbeagle/beagle/beagle-snippet-response.h
1405 (define-function beagle_snippet_response_get_type
1406 (c-name "beagle_snippet_response_get_type")
1407 (return-type "GType")
1410 (define-method get_snippet
1411 (of-object "BeagleSnippetResponse")
1412 (c-name "beagle_snippet_response_get_snippet")
1413 (return-type "const-char*")
1418 ;; From ../../libbeagle/beagle/beagle-timestamp.h
1420 (define-function beagle_timestamp_new_from_string
1421 (c-name "beagle_timestamp_new_from_string")
1422 (return-type "BeagleTimestamp*")
1424 '("const-char*" "str")
1428 (define-function beagle_timestamp_new_from_unix_time
1429 (c-name "beagle_timestamp_new_from_unix_time")
1430 (return-type "BeagleTimestamp*")
1437 (of-object "BeagleTimestamp")
1438 (c-name "beagle_timestamp_free")
1439 (return-type "none")
1442 (define-method to_unix_time
1443 (of-object "BeagleTimestamp")
1444 (c-name "beagle_timestamp_to_unix_time")
1445 (return-type "gboolean")
1453 ;; From ../../libbeagle/beagle/beagle-util.h
1455 (define-function beagle_error_quark
1456 (c-name "beagle_error_quark")
1457 (return-type "GQuark")
1460 (define-function beagle_util_is_path_on_block_device
1461 (c-name "beagle_util_is_path_on_block_device")
1462 (return-type "gboolean")
1464 '("const-char*" "path")
1468 (define-function beagle_util_get_socket_path
1469 (c-name "beagle_util_get_socket_path")
1470 (return-type "gchar*")
1472 '("const-char*" "client_name")
1476 (define-function beagle_util_daemon_is_running
1477 (c-name "beagle_util_daemon_is_running")
1478 (return-type "gboolean")
1485 (in-module "Beagle")
1486 (c-name "BeagleHit")
1487 (gtype-id "BEAGLE_TYPE_HIT")
1490 (define-pointer Property
1491 (in-module "Beagle")
1492 (c-name "BeagleProperty")
1493 (gtype-id "BEAGLE_TYPE_PROPERTY")
1496 (define-pointer Timestamp
1497 (in-module "Beagle")
1498 (c-name "BeagleTimestamp")
1499 (gtype-id "BEAGLE_TYPE_TIMESTAMP")