libpurple/signals.h

changeset 41747
9051db7ca046
parent 41314
0dc72eacd8bf
child 41922
d04961ef2a48
equal deleted inserted replaced
41746:e1d8d70679d5 41747:9051db7ca046
331 */ 331 */
332 void purple_marshal_VOID( 332 void purple_marshal_VOID(
333 GCallback cb, va_list args, void *data, void **return_val); 333 GCallback cb, va_list args, void *data, void **return_val);
334 334
335 /** 335 /**
336 * purple_marshal_VOID__INT:
337 * @cb: (scope call): Callback this marshaller is designed to invoke
338 * @args: va_list of arguments to be passed to the closure
339 * @data: (nullable): Data to be passed to the callback
340 * @return_val: (nullable): Value to store the callback's return value
341 *
342 * A purple marshaller function for use with signals with a single integer
343 * argument.
344 */
345 void purple_marshal_VOID__INT(
346 GCallback cb, va_list args, void *data, void **return_val);
347
348 /**
349 * purple_marshal_VOID__INT_INT:
350 * @cb: (scope call): Callback this marshaller is designed to invoke
351 * @args: va_list of arguments to be passed to the closure
352 * @data: (nullable): Data to be passed to the callback
353 * @return_val: (nullable): Value to store the callback's return value
354 *
355 * A purple marshaller function for use with signals with two integer
356 * arguments.
357 */
358 void purple_marshal_VOID__INT_INT(
359 GCallback cb, va_list args, void *data, void **return_val);
360
361 /**
362 * purple_marshal_VOID__POINTER: 336 * purple_marshal_VOID__POINTER:
363 * @cb: (scope call): Callback this marshaller is designed to invoke 337 * @cb: (scope call): Callback this marshaller is designed to invoke
364 * @args: va_list of arguments to be passed to the closure 338 * @args: va_list of arguments to be passed to the closure
365 * @data: (nullable): Data to be passed to the callback 339 * @data: (nullable): Data to be passed to the callback
366 * @return_val: (nullable): Value to store the callback's return value 340 * @return_val: (nullable): Value to store the callback's return value
539 */ 513 */
540 void purple_marshal_VOID__POINTER_POINTER_POINTER_UINT_UINT( 514 void purple_marshal_VOID__POINTER_POINTER_POINTER_UINT_UINT(
541 GCallback cb, va_list args, void *data, void **return_val); 515 GCallback cb, va_list args, void *data, void **return_val);
542 516
543 /** 517 /**
544 * purple_marshal_INT__INT:
545 * @cb: (scope call): Callback this marshaller is designed to invoke
546 * @args: va_list of arguments to be passed to the closure
547 * @data: (nullable): Data to be passed to the callback
548 * @return_val: (nullable): Value to store the callback's return value
549 *
550 * A purple marshaller function for use with signals with an integer argument
551 * and returns an integer.
552 */
553 void purple_marshal_INT__INT(
554 GCallback cb, va_list args, void *data, void **return_val);
555
556 /**
557 * purple_marshal_INT__INT_INT:
558 * @cb: (scope call): Callback this marshaller is designed to invoke
559 * @args: va_list of arguments to be passed to the closure
560 * @data: (nullable): Data to be passed to the callback
561 * @return_val: (nullable): Value to store the callback's return value
562 *
563 * A purple marshaller function for use with signals with two integer
564 * arguments and returns an integer.
565 */
566 void purple_marshal_INT__INT_INT(
567 GCallback cb, va_list args, void *data, void **return_val);
568
569 /**
570 * purple_marshal_INT__POINTER_POINTER:
571 * @cb: (scope call): Callback this marshaller is designed to invoke
572 * @args: va_list of arguments to be passed to the closure
573 * @data: (nullable): Data to be passed to the callback
574 * @return_val: (nullable): Value to store the callback's return value
575 *
576 * A purple marshaller function for use with signals with two pointer
577 * arguments and returns an integer.
578 */
579 void purple_marshal_INT__POINTER_POINTER(
580 GCallback cb, va_list args, void *data, void **return_val);
581
582 /**
583 * purple_marshal_INT__POINTER_POINTER_POINTER: 518 * purple_marshal_INT__POINTER_POINTER_POINTER:
584 * @cb: (scope call): Callback this marshaller is designed to invoke 519 * @cb: (scope call): Callback this marshaller is designed to invoke
585 * @args: va_list of arguments to be passed to the closure 520 * @args: va_list of arguments to be passed to the closure
586 * @data: (nullable): Data to be passed to the callback 521 * @data: (nullable): Data to be passed to the callback
587 * @return_val: (nullable): Value to store the callback's return value 522 * @return_val: (nullable): Value to store the callback's return value
669 */ 604 */
670 void purple_marshal_BOOLEAN__POINTER_POINTER_UINT( 605 void purple_marshal_BOOLEAN__POINTER_POINTER_UINT(
671 GCallback cb, va_list args, void *data, void **return_val); 606 GCallback cb, va_list args, void *data, void **return_val);
672 607
673 /** 608 /**
674 * purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_UINT:
675 * @cb: (scope call): Callback this marshaller is designed to invoke
676 * @args: va_list of arguments to be passed to the closure
677 * @data: (nullable): Data to be passed to the callback
678 * @return_val: (nullable): Value to store the callback's return value
679 *
680 * A purple marshaller function for use with signals with three pointer
681 * and one unsigned integer arguments and returns a boolean.
682 */
683 void purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_UINT(
684 GCallback cb, va_list args, void *data, void **return_val);
685
686 /**
687 * purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER: 609 * purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER:
688 * @cb: (scope call): Callback this marshaller is designed to invoke 610 * @cb: (scope call): Callback this marshaller is designed to invoke
689 * @args: va_list of arguments to be passed to the closure 611 * @args: va_list of arguments to be passed to the closure
690 * @data: (nullable): Data to be passed to the callback 612 * @data: (nullable): Data to be passed to the callback
691 * @return_val: (nullable): Value to store the callback's return value 613 * @return_val: (nullable): Value to store the callback's return value
708 */ 630 */
709 void purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER( 631 void purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER(
710 GCallback cb, va_list args, void *data, void **return_val); 632 GCallback cb, va_list args, void *data, void **return_val);
711 633
712 /** 634 /**
713 * purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_UINT:
714 * @cb: (scope call): Callback this marshaller is designed to invoke
715 * @args: va_list of arguments to be passed to the closure
716 * @data: (nullable): Data to be passed to the callback
717 * @return_val: (nullable): Value to store the callback's return value
718 *
719 * A purple marshaller function for use with signals with four pointer
720 * and one unsigned integer arguments and returns a boolean.
721 */
722 void purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_UINT(
723 GCallback cb, va_list args, void *data, void **return_val);
724
725 /**
726 * purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER_POINTER: 635 * purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER_POINTER:
727 * @cb: (scope call): Callback this marshaller is designed to invoke 636 * @cb: (scope call): Callback this marshaller is designed to invoke
728 * @args: va_list of arguments to be passed to the closure 637 * @args: va_list of arguments to be passed to the closure
729 * @data: (nullable): Data to be passed to the callback 638 * @data: (nullable): Data to be passed to the callback
730 * @return_val: (nullable): Value to store the callback's return value 639 * @return_val: (nullable): Value to store the callback's return value
733 * arguments and returns a boolean. 642 * arguments and returns a boolean.
734 */ 643 */
735 void purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER_POINTER( 644 void purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER_POINTER(
736 GCallback cb, va_list args, void *data, void **return_val); 645 GCallback cb, va_list args, void *data, void **return_val);
737 646
738 /**
739 * purple_marshal_BOOLEAN__INT_POINTER:
740 * @cb: (scope call): Callback this marshaller is designed to invoke
741 * @args: va_list of arguments to be passed to the closure
742 * @data: (nullable): Data to be passed to the callback
743 * @return_val: (nullable): Value to store the callback's return value
744 *
745 * A purple marshaller function for use with signals with an integer
746 * and a pointer argument and returns a boolean.
747 */
748 void purple_marshal_BOOLEAN__INT_POINTER(
749 GCallback cb, va_list args, void *data, void **return_val);
750
751 /**
752 * purple_marshal_POINTER__POINTER:
753 * @cb: (scope call): Callback this marshaller is designed to invoke
754 * @args: va_list of arguments to be passed to the closure
755 * @data: (nullable): Data to be passed to the callback
756 * @return_val: (nullable): Value to store the callback's return value
757 *
758 * A purple marshaller function for use with signals with a pointer
759 * argument and returns a pointer.
760 */
761 void purple_marshal_POINTER__POINTER(
762 GCallback cb, va_list args, void *data, void **return_val);
763
764 /**
765 * purple_marshal_POINTER__POINTER_INT:
766 * @cb: (scope call): Callback this marshaller is designed to invoke
767 * @args: va_list of arguments to be passed to the closure
768 * @data: (nullable): Data to be passed to the callback
769 * @return_val: (nullable): Value to store the callback's return value
770 *
771 * A purple marshaller function for use with signals with a pointer and
772 * an integer argument and returns a pointer.
773 */
774 void purple_marshal_POINTER__POINTER_INT(
775 GCallback cb, va_list args, void *data, void **return_val);
776
777 /**
778 * purple_marshal_POINTER__POINTER_INT64:
779 * @cb: (scope call): Callback this marshaller is designed to invoke
780 * @args: va_list of arguments to be passed to the closure
781 * @data: (nullable): Data to be passed to the callback
782 * @return_val: (nullable): Value to store the callback's return value
783 *
784 * A purple marshaller function for use with signals with a pointer and
785 * a 64-bit integer argument and returns a pointer.
786 */
787 void purple_marshal_POINTER__POINTER_INT64(
788 GCallback cb, va_list args, void *data, void **return_val);
789
790 /**
791 * purple_marshal_POINTER__POINTER_INT_BOOLEAN:
792 * @cb: (scope call): Callback this marshaller is designed to invoke
793 * @args: va_list of arguments to be passed to the closure
794 * @data: (nullable): Data to be passed to the callback
795 * @return_val: (nullable): Value to store the callback's return value
796 *
797 * A purple marshaller function for use with signals with a pointer,
798 * integer, and boolean argument and returns a pointer.
799 */
800 void purple_marshal_POINTER__POINTER_INT_BOOLEAN(
801 GCallback cb, va_list args, void *data, void **return_val);
802
803 /**
804 * purple_marshal_POINTER__POINTER_INT64_BOOLEAN:
805 * @cb: (scope call): Callback this marshaller is designed to invoke
806 * @args: va_list of arguments to be passed to the closure
807 * @data: (nullable): Data to be passed to the callback
808 * @return_val: (nullable): Value to store the callback's return value
809 *
810 * A purple marshaller function for use with signals with a pointer,
811 * 64-bit integer, and boolean argument and returns a pointer.
812 */
813 void purple_marshal_POINTER__POINTER_INT64_BOOLEAN(
814 GCallback cb, va_list args, void *data, void **return_val);
815
816 /**
817 * purple_marshal_POINTER__POINTER_POINTER_BOOLEAN:
818 * @cb: (scope call): Callback this marshaller is designed to invoke
819 * @args: va_list of arguments to be passed to the closure
820 * @data: (nullable): Data to be passed to the callback
821 * @return_val: (nullable): Value to store the callback's return value
822 *
823 * A purple marshaller function for use with signals with two pointer
824 * and one boolean arguments and returns a pointer.
825 */
826 void purple_marshal_POINTER__POINTER_POINTER_BOOLEAN(
827 GCallback cb, va_list args, void *data, void **return_val);
828
829 /**
830 * purple_marshal_POINTER__POINTER_POINTER:
831 * @cb: (scope call): Callback this marshaller is designed to invoke
832 * @args: va_list of arguments to be passed to the closure
833 * @data: (nullable): Data to be passed to the callback
834 * @return_val: (nullable): Value to store the callback's return value
835 *
836 * A purple marshaller function for use with signals with two pointer
837 * arguments and returns a pointer.
838 */
839 void purple_marshal_POINTER__POINTER_POINTER(
840 GCallback cb, va_list args, void *data, void **return_val);
841
842 G_END_DECLS 647 G_END_DECLS
843 648
844 #endif /* PURPLE_SIGNALS_H */ 649 #endif /* PURPLE_SIGNALS_H */

mercurial