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 Request
55 (c-name "BeagleRequest")
56 (gtype-id "BEAGLE_TYPE_REQUEST")
61 (parent "BeagleRequest")
62 (c-name "BeagleQuery")
63 (gtype-id "BEAGLE_TYPE_QUERY")
66 (define-object IndexingServiceRequest
68 (parent "BeagleRequest")
69 (c-name "BeagleIndexingServiceRequest")
70 (gtype-id "BEAGLE_TYPE_INDEXING_SERVICE_REQUEST")
73 (define-object DaemonInformationRequest
75 (parent "BeagleRequest")
76 (c-name "BeagleDaemonInformationRequest")
77 (gtype-id "BEAGLE_TYPE_DAEMON_INFORMATION_REQUEST")
80 (define-object Response
83 (c-name "BeagleResponse")
84 (gtype-id "BEAGLE_TYPE_RESPONSE")
87 (define-object HitsSubtractedResponse
89 (parent "BeagleResponse")
90 (c-name "BeagleHitsSubtractedResponse")
91 (gtype-id "BEAGLE_TYPE_HITS_SUBTRACTED_RESPONSE")
94 (define-object HitsAddedResponse
96 (parent "BeagleResponse")
97 (c-name "BeagleHitsAddedResponse")
98 (gtype-id "BEAGLE_TYPE_HITS_ADDED_RESPONSE")
101 (define-object FinishedResponse
103 (parent "BeagleResponse")
104 (c-name "BeagleFinishedResponse")
105 (gtype-id "BEAGLE_TYPE_FINISHED_RESPONSE")
108 (define-object ErrorResponse
110 (parent "BeagleResponse")
111 (c-name "BeagleErrorResponse")
112 (gtype-id "BEAGLE_TYPE_ERROR_RESPONSE")
115 (define-object EmptyResponse
117 (parent "BeagleResponse")
118 (c-name "BeagleEmptyResponse")
119 (gtype-id "BEAGLE_TYPE_EMPTY_RESPONSE")
122 (define-object DaemonInformationResponse
124 (parent "BeagleResponse")
125 (c-name "BeagleDaemonInformationResponse")
126 (gtype-id "BEAGLE_TYPE_DAEMON_INFORMATION_RESPONSE")
129 (define-object SearchTermResponse
131 (parent "BeagleResponse")
132 (c-name "BeagleSearchTermResponse")
133 (gtype-id "BEAGLE_TYPE_SEARCH_TERM_RESPONSE")
136 (define-object ShutdownRequest
138 (parent "BeagleRequest")
139 (c-name "BeagleShutdownRequest")
140 (gtype-id "BEAGLE_TYPE_SHUTDOWN_REQUEST")
143 (define-object SnippetRequest
145 (parent "BeagleRequest")
146 (c-name "BeagleSnippetRequest")
147 (gtype-id "BEAGLE_TYPE_SNIPPET_REQUEST")
150 (define-object SnippetResponse
152 (parent "BeagleResponse")
153 (c-name "BeagleSnippetResponse")
154 (gtype-id "BEAGLE_TYPE_SNIPPET_RESPONSE")
157 ;; Enumerations and flags ...
159 (define-enum IndexableFiltering
161 (c-name "BeagleIndexableFiltering")
163 '("always" "BEAGLE_INDEXABLE_FILTERING_ALWAYS")
164 '("already-filtered" "BEAGLE_INDEXABLE_FILTERING_ALREADY_FILTERED")
165 '("automatic" "BEAGLE_INDEXABLE_FILTERING_AUTOMATIC")
166 '("never" "BEAGLE_INDEXABLE_FILTERING_NEVER")
170 (define-enum PropertyType
172 (c-name "BeaglePropertyType")
174 '("unknown" "BEAGLE_PROPERTY_TYPE_UNKNOWN")
175 '("text" "BEAGLE_PROPERTY_TYPE_TEXT")
176 '("keyword" "BEAGLE_PROPERTY_TYPE_KEYWORD")
177 '("date" "BEAGLE_PROPERTY_TYPE_DATE")
178 '("last" "BEAGLE_PROPERTY_TYPE_LAST")
182 (define-enum QueryPartLogic
184 (c-name "BeagleQueryPartLogic")
186 '("required" "BEAGLE_QUERY_PART_LOGIC_REQUIRED")
187 '("prohibited" "BEAGLE_QUERY_PART_LOGIC_PROHIBITED")
193 (c-name "BeagleError")
195 '("r" "BEAGLE_ERROR_DAEMON_ERROR")
200 ;; From ../../libbeagle/beagle/beagle-client.h
202 (define-function beagle_client_get_type
203 (c-name "beagle_client_get_type")
204 (return-type "GType")
207 (define-function beagle_client_new
208 (c-name "beagle_client_new")
209 (is-constructor-of "BeagleClient")
210 (return-type "BeagleClient*")
212 '("const-char*" "client_name")
216 (define-function beagle_client_new_from_socket_path
217 (c-name "beagle_client_new_from_socket_path")
218 (return-type "BeagleClient*")
220 '("const-char*" "socket_path")
224 (define-method send_request
225 (of-object "BeagleClient")
226 (c-name "beagle_client_send_request")
227 (return-type "BeagleResponse*")
229 '("BeagleRequest*" "request")
234 (define-method send_request_async
235 (of-object "BeagleClient")
236 (c-name "beagle_client_send_request_async")
237 (return-type "gboolean")
239 '("BeagleRequest*" "request")
246 ;; From ../../libbeagle/beagle/beagle-daemon-information-request.h
248 (define-function beagle_daemon_information_request_get_type
249 (c-name "beagle_daemon_information_request_get_type")
250 (return-type "GType")
253 (define-function beagle_daemon_information_request_new
254 (c-name "beagle_daemon_information_request_new")
255 (is-constructor-of "BeagleDaemonInformationRequest")
256 (return-type "BeagleDaemonInformationRequest*")
261 ;; From ../../libbeagle/beagle/beagle-daemon-information-response.h
263 (define-function beagle_daemon_information_response_get_type
264 (c-name "beagle_daemon_information_response_get_type")
265 (return-type "GType")
268 (define-method get_version
269 (of-object "BeagleDaemonInformationResponse")
270 (c-name "beagle_daemon_information_response_get_version")
271 (return-type "const-char*")
274 (define-method get_human_readable_status
275 (of-object "BeagleDaemonInformationResponse")
276 (c-name "beagle_daemon_information_response_get_human_readable_status")
277 (return-type "const-char*")
280 (define-method get_index_information
281 (of-object "BeagleDaemonInformationResponse")
282 (c-name "beagle_daemon_information_response_get_index_information")
283 (return-type "const-char*")
286 (define-method is_indexing
287 (of-object "BeagleDaemonInformationResponse")
288 (c-name "beagle_daemon_information_response_is_indexing")
289 (return-type "gboolean")
294 ;; From ../../libbeagle/beagle/beagle-empty-response.h
296 (define-function beagle_empty_response_get_type
297 (c-name "beagle_empty_response_get_type")
298 (return-type "GType")
303 ;; From ../../libbeagle/beagle/beagle-error-response.h
305 (define-function beagle_error_response_get_type
306 (c-name "beagle_error_response_get_type")
307 (return-type "GType")
310 (define-method get_message
311 (of-object "BeagleErrorResponse")
312 (c-name "beagle_error_response_get_message")
313 (return-type "const-char*")
316 (define-method get_details
317 (of-object "BeagleErrorResponse")
318 (c-name "beagle_error_response_get_details")
319 (return-type "const-char*")
324 ;; From ../../libbeagle/beagle/beagle-finished-response.h
326 (define-function beagle_finished_response_get_type
327 (c-name "beagle_finished_response_get_type")
328 (return-type "GType")
333 ;; From ../../libbeagle/beagle/beagle.h
337 ;; From ../../libbeagle/beagle/beagle-hit.h
340 (of-object "BeagleHit")
341 (c-name "beagle_hit_ref")
342 (return-type "BeagleHit*")
346 (of-object "BeagleHit")
347 (c-name "beagle_hit_unref")
351 (define-method get_uri
352 (of-object "BeagleHit")
353 (c-name "beagle_hit_get_uri")
354 (return-type "const-char*")
357 (define-method get_type
358 (of-object "BeagleHit")
359 (c-name "beagle_hit_get_type")
360 (return-type "const-char*")
363 (define-method get_mime_type
364 (of-object "BeagleHit")
365 (c-name "beagle_hit_get_mime_type")
366 (return-type "const-char*")
369 (define-method get_source
370 (of-object "BeagleHit")
371 (c-name "beagle_hit_get_source")
372 (return-type "const-char*")
375 (define-method get_parent_uri
376 (of-object "BeagleHit")
377 (c-name "beagle_hit_get_parent_uri")
378 (return-type "const-char*")
381 (define-method get_timestamp
382 (of-object "BeagleHit")
383 (c-name "beagle_hit_get_timestamp")
384 (return-type "BeagleTimestamp*")
387 (define-method get_score
388 (of-object "BeagleHit")
389 (c-name "beagle_hit_get_score")
390 (return-type "double")
393 (define-method get_one_property
394 (of-object "BeagleHit")
395 (c-name "beagle_hit_get_one_property")
396 (return-type "gboolean")
398 '("const-char*" "key")
399 '("const-char**" "value")
403 (define-method get_properties
404 (of-object "BeagleHit")
405 (c-name "beagle_hit_get_properties")
406 (return-type "GSList*")
408 '("const-char*" "key")
412 (define-method get_all_properties
413 (of-object "BeagleHit")
414 (c-name "beagle_hit_get_all_properties")
415 (return-type "GSList*")
419 ;; From ../../libbeagle/beagle/beagle-hits-added-response.h
421 (define-function beagle_hits_added_response_get_type
422 (c-name "beagle_hits_added_response_get_type")
423 (return-type "GType")
426 (define-method get_hits
427 (of-object "BeagleHitsAddedResponse")
428 (c-name "beagle_hits_added_response_get_hits")
429 (return-type "GSList*")
434 ;; From ../../libbeagle/beagle/beagle-hits-subtracted-response.h
436 (define-function beagle_hits_subtracted_response_get_type
437 (c-name "beagle_hits_subtracted_response_get_type")
438 (return-type "GType")
441 (define-method get_uris
442 (of-object "BeagleHitsSubtractedResponse")
443 (c-name "beagle_hits_subtracted_response_get_uris")
444 (return-type "GSList*")
449 ;; From ../../libbeagle/beagle/beagle-indexable.h
451 (define-function beagle_indexable_new
452 (c-name "beagle_indexable_new")
453 (is-constructor-of "BeagleIndexable")
454 (return-type "BeagleIndexable*")
456 '("const-char*" "uri")
461 (of-object "BeagleIndexable")
462 (c-name "beagle_indexable_free")
466 (define-method add_property
467 (of-object "BeagleIndexable")
468 (c-name "beagle_indexable_add_property")
471 '("BeagleProperty*" "prop")
475 (define-method get_uri
476 (of-object "BeagleIndexable")
477 (c-name "beagle_indexable_get_uri")
478 (return-type "const-char*")
481 (define-method set_uri
482 (of-object "BeagleIndexable")
483 (c-name "beagle_indexable_set_uri")
486 '("const-char*" "uri")
490 (define-method get_content_uri
491 (of-object "BeagleIndexable")
492 (c-name "beagle_indexable_get_content_uri")
493 (return-type "const-char*")
496 (define-method set_content_uri
497 (of-object "BeagleIndexable")
498 (c-name "beagle_indexable_set_content_uri")
501 '("const-char*" "content_uri")
505 (define-method get_hot_content_uri
506 (of-object "BeagleIndexable")
507 (c-name "beagle_indexable_get_hot_content_uri")
508 (return-type "const-char*")
511 (define-method set_hot_content_uri
512 (of-object "BeagleIndexable")
513 (c-name "beagle_indexable_set_hot_content_uri")
516 '("const-char*" "hot_content_uri")
520 (define-method get_delete_content
521 (of-object "BeagleIndexable")
522 (c-name "beagle_indexable_get_delete_content")
523 (return-type "gboolean")
526 (define-method set_delete_content
527 (of-object "BeagleIndexable")
528 (c-name "beagle_indexable_set_delete_content")
531 '("gboolean" "delete_content")
535 (define-method get_crawled
536 (of-object "BeagleIndexable")
537 (c-name "beagle_indexable_get_crawled")
538 (return-type "gboolean")
541 (define-method set_crawled
542 (of-object "BeagleIndexable")
543 (c-name "beagle_indexable_set_crawled")
546 '("gboolean" "crawled")
550 (define-method get_no_content
551 (of-object "BeagleIndexable")
552 (c-name "beagle_indexable_get_no_content")
553 (return-type "gboolean")
556 (define-method set_no_content
557 (of-object "BeagleIndexable")
558 (c-name "beagle_indexable_set_no_content")
561 '("gboolean" "no_content")
565 (define-method get_cache_content
566 (of-object "BeagleIndexable")
567 (c-name "beagle_indexable_get_cache_content")
568 (return-type "gboolean")
571 (define-method set_cache_content
572 (of-object "BeagleIndexable")
573 (c-name "beagle_indexable_set_cache_content")
576 '("gboolean" "cache_content")
580 (define-method get_filtering
581 (of-object "BeagleIndexable")
582 (c-name "beagle_indexable_get_filtering")
583 (return-type "BeagleIndexableFiltering")
586 (define-method set_filtering
587 (of-object "BeagleIndexable")
588 (c-name "beagle_indexable_set_filtering")
591 '("BeagleIndexableFiltering" "filtering")
595 (define-method get_type
596 (of-object "BeagleIndexable")
597 (c-name "beagle_indexable_get_type")
598 (return-type "const-char*")
601 (define-method set_type
602 (of-object "BeagleIndexable")
603 (c-name "beagle_indexable_set_type")
606 '("const-char*" "type")
610 (define-method get_mime_type
611 (of-object "BeagleIndexable")
612 (c-name "beagle_indexable_get_mime_type")
613 (return-type "const-char*")
616 (define-method set_mime_type
617 (of-object "BeagleIndexable")
618 (c-name "beagle_indexable_set_mime_type")
621 '("const-char*" "mime_type")
625 (define-method get_timestamp
626 (of-object "BeagleIndexable")
627 (c-name "beagle_indexable_get_timestamp")
628 (return-type "BeagleTimestamp*")
631 (define-method set_timestamp
632 (of-object "BeagleIndexable")
633 (c-name "beagle_indexable_set_timestamp")
636 '("BeagleTimestamp*" "timestamp")
642 ;; From ../../libbeagle/beagle/beagle-indexing-service-request.h
644 (define-function beagle_indexing_service_request_get_type
645 (c-name "beagle_indexing_service_request_get_type")
646 (return-type "GType")
649 (define-function beagle_indexing_service_request_new
650 (c-name "beagle_indexing_service_request_new")
651 (is-constructor-of "BeagleIndexingServiceRequest")
652 (return-type "BeagleIndexingServiceRequest*")
656 (of-object "BeagleIndexingServiceRequest")
657 (c-name "beagle_indexing_service_request_add")
660 '("BeagleIndexable*" "indexable")
664 (define-method remove
665 (of-object "BeagleIndexingServiceRequest")
666 (c-name "beagle_indexing_service_request_remove")
669 '("const-char*" "uri")
675 ;; From ../../libbeagle/beagle/beagle-marshal.h
679 ;; From ../../libbeagle/beagle/beagle-parser.h
683 ;; From ../../libbeagle/beagle/beagle-private.h
687 ;; From ../../libbeagle/beagle/beagle-property.h
689 (define-function beagle_property_new
690 (c-name "beagle_property_new")
691 (is-constructor-of "BeagleProperty")
692 (return-type "BeagleProperty*")
694 '("BeaglePropertyType" "type")
695 '("const-char*" "key")
696 '("const-char*" "value")
701 (of-object "BeagleProperty")
702 (c-name "beagle_property_free")
706 (define-method get_type
707 (of-object "BeagleProperty")
708 (c-name "beagle_property_get_type")
709 (return-type "BeaglePropertyType")
712 (define-method set_type
713 (of-object "BeagleProperty")
714 (c-name "beagle_property_set_type")
717 '("BeaglePropertyType" "type")
721 (define-method get_key
722 (of-object "BeagleProperty")
723 (c-name "beagle_property_get_key")
724 (return-type "const-char*")
727 (define-method set_key
728 (of-object "BeagleProperty")
729 (c-name "beagle_property_set_key")
732 '("const-char*" "key")
736 (define-method get_value
737 (of-object "BeagleProperty")
738 (c-name "beagle_property_get_value")
739 (return-type "const-char*")
742 (define-method set_value
743 (of-object "BeagleProperty")
744 (c-name "beagle_property_set_value")
747 '("const-char*" "value")
751 (define-method get_is_searched
752 (of-object "BeagleProperty")
753 (c-name "beagle_property_get_is_searched")
754 (return-type "gboolean")
757 (define-method set_is_searched
758 (of-object "BeagleProperty")
759 (c-name "beagle_property_set_is_searched")
762 '("gboolean" "is_searched")
766 (define-method get_is_mutable
767 (of-object "BeagleProperty")
768 (c-name "beagle_property_get_is_mutable")
769 (return-type "gboolean")
772 (define-method set_is_mutable
773 (of-object "BeagleProperty")
774 (c-name "beagle_property_set_is_mutable")
777 '("gboolean" "is_keyword")
781 (define-method get_is_stored
782 (of-object "BeagleProperty")
783 (c-name "beagle_property_get_is_stored")
784 (return-type "gboolean")
787 (define-method set_is_stored
788 (of-object "BeagleProperty")
789 (c-name "beagle_property_set_is_stored")
792 '("gboolean" "is_stored")
798 ;; From ../../libbeagle/beagle/beagle-query.h
800 (define-function beagle_query_get_type
801 (c-name "beagle_query_get_type")
802 (return-type "GType")
805 (define-function beagle_query_new
806 (c-name "beagle_query_new")
807 (is-constructor-of "BeagleQuery")
808 (return-type "BeagleQuery*")
811 (define-method add_part
812 (of-object "BeagleQuery")
813 (c-name "beagle_query_add_part")
816 '("BeagleQueryPart*" "part")
820 (define-method add_text
821 (of-object "BeagleQuery")
822 (c-name "beagle_query_add_text")
825 '("const-char*" "str")
829 (define-method add_mime_type
830 (of-object "BeagleQuery")
831 (c-name "beagle_query_add_mime_type")
834 '("const-char*" "mime_type")
838 (define-method add_hit_type
839 (of-object "BeagleQuery")
840 (c-name "beagle_query_add_hit_type")
843 '("const-char*" "hit_type")
847 (define-method add_source
848 (of-object "BeagleQuery")
849 (c-name "beagle_query_add_source")
852 '("const-char*" "source")
856 (define-method set_max_hits
857 (of-object "BeagleQuery")
858 (c-name "beagle_query_set_max_hits")
865 (define-method get_max_hits
866 (of-object "BeagleQuery")
867 (c-name "beagle_query_get_max_hits")
871 (define-method get_exact_text
872 (of-object "BeagleQuery")
873 (c-name "beagle_query_get_exact_text")
874 (return-type "GSList*")
877 (define-method get_stemmed_text
878 (of-object "BeagleQuery")
879 (c-name "beagle_query_get_stemmed_text")
880 (return-type "GSList*")
885 ;; From ../../libbeagle/beagle/beagle-query-part-date.h
887 (define-function beagle_query_part_date_get_type
888 (c-name "beagle_query_part_date_get_type")
889 (return-type "GType")
892 (define-function beagle_query_part_date_new
893 (c-name "beagle_query_part_date_new")
894 (is-constructor-of "BeagleQueryPartDate")
895 (return-type "BeagleQueryPartDate*")
898 (define-method set_start_date
899 (of-object "BeagleQueryPartDate")
900 (c-name "beagle_query_part_date_set_start_date")
903 '("BeagleTimestamp*" "start_date")
907 (define-method set_end_date
908 (of-object "BeagleQueryPartDate")
909 (c-name "beagle_query_part_date_set_end_date")
912 '("BeagleTimestamp*" "end_date")
918 ;; From ../../libbeagle/beagle/beagle-query-part.h
920 (define-function beagle_query_part_get_type
921 (c-name "beagle_query_part_get_type")
922 (return-type "GType")
925 (define-method set_logic
926 (of-object "BeagleQueryPart")
927 (c-name "beagle_query_part_set_logic")
930 '("BeagleQueryPartLogic" "logic")
936 ;; From ../../libbeagle/beagle/beagle-query-part-human.h
938 (define-function beagle_query_part_human_get_type
939 (c-name "beagle_query_part_human_get_type")
940 (return-type "GType")
943 (define-function beagle_query_part_human_new
944 (c-name "beagle_query_part_human_new")
945 (is-constructor-of "BeagleQueryPartHuman")
946 (return-type "BeagleQueryPartHuman*")
949 (define-method set_string
950 (of-object "BeagleQueryPartHuman")
951 (c-name "beagle_query_part_human_set_string")
954 '("const-char*" "string")
960 ;; From ../../libbeagle/beagle/beagle-query-part-or.h
962 (define-function beagle_query_part_or_get_type
963 (c-name "beagle_query_part_or_get_type")
964 (return-type "GType")
967 (define-function beagle_query_part_or_new
968 (c-name "beagle_query_part_or_new")
969 (is-constructor-of "BeagleQueryPartOr")
970 (return-type "BeagleQueryPartOr*")
973 (define-method add_subpart
974 (of-object "BeagleQueryPartOr")
975 (c-name "beagle_query_part_or_add_subpart")
978 '("BeagleQueryPart*" "subpart")
984 ;; From ../../libbeagle/beagle/beagle-query-part-property.h
986 (define-function beagle_query_part_property_get_type
987 (c-name "beagle_query_part_property_get_type")
988 (return-type "GType")
991 (define-function beagle_query_part_property_new
992 (c-name "beagle_query_part_property_new")
993 (is-constructor-of "BeagleQueryPartProperty")
994 (return-type "BeagleQueryPartProperty*")
997 (define-method set_key
998 (of-object "BeagleQueryPartProperty")
999 (c-name "beagle_query_part_property_set_key")
1000 (return-type "none")
1002 '("const-char*" "key")
1006 (define-method set_value
1007 (of-object "BeagleQueryPartProperty")
1008 (c-name "beagle_query_part_property_set_value")
1009 (return-type "none")
1011 '("const-char*" "value")
1015 (define-method set_property_type
1016 (of-object "BeagleQueryPartProperty")
1017 (c-name "beagle_query_part_property_set_property_type")
1018 (return-type "none")
1020 '("BeaglePropertyType" "prop_type")
1026 ;; From ../../libbeagle/beagle/beagle-query-part-text.h
1028 (define-function beagle_query_part_text_get_type
1029 (c-name "beagle_query_part_text_get_type")
1030 (return-type "GType")
1033 (define-function beagle_query_part_text_new
1034 (c-name "beagle_query_part_text_new")
1035 (is-constructor-of "BeagleQueryPartText")
1036 (return-type "BeagleQueryPartText*")
1039 (define-method set_text
1040 (of-object "BeagleQueryPartText")
1041 (c-name "beagle_query_part_text_set_text")
1042 (return-type "none")
1044 '("const-char*" "text")
1048 (define-method set_search_full_text
1049 (of-object "BeagleQueryPartText")
1050 (c-name "beagle_query_part_text_set_search_full_text")
1051 (return-type "none")
1053 '("gboolean" "search_full_text")
1057 (define-method set_search_properties
1058 (of-object "BeagleQueryPartText")
1059 (c-name "beagle_query_part_text_set_search_properties")
1060 (return-type "none")
1062 '("gboolean" "search_properties")
1068 ;; From ../../libbeagle/beagle/beagle-request.h
1070 (define-function beagle_request_get_type
1071 (c-name "beagle_request_get_type")
1072 (return-type "GType")
1077 ;; From ../../libbeagle/beagle/beagle-response.h
1079 (define-function beagle_response_get_type
1080 (c-name "beagle_response_get_type")
1081 (return-type "GType")
1086 ;; From ../../libbeagle/beagle/beagle-search-term-response.h
1088 (define-function beagle_search_term_response_get_type
1089 (c-name "beagle_search_term_response_get_type")
1090 (return-type "GType")
1095 ;; From ../../libbeagle/beagle/beagle-shutdown-request.h
1097 (define-function beagle_shutdown_request_get_type
1098 (c-name "beagle_shutdown_request_get_type")
1099 (return-type "GType")
1102 (define-function beagle_shutdown_request_new
1103 (c-name "beagle_shutdown_request_new")
1104 (is-constructor-of "BeagleShutdownRequest")
1105 (return-type "BeagleShutdownRequest*")
1110 ;; From ../../libbeagle/beagle/beagle-snippet-request.h
1112 (define-function beagle_snippet_request_get_type
1113 (c-name "beagle_snippet_request_get_type")
1114 (return-type "GType")
1117 (define-function beagle_snippet_request_new
1118 (c-name "beagle_snippet_request_new")
1119 (is-constructor-of "BeagleSnippetRequest")
1120 (return-type "BeagleSnippetRequest*")
1123 (define-method set_hit
1124 (of-object "BeagleSnippetRequest")
1125 (c-name "beagle_snippet_request_set_hit")
1126 (return-type "none")
1128 '("BeagleHit*" "hit")
1132 (define-method set_query
1133 (of-object "BeagleSnippetRequest")
1134 (c-name "beagle_snippet_request_set_query")
1135 (return-type "none")
1137 '("BeagleQuery*" "query")
1143 ;; From ../../libbeagle/beagle/beagle-snippet-response.h
1145 (define-function beagle_snippet_response_get_type
1146 (c-name "beagle_snippet_response_get_type")
1147 (return-type "GType")
1150 (define-method get_snippet
1151 (of-object "BeagleSnippetResponse")
1152 (c-name "beagle_snippet_response_get_snippet")
1153 (return-type "const-char*")
1158 ;; From ../../libbeagle/beagle/beagle-timestamp.h
1160 (define-function beagle_timestamp_new_from_string
1161 (c-name "beagle_timestamp_new_from_string")
1162 (return-type "BeagleTimestamp*")
1164 '("const-char*" "str")
1168 (define-function beagle_timestamp_new_from_unix_time
1169 (c-name "beagle_timestamp_new_from_unix_time")
1170 (return-type "BeagleTimestamp*")
1177 (of-object "BeagleTimestamp")
1178 (c-name "beagle_timestamp_free")
1179 (return-type "none")
1182 (define-method to_unix_time
1183 (of-object "BeagleTimestamp")
1184 (c-name "beagle_timestamp_to_unix_time")
1185 (return-type "gboolean")
1193 ;; From ../../libbeagle/beagle/beagle-util.h
1195 (define-function beagle_error_quark
1196 (c-name "beagle_error_quark")
1197 (return-type "GQuark")
1200 (define-function beagle_util_is_path_on_block_device
1201 (c-name "beagle_util_is_path_on_block_device")
1202 (return-type "gboolean")
1204 '("const-char*" "path")
1208 (define-function beagle_util_daemon_is_running
1209 (c-name "beagle_util_daemon_is_running")
1210 (return-type "gboolean")
1217 (in-module "Beagle")
1218 (c-name "BeagleHit")
1219 (gtype-id "BEAGLE_TYPE_HIT")
1222 (define-pointer Property
1223 (in-module "Beagle")
1224 (c-name "BeagleProperty")
1225 (gtype-id "BEAGLE_TYPE_PROPERTY")
1228 (define-pointer Timestamp
1229 (in-module "Beagle")
1230 (c-name "BeagleTimestamp")
1231 (gtype-id "BEAGLE_TYPE_TIMESTAMP")