Changeset c62134ca6ed44cee0157919ba56431eba2142fc7
- Timestamp:
- 09/10/11 04:11:50 (21 months ago)
- Author:
- Nedko Arnaudov <nedko@…>
- Children:
- 3b69e81c7645f51a0f8b18ea121ed25467631828
- Parents:
- 9ef9615bd12286a67be6c314de93fa181ff8f59c
- git-committer:
- Nedko Arnaudov <nedko@arnaudov.name> / 2011-09-10T04:11:50Z+0300
- Message:
-
liblash: export as public only LASH API symbols
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r997630b
|
rc62134c
|
|
| 57 | 57 | const char * ladish_map_app_level_constant(const char * level); |
| 58 | 58 | |
| | 59 | #define LADISH_PUBLIC __attribute__ ((visibility ("default"))) |
| | 60 | |
| 59 | 61 | #endif /* #ifndef COMMON_H__82C9504A_ACD2_435D_9743_781943473E6A__INCLUDED */ |
-
|
r6aa44e9
|
rc62134c
|
|
| 240 | 240 | } |
| 241 | 241 | |
| | 242 | LADISH_PUBLIC |
| 242 | 243 | const char * lash_protocol_string(lash_protocol_t protocol) |
| 243 | 244 | { |
| … |
… |
|
| 245 | 246 | } |
| 246 | 247 | |
| | 248 | LADISH_PUBLIC |
| 247 | 249 | lash_args_t * lash_extract_args(int * argc, char *** argv) |
| 248 | 250 | { |
| … |
… |
|
| 251 | 253 | } |
| 252 | 254 | |
| | 255 | LADISH_PUBLIC |
| 253 | 256 | void lash_args_destroy(lash_args_t * args) |
| 254 | 257 | { |
| … |
… |
|
| 256 | 259 | } |
| 257 | 260 | |
| | 261 | LADISH_PUBLIC |
| 258 | 262 | lash_client_t * lash_init(const lash_args_t * args, const char * class, int client_flags, lash_protocol_t protocol) |
| 259 | 263 | { |
| … |
… |
|
| 333 | 337 | } |
| 334 | 338 | |
| | 339 | LADISH_PUBLIC |
| 335 | 340 | unsigned int lash_get_pending_event_count(lash_client_t * client_ptr) |
| 336 | 341 | { |
| … |
… |
|
| 348 | 353 | } |
| 349 | 354 | |
| | 355 | LADISH_PUBLIC |
| 350 | 356 | unsigned int lash_get_pending_config_count(lash_client_t * client_ptr) |
| 351 | 357 | { |
| … |
… |
|
| 365 | 371 | } |
| 366 | 372 | |
| | 373 | LADISH_PUBLIC |
| 367 | 374 | lash_event_t * lash_get_event(lash_client_t * client_ptr) |
| 368 | 375 | { |
| … |
… |
|
| 424 | 431 | } |
| 425 | 432 | |
| | 433 | LADISH_PUBLIC |
| 426 | 434 | lash_config_t * lash_get_config(lash_client_t * client_ptr) |
| 427 | 435 | { |
| … |
… |
|
| 441 | 449 | } |
| 442 | 450 | |
| | 451 | LADISH_PUBLIC |
| 443 | 452 | void lash_send_event(lash_client_t * client_ptr, lash_event_t * event_ptr) |
| 444 | 453 | { |
| … |
… |
|
| 526 | 535 | } |
| 527 | 536 | |
| | 537 | LADISH_PUBLIC |
| 528 | 538 | void lash_send_config(lash_client_t * client_ptr, lash_config_t * config_ptr) |
| 529 | 539 | { |
| … |
… |
|
| 545 | 555 | } |
| 546 | 556 | |
| | 557 | LADISH_PUBLIC |
| 547 | 558 | int lash_server_connected(lash_client_t * client_ptr) |
| 548 | 559 | { |
| … |
… |
|
| 551 | 562 | } |
| 552 | 563 | |
| | 564 | LADISH_PUBLIC |
| 553 | 565 | const char * lash_get_server_name(lash_client_t * client_ptr) |
| 554 | 566 | { |
| … |
… |
|
| 557 | 569 | } |
| 558 | 570 | |
| | 571 | LADISH_PUBLIC |
| 559 | 572 | lash_event_t * lash_event_new(void) |
| 560 | 573 | { |
| … |
… |
|
| 574 | 587 | } |
| 575 | 588 | |
| | 589 | LADISH_PUBLIC |
| 576 | 590 | lash_event_t * lash_event_new_with_type(enum LASH_Event_Type type) |
| 577 | 591 | { |
| … |
… |
|
| 588 | 602 | } |
| 589 | 603 | |
| | 604 | LADISH_PUBLIC |
| 590 | 605 | lash_event_t * lash_event_new_with_all(enum LASH_Event_Type type, const char * string) |
| 591 | 606 | { |
| … |
… |
|
| 612 | 627 | } |
| 613 | 628 | |
| | 629 | LADISH_PUBLIC |
| 614 | 630 | void lash_event_destroy(lash_event_t * event_ptr) |
| 615 | 631 | { |
| … |
… |
|
| 626 | 642 | } |
| 627 | 643 | |
| | 644 | LADISH_PUBLIC |
| 628 | 645 | enum LASH_Event_Type lash_event_get_type(const lash_event_t * event_ptr) |
| 629 | 646 | { |
| … |
… |
|
| 631 | 648 | } |
| 632 | 649 | |
| | 650 | LADISH_PUBLIC |
| 633 | 651 | const char * lash_event_get_string(const lash_event_t * event_ptr) |
| 634 | 652 | { |
| … |
… |
|
| 636 | 654 | } |
| 637 | 655 | |
| | 656 | LADISH_PUBLIC |
| 638 | 657 | void lash_event_set_type(lash_event_t * event_ptr, enum LASH_Event_Type type) |
| 639 | 658 | { |
| … |
… |
|
| 641 | 660 | } |
| 642 | 661 | |
| | 662 | LADISH_PUBLIC |
| 643 | 663 | void lash_event_set_string(lash_event_t * event_ptr, const char * string) |
| 644 | 664 | { |
| … |
… |
|
| 664 | 684 | } |
| 665 | 685 | |
| | 686 | LADISH_PUBLIC |
| 666 | 687 | const char * lash_event_get_project(const lash_event_t * event_ptr) |
| 667 | 688 | { |
| … |
… |
|
| 671 | 692 | } |
| 672 | 693 | |
| | 694 | LADISH_PUBLIC |
| 673 | 695 | void lash_event_set_project(lash_event_t * event_ptr, const char * project) |
| 674 | 696 | { |
| … |
… |
|
| 677 | 699 | } |
| 678 | 700 | |
| | 701 | LADISH_PUBLIC |
| 679 | 702 | void lash_event_get_client_id(const lash_event_t * event_ptr, uuid_t id) |
| 680 | 703 | { |
| … |
… |
|
| 683 | 706 | } |
| 684 | 707 | |
| | 708 | LADISH_PUBLIC |
| 685 | 709 | void lash_event_set_client_id(lash_event_t * event_ptr, uuid_t id) |
| 686 | 710 | { |
| … |
… |
|
| 689 | 713 | } |
| 690 | 714 | |
| | 715 | LADISH_PUBLIC |
| 691 | 716 | unsigned char lash_event_get_alsa_client_id(const lash_event_t * event_ptr) |
| 692 | 717 | { |
| … |
… |
|
| 696 | 721 | } |
| 697 | 722 | |
| | 723 | LADISH_PUBLIC |
| 698 | 724 | unsigned char lash_str_get_alsa_client_id(const char * str) |
| 699 | 725 | { |
| … |
… |
|
| 704 | 730 | } |
| 705 | 731 | |
| | 732 | LADISH_PUBLIC |
| 706 | 733 | void lash_jack_client_name(lash_client_t * client_ptr, const char * name) |
| 707 | 734 | { |
| … |
… |
|
| 709 | 736 | } |
| 710 | 737 | |
| | 738 | LADISH_PUBLIC |
| 711 | 739 | void lash_str_set_alsa_client_id(char * str, unsigned char alsa_id) |
| 712 | 740 | { |
| … |
… |
|
| 715 | 743 | } |
| 716 | 744 | |
| | 745 | LADISH_PUBLIC |
| 717 | 746 | void lash_event_set_alsa_client_id(lash_event_t * event_ptr, unsigned char alsa_id) |
| 718 | 747 | { |
| … |
… |
|
| 721 | 750 | } |
| 722 | 751 | |
| | 752 | LADISH_PUBLIC |
| 723 | 753 | void lash_alsa_client_id(lash_client_t * client, unsigned char id) |
| 724 | 754 | { |
| … |
… |
|
| 726 | 756 | } |
| 727 | 757 | |
| | 758 | LADISH_PUBLIC |
| 728 | 759 | lash_config_t * lash_config_new(void) |
| 729 | 760 | { |
| … |
… |
|
| 744 | 775 | } |
| 745 | 776 | |
| | 777 | LADISH_PUBLIC |
| 746 | 778 | lash_config_t * lash_config_dup(const lash_config_t * src_ptr) |
| 747 | 779 | { |
| … |
… |
|
| 781 | 813 | } |
| 782 | 814 | |
| | 815 | LADISH_PUBLIC |
| 783 | 816 | lash_config_t * lash_config_new_with_key(const char * key) |
| 784 | 817 | { |
| … |
… |
|
| 802 | 835 | } |
| 803 | 836 | |
| | 837 | LADISH_PUBLIC |
| 804 | 838 | void lash_config_destroy(lash_config_t * config_ptr) |
| 805 | 839 | { |
| … |
… |
|
| 809 | 843 | } |
| 810 | 844 | |
| | 845 | LADISH_PUBLIC |
| 811 | 846 | const char * lash_config_get_key(const lash_config_t * config_ptr) |
| 812 | 847 | { |
| … |
… |
|
| 814 | 849 | } |
| 815 | 850 | |
| | 851 | LADISH_PUBLIC |
| 816 | 852 | const void * lash_config_get_value(const lash_config_t * config_ptr) |
| 817 | 853 | { |
| … |
… |
|
| 819 | 855 | } |
| 820 | 856 | |
| | 857 | LADISH_PUBLIC |
| 821 | 858 | size_t lash_config_get_value_size(const lash_config_t * config_ptr) |
| 822 | 859 | { |
| … |
… |
|
| 824 | 861 | } |
| 825 | 862 | |
| | 863 | LADISH_PUBLIC |
| 826 | 864 | void lash_config_set_key(lash_config_t * config_ptr, const char * key) |
| 827 | 865 | { |
| … |
… |
|
| 842 | 880 | } |
| 843 | 881 | |
| | 882 | LADISH_PUBLIC |
| 844 | 883 | void lash_config_set_value(lash_config_t * config_ptr, const void * value, size_t value_size) |
| 845 | 884 | { |
| … |
… |
|
| 869 | 908 | } |
| 870 | 909 | |
| | 910 | LADISH_PUBLIC |
| 871 | 911 | uint32_t lash_config_get_value_int(const lash_config_t * config_ptr) |
| 872 | 912 | { |
| … |
… |
|
| 875 | 915 | } |
| 876 | 916 | |
| | 917 | LADISH_PUBLIC |
| 877 | 918 | float lash_config_get_value_float(const lash_config_t * config_ptr) |
| 878 | 919 | { |
| … |
… |
|
| 881 | 922 | } |
| 882 | 923 | |
| | 924 | LADISH_PUBLIC |
| 883 | 925 | double lash_config_get_value_double(const lash_config_t * config_ptr) |
| 884 | 926 | { |
| … |
… |
|
| 887 | 929 | } |
| 888 | 930 | |
| | 931 | LADISH_PUBLIC |
| 889 | 932 | const char * lash_config_get_value_string(const lash_config_t * config_ptr) |
| 890 | 933 | { |
| … |
… |
|
| 900 | 943 | } |
| 901 | 944 | |
| | 945 | LADISH_PUBLIC |
| 902 | 946 | void lash_config_set_value_int(lash_config_t * config_ptr, uint32_t value) |
| 903 | 947 | { |
| … |
… |
|
| 906 | 950 | } |
| 907 | 951 | |
| | 952 | LADISH_PUBLIC |
| 908 | 953 | void lash_config_set_value_float(lash_config_t * config_ptr, float value) |
| 909 | 954 | { |
| … |
… |
|
| 911 | 956 | } |
| 912 | 957 | |
| | 958 | LADISH_PUBLIC |
| 913 | 959 | void lash_config_set_value_double(lash_config_t * config_ptr, double value) |
| 914 | 960 | { |
| … |
… |
|
| 916 | 962 | } |
| 917 | 963 | |
| | 964 | LADISH_PUBLIC |
| 918 | 965 | void lash_config_set_value_string(lash_config_t * config_ptr, const char * value) |
| 919 | 966 | { |
| … |
… |
|
| 921 | 968 | } |
| 922 | 969 | |
| | 970 | LADISH_PUBLIC |
| 923 | 971 | const char * lash_get_fqn(const char * dir, const char * file) |
| 924 | 972 | { |
-
|
re9a07d1
|
rc62134c
|
|
| 197 | 197 | conf.check_python_version() |
| 198 | 198 | conf.check_python_headers() |
| | 199 | |
| | 200 | add_cflag(conf, '-fvisibility=hidden') |
| 199 | 201 | |
| 200 | 202 | conf.env['BUILD_WERROR'] = not RELEASE |