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*")
490 (define-method get_num_matches
491 (of-object "BeagleHitsAddedResponse")
492 (c-name "beagle_hits_added_response_get_num_matches")
498 ;; From ../../libbeagle/beagle/beagle-hits-subtracted-response.h
500 (define-function beagle_hits_subtracted_response_get_type
501 (c-name "beagle_hits_subtracted_response_get_type")
502 (return-type "GType")
505 (define-method get_uris
506 (of-object "BeagleHitsSubtractedResponse")
507 (c-name "beagle_hits_subtracted_response_get_uris")
508 (return-type "GSList*")
513 ;; From ../../libbeagle/beagle/beagle-indexable.h
515 (define-function beagle_indexable_new
516 (c-name "beagle_indexable_new")
517 (is-constructor-of "BeagleIndexable")
518 (return-type "BeagleIndexable*")
520 '("const-char*" "uri")
525 (of-object "BeagleIndexable")
526 (c-name "beagle_indexable_free")
530 (define-method add_property
531 (of-object "BeagleIndexable")
532 (c-name "beagle_indexable_add_property")
535 '("BeagleProperty*" "prop")
539 (define-method get_type
540 (of-object "BeagleIndexable")
541 (c-name "beagle_indexable_get_type")
542 (return-type "BeagleIndexableType")
545 (define-method set_type
546 (of-object "BeagleIndexable")
547 (c-name "beagle_indexable_set_type")
550 '("BeagleIndexableType" "type")
554 (define-method get_uri
555 (of-object "BeagleIndexable")
556 (c-name "beagle_indexable_get_uri")
557 (return-type "const-char*")
560 (define-method set_uri
561 (of-object "BeagleIndexable")
562 (c-name "beagle_indexable_set_uri")
565 '("const-char*" "uri")
569 (define-method get_parent_uri
570 (of-object "BeagleIndexable")
571 (c-name "beagle_indexable_get_parent_uri")
572 (return-type "const-char*")
575 (define-method set_parent_uri
576 (of-object "BeagleIndexable")
577 (c-name "beagle_indexable_set_parent_uri")
580 '("const-char*" "uri")
584 (define-method get_content_uri
585 (of-object "BeagleIndexable")
586 (c-name "beagle_indexable_get_content_uri")
587 (return-type "const-char*")
590 (define-method set_content_uri
591 (of-object "BeagleIndexable")
592 (c-name "beagle_indexable_set_content_uri")
595 '("const-char*" "content_uri")
599 (define-method get_hot_content_uri
600 (of-object "BeagleIndexable")
601 (c-name "beagle_indexable_get_hot_content_uri")
602 (return-type "const-char*")
605 (define-method set_hot_content_uri
606 (of-object "BeagleIndexable")
607 (c-name "beagle_indexable_set_hot_content_uri")
610 '("const-char*" "hot_content_uri")
614 (define-method get_timestamp
615 (of-object "BeagleIndexable")
616 (c-name "beagle_indexable_get_timestamp")
617 (return-type "BeagleTimestamp*")
620 (define-method set_timestamp
621 (of-object "BeagleIndexable")
622 (c-name "beagle_indexable_set_timestamp")
625 '("BeagleTimestamp*" "timestamp")
629 (define-method get_delete_content
630 (of-object "BeagleIndexable")
631 (c-name "beagle_indexable_get_delete_content")
632 (return-type "gboolean")
635 (define-method set_delete_content
636 (of-object "BeagleIndexable")
637 (c-name "beagle_indexable_set_delete_content")
640 '("gboolean" "delete_content")
644 (define-method get_crawled
645 (of-object "BeagleIndexable")
646 (c-name "beagle_indexable_get_crawled")
647 (return-type "gboolean")
650 (define-method set_crawled
651 (of-object "BeagleIndexable")
652 (c-name "beagle_indexable_set_crawled")
655 '("gboolean" "crawled")
659 (define-method get_no_content
660 (of-object "BeagleIndexable")
661 (c-name "beagle_indexable_get_no_content")
662 (return-type "gboolean")
665 (define-method set_no_content
666 (of-object "BeagleIndexable")
667 (c-name "beagle_indexable_set_no_content")
670 '("gboolean" "no_content")
674 (define-method get_cache_content
675 (of-object "BeagleIndexable")
676 (c-name "beagle_indexable_get_cache_content")
677 (return-type "gboolean")
680 (define-method set_cache_content
681 (of-object "BeagleIndexable")
682 (c-name "beagle_indexable_set_cache_content")
685 '("gboolean" "cache_content")
689 (define-method get_filtering
690 (of-object "BeagleIndexable")
691 (c-name "beagle_indexable_get_filtering")
692 (return-type "BeagleIndexableFiltering")
695 (define-method set_filtering
696 (of-object "BeagleIndexable")
697 (c-name "beagle_indexable_set_filtering")
700 '("BeagleIndexableFiltering" "filtering")
704 (define-method get_hit_type
705 (of-object "BeagleIndexable")
706 (c-name "beagle_indexable_get_hit_type")
707 (return-type "const-char*")
710 (define-method set_hit_type
711 (of-object "BeagleIndexable")
712 (c-name "beagle_indexable_set_hit_type")
715 '("const-char*" "hit_type")
719 (define-method get_mime_type
720 (of-object "BeagleIndexable")
721 (c-name "beagle_indexable_get_mime_type")
722 (return-type "const-char*")
725 (define-method set_mime_type
726 (of-object "BeagleIndexable")
727 (c-name "beagle_indexable_set_mime_type")
730 '("const-char*" "mime_type")
734 (define-method get_source
735 (of-object "BeagleIndexable")
736 (c-name "beagle_indexable_get_source")
737 (return-type "const-char*")
740 (define-method set_source
741 (of-object "BeagleIndexable")
742 (c-name "beagle_indexable_set_source")
745 '("const-char*" "source")
751 ;; From ../../libbeagle/beagle/beagle-indexing-service-request.h
753 (define-function beagle_indexing_service_request_get_type
754 (c-name "beagle_indexing_service_request_get_type")
755 (return-type "GType")
758 (define-function beagle_indexing_service_request_new
759 (c-name "beagle_indexing_service_request_new")
760 (is-constructor-of "BeagleIndexingServiceRequest")
761 (return-type "BeagleIndexingServiceRequest*")
764 (define-function beagle_indexing_service_request_new_for_service
765 (c-name "beagle_indexing_service_request_new_for_service")
766 (return-type "BeagleIndexingServiceRequest*")
768 '("const-char*" "name")
773 (of-object "BeagleIndexingServiceRequest")
774 (c-name "beagle_indexing_service_request_add")
777 '("BeagleIndexable*" "indexable")
781 (define-method remove
782 (of-object "BeagleIndexingServiceRequest")
783 (c-name "beagle_indexing_service_request_remove")
786 '("const-char*" "uri")
792 ;; From ../../libbeagle/beagle/beagle-marshal.h
796 ;; From ../../libbeagle/beagle/beagle-parser.h
800 ;; From ../../libbeagle/beagle/beagle-private.h
804 ;; From ../../libbeagle/beagle/beagle-property.h
806 (define-function beagle_property_new
807 (c-name "beagle_property_new")
808 (is-constructor-of "BeagleProperty")
809 (return-type "BeagleProperty*")
811 '("BeaglePropertyType" "type")
812 '("const-char*" "key")
813 '("const-char*" "value")
818 (of-object "BeagleProperty")
819 (c-name "beagle_property_free")
823 (define-method get_type
824 (of-object "BeagleProperty")
825 (c-name "beagle_property_get_type")
826 (return-type "BeaglePropertyType")
829 (define-method set_type
830 (of-object "BeagleProperty")
831 (c-name "beagle_property_set_type")
834 '("BeaglePropertyType" "type")
838 (define-method get_key
839 (of-object "BeagleProperty")
840 (c-name "beagle_property_get_key")
841 (return-type "const-char*")
844 (define-method set_key
845 (of-object "BeagleProperty")
846 (c-name "beagle_property_set_key")
849 '("const-char*" "key")
853 (define-method get_value
854 (of-object "BeagleProperty")
855 (c-name "beagle_property_get_value")
856 (return-type "const-char*")
859 (define-method set_value
860 (of-object "BeagleProperty")
861 (c-name "beagle_property_set_value")
864 '("const-char*" "value")
868 (define-method get_is_searched
869 (of-object "BeagleProperty")
870 (c-name "beagle_property_get_is_searched")
871 (return-type "gboolean")
874 (define-method set_is_searched
875 (of-object "BeagleProperty")
876 (c-name "beagle_property_set_is_searched")
879 '("gboolean" "is_searched")
883 (define-method get_is_mutable
884 (of-object "BeagleProperty")
885 (c-name "beagle_property_get_is_mutable")
886 (return-type "gboolean")
889 (define-method set_is_mutable
890 (of-object "BeagleProperty")
891 (c-name "beagle_property_set_is_mutable")
894 '("gboolean" "is_keyword")
898 (define-method get_is_stored
899 (of-object "BeagleProperty")
900 (c-name "beagle_property_get_is_stored")
901 (return-type "gboolean")
904 (define-method set_is_stored
905 (of-object "BeagleProperty")
906 (c-name "beagle_property_set_is_stored")
909 '("gboolean" "is_stored")
915 ;; From ../../libbeagle/beagle/beagle-queryable-status.h
918 (of-object "BeagleQueryableStatus")
919 (c-name "beagle_queryable_status_ref")
920 (return-type "BeagleQueryableStatus*")
924 (of-object "BeagleQueryableStatus")
925 (c-name "beagle_queryable_status_unref")
929 (define-method get_name
930 (of-object "BeagleQueryableStatus")
931 (c-name "beagle_queryable_status_get_name")
932 (return-type "const-char*")
935 (define-method get_item_count
936 (of-object "BeagleQueryableStatus")
937 (c-name "beagle_queryable_status_get_item_count")
941 (define-method get_state
942 (of-object "BeagleQueryableStatus")
943 (c-name "beagle_queryable_status_get_state")
944 (return-type "BeagleQueryableState")
947 (define-method get_progress_percent
948 (of-object "BeagleQueryableStatus")
949 (c-name "beagle_queryable_status_get_progress_percent")
953 (define-method get_is_indexing
954 (of-object "BeagleQueryableStatus")
955 (c-name "beagle_queryable_status_get_is_indexing")
956 (return-type "gboolean")
961 ;; From ../../libbeagle/beagle/beagle-query.h
963 (define-function beagle_query_get_type
964 (c-name "beagle_query_get_type")
965 (return-type "GType")
968 (define-function beagle_query_new
969 (c-name "beagle_query_new")
970 (is-constructor-of "BeagleQuery")
971 (return-type "BeagleQuery*")
974 (define-method add_part
975 (of-object "BeagleQuery")
976 (c-name "beagle_query_add_part")
979 '("BeagleQueryPart*" "part")
983 (define-method add_text
984 (of-object "BeagleQuery")
985 (c-name "beagle_query_add_text")
988 '("const-char*" "str")
992 (define-method add_mime_type
993 (of-object "BeagleQuery")
994 (c-name "beagle_query_add_mime_type")
997 '("const-char*" "mime_type")
1001 (define-method add_hit_type
1002 (of-object "BeagleQuery")
1003 (c-name "beagle_query_add_hit_type")
1004 (return-type "none")
1006 '("const-char*" "hit_type")
1010 (define-method add_source
1011 (of-object "BeagleQuery")
1012 (c-name "beagle_query_add_source")
1013 (return-type "none")
1015 '("const-char*" "source")
1019 (define-method set_domain
1020 (of-object "BeagleQuery")
1021 (c-name "beagle_query_set_domain")
1022 (return-type "none")
1024 '("BeagleQueryDomain" "domain")
1028 (define-method add_domain
1029 (of-object "BeagleQuery")
1030 (c-name "beagle_query_add_domain")
1031 (return-type "none")
1033 '("BeagleQueryDomain" "domain")
1037 (define-method remove_domain
1038 (of-object "BeagleQuery")
1039 (c-name "beagle_query_remove_domain")
1040 (return-type "none")
1042 '("BeagleQueryDomain" "domain")
1046 (define-method set_max_hits
1047 (of-object "BeagleQuery")
1048 (c-name "beagle_query_set_max_hits")
1049 (return-type "none")
1055 (define-method get_max_hits
1056 (of-object "BeagleQuery")
1057 (c-name "beagle_query_get_max_hits")
1061 (define-method get_exact_text
1062 (of-object "BeagleQuery")
1063 (c-name "beagle_query_get_exact_text")
1064 (return-type "GSList*")
1067 (define-method get_stemmed_text
1068 (of-object "BeagleQuery")
1069 (c-name "beagle_query_get_stemmed_text")
1070 (return-type "GSList*")
1075 ;; From ../../libbeagle/beagle/beagle-query-part-date.h
1077 (define-function beagle_query_part_date_get_type
1078 (c-name "beagle_query_part_date_get_type")
1079 (return-type "GType")
1082 (define-function beagle_query_part_date_new
1083 (c-name "beagle_query_part_date_new")
1084 (is-constructor-of "BeagleQueryPartDate")
1085 (return-type "BeagleQueryPartDate*")
1088 (define-method set_start_date
1089 (of-object "BeagleQueryPartDate")
1090 (c-name "beagle_query_part_date_set_start_date")
1091 (return-type "none")
1093 '("BeagleTimestamp*" "start_date")
1097 (define-method set_end_date
1098 (of-object "BeagleQueryPartDate")
1099 (c-name "beagle_query_part_date_set_end_date")
1100 (return-type "none")
1102 '("BeagleTimestamp*" "end_date")
1108 ;; From ../../libbeagle/beagle/beagle-query-part.h
1110 (define-function beagle_query_part_get_type
1111 (c-name "beagle_query_part_get_type")
1112 (return-type "GType")
1115 (define-method set_logic
1116 (of-object "BeagleQueryPart")
1117 (c-name "beagle_query_part_set_logic")
1118 (return-type "none")
1120 '("BeagleQueryPartLogic" "logic")
1126 ;; From ../../libbeagle/beagle/beagle-query-part-human.h
1128 (define-function beagle_query_part_human_get_type
1129 (c-name "beagle_query_part_human_get_type")
1130 (return-type "GType")
1133 (define-function beagle_query_part_human_new
1134 (c-name "beagle_query_part_human_new")
1135 (is-constructor-of "BeagleQueryPartHuman")
1136 (return-type "BeagleQueryPartHuman*")
1139 (define-method set_string
1140 (of-object "BeagleQueryPartHuman")
1141 (c-name "beagle_query_part_human_set_string")
1142 (return-type "none")
1144 '("const-char*" "string")
1150 ;; From ../../libbeagle/beagle/beagle-query-part-or.h
1152 (define-function beagle_query_part_or_get_type
1153 (c-name "beagle_query_part_or_get_type")
1154 (return-type "GType")
1157 (define-function beagle_query_part_or_new
1158 (c-name "beagle_query_part_or_new")
1159 (is-constructor-of "BeagleQueryPartOr")
1160 (return-type "BeagleQueryPartOr*")
1163 (define-method add_subpart
1164 (of-object "BeagleQueryPartOr")
1165 (c-name "beagle_query_part_or_add_subpart")
1166 (return-type "none")
1168 '("BeagleQueryPart*" "subpart")
1174 ;; From ../../libbeagle/beagle/beagle-query-part-property.h
1176 (define-function beagle_query_part_property_get_type
1177 (c-name "beagle_query_part_property_get_type")
1178 (return-type "GType")
1181 (define-function beagle_query_part_property_new
1182 (c-name "beagle_query_part_property_new")
1183 (is-constructor-of "BeagleQueryPartProperty")
1184 (return-type "BeagleQueryPartProperty*")
1187 (define-method set_key
1188 (of-object "BeagleQueryPartProperty")
1189 (c-name "beagle_query_part_property_set_key")
1190 (return-type "none")
1192 '("const-char*" "key")
1196 (define-method set_value
1197 (of-object "BeagleQueryPartProperty")
1198 (c-name "beagle_query_part_property_set_value")
1199 (return-type "none")
1201 '("const-char*" "value")
1205 (define-method set_property_type
1206 (of-object "BeagleQueryPartProperty")
1207 (c-name "beagle_query_part_property_set_property_type")
1208 (return-type "none")
1210 '("BeaglePropertyType" "prop_type")
1216 ;; From ../../libbeagle/beagle/beagle-query-part-text.h
1218 (define-function beagle_query_part_text_get_type
1219 (c-name "beagle_query_part_text_get_type")
1220 (return-type "GType")
1223 (define-function beagle_query_part_text_new
1224 (c-name "beagle_query_part_text_new")
1225 (is-constructor-of "BeagleQueryPartText")
1226 (return-type "BeagleQueryPartText*")
1229 (define-method set_text
1230 (of-object "BeagleQueryPartText")
1231 (c-name "beagle_query_part_text_set_text")
1232 (return-type "none")
1234 '("const-char*" "text")
1238 (define-method set_search_full_text
1239 (of-object "BeagleQueryPartText")
1240 (c-name "beagle_query_part_text_set_search_full_text")
1241 (return-type "none")
1243 '("gboolean" "search_full_text")
1247 (define-method set_search_properties
1248 (of-object "BeagleQueryPartText")
1249 (c-name "beagle_query_part_text_set_search_properties")
1250 (return-type "none")
1252 '("gboolean" "search_properties")
1258 ;; From ../../libbeagle/beagle/beagle-query-part-wildcard.h
1260 (define-function beagle_query_part_wildcard_get_type
1261 (c-name "beagle_query_part_wildcard_get_type")
1262 (return-type "GType")
1265 (define-function beagle_query_part_wildcard_new
1266 (c-name "beagle_query_part_wildcard_new")
1267 (is-constructor-of "BeagleQueryPartWildcard")
1268 (return-type "BeagleQueryPartWildcard*")
1271 (define-method set_query_string
1272 (of-object "BeagleQueryPartWildcard")
1273 (c-name "beagle_query_part_wildcard_set_query_string")
1274 (return-type "none")
1276 '("const-char*" "query_string")
1282 ;; From ../../libbeagle/beagle/beagle-request.h
1284 (define-function beagle_request_get_type
1285 (c-name "beagle_request_get_type")
1286 (return-type "GType")
1291 ;; From ../../libbeagle/beagle/beagle-response.h
1293 (define-function beagle_response_get_type
1294 (c-name "beagle_response_get_type")
1295 (return-type "GType")
1300 ;; From ../../libbeagle/beagle/beagle-scheduler-information.h
1303 (of-object "BeagleSchedulerInformation")
1304 (c-name "beagle_scheduler_information_ref")
1305 (return-type "BeagleSchedulerInformation*")
1308 (define-method unref
1309 (of-object "BeagleSchedulerInformation")
1310 (c-name "beagle_scheduler_information_unref")
1311 (return-type "none")
1314 (define-method get_total_task_count
1315 (of-object "BeagleSchedulerInformation")
1316 (c-name "beagle_scheduler_information_get_total_task_count")
1320 (define-method get_status_string
1321 (of-object "BeagleSchedulerInformation")
1322 (c-name "beagle_scheduler_information_get_status_string")
1323 (return-type "const-char*")
1326 (define-method get_pending_tasks
1327 (of-object "BeagleSchedulerInformation")
1328 (c-name "beagle_scheduler_information_get_pending_tasks")
1329 (return-type "GSList*")
1332 (define-method get_future_tasks
1333 (of-object "BeagleSchedulerInformation")
1334 (c-name "beagle_scheduler_information_get_future_tasks")
1335 (return-type "GSList*")
1338 (define-method get_blocked_tasks
1339 (of-object "BeagleSchedulerInformation")
1340 (c-name "beagle_scheduler_information_get_blocked_tasks")
1341 (return-type "GSList*")
1344 (define-method to_human_readable_string
1345 (of-object "BeagleSchedulerInformation")
1346 (c-name "beagle_scheduler_information_to_human_readable_string")
1347 (return-type "const-char*")
1352 ;; From ../../libbeagle/beagle/beagle-search-term-response.h
1354 (define-function beagle_search_term_response_get_type
1355 (c-name "beagle_search_term_response_get_type")
1356 (return-type "GType")
1361 ;; From ../../libbeagle/beagle/beagle-shutdown-request.h
1363 (define-function beagle_shutdown_request_get_type
1364 (c-name "beagle_shutdown_request_get_type")
1365 (return-type "GType")
1368 (define-function beagle_shutdown_request_new
1369 (c-name "beagle_shutdown_request_new")
1370 (is-constructor-of "BeagleShutdownRequest")
1371 (return-type "BeagleShutdownRequest*")
1376 ;; From ../../libbeagle/beagle/beagle-snippet-request.h
1378 (define-function beagle_snippet_request_get_type
1379 (c-name "beagle_snippet_request_get_type")
1380 (return-type "GType")
1383 (define-function beagle_snippet_request_new
1384 (c-name "beagle_snippet_request_new")
1385 (is-constructor-of "BeagleSnippetRequest")
1386 (return-type "BeagleSnippetRequest*")
1389 (define-method set_hit
1390 (of-object "BeagleSnippetRequest")
1391 (c-name "beagle_snippet_request_set_hit")
1392 (return-type "none")
1394 '("BeagleHit*" "hit")
1398 (define-method set_query
1399 (of-object "BeagleSnippetRequest")
1400 (c-name "beagle_snippet_request_set_query")
1401 (return-type "none")
1403 '("BeagleQuery*" "query")
1409 ;; From ../../libbeagle/beagle/beagle-snippet-response.h
1411 (define-function beagle_snippet_response_get_type
1412 (c-name "beagle_snippet_response_get_type")
1413 (return-type "GType")
1416 (define-method get_snippet
1417 (of-object "BeagleSnippetResponse")
1418 (c-name "beagle_snippet_response_get_snippet")
1419 (return-type "const-char*")
1424 ;; From ../../libbeagle/beagle/beagle-timestamp.h
1426 (define-function beagle_timestamp_new_from_string
1427 (c-name "beagle_timestamp_new_from_string")
1428 (return-type "BeagleTimestamp*")
1430 '("const-char*" "str")
1434 (define-function beagle_timestamp_new_from_unix_time
1435 (c-name "beagle_timestamp_new_from_unix_time")
1436 (return-type "BeagleTimestamp*")
1443 (of-object "BeagleTimestamp")
1444 (c-name "beagle_timestamp_free")
1445 (return-type "none")
1448 (define-method to_unix_time
1449 (of-object "BeagleTimestamp")
1450 (c-name "beagle_timestamp_to_unix_time")
1451 (return-type "gboolean")
1459 ;; From ../../libbeagle/beagle/beagle-util.h
1461 (define-function beagle_error_quark
1462 (c-name "beagle_error_quark")
1463 (return-type "GQuark")
1466 (define-function beagle_util_is_path_on_block_device
1467 (c-name "beagle_util_is_path_on_block_device")
1468 (return-type "gboolean")
1470 '("const-char*" "path")
1474 (define-function beagle_util_get_socket_path
1475 (c-name "beagle_util_get_socket_path")
1476 (return-type "gchar*")
1478 '("const-char*" "client_name")
1482 (define-function beagle_util_daemon_is_running
1483 (c-name "beagle_util_daemon_is_running")
1484 (return-type "gboolean")
1491 (in-module "Beagle")
1492 (c-name "BeagleHit")
1493 (gtype-id "BEAGLE_TYPE_HIT")
1496 (define-pointer Property
1497 (in-module "Beagle")
1498 (c-name "BeagleProperty")
1499 (gtype-id "BEAGLE_TYPE_PROPERTY")
1502 (define-pointer Timestamp
1503 (in-module "Beagle")
1504 (c-name "BeagleTimestamp")
1505 (gtype-id "BEAGLE_TYPE_TIMESTAMP")