Changeset c62134ca6ed44cee0157919ba56431eba2142fc7

Show
Ignore:
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:
3 modified

Legend:

Unmodified
Added
Removed
  • common.h

    r997630b rc62134c  
    5757const char * ladish_map_app_level_constant(const char * level); 
    5858 
     59#define LADISH_PUBLIC __attribute__ ((visibility ("default"))) 
     60 
    5961#endif /* #ifndef COMMON_H__82C9504A_ACD2_435D_9743_781943473E6A__INCLUDED */ 
  • lash_compat/liblash/lash.c

    r6aa44e9 rc62134c  
    240240} 
    241241 
     242LADISH_PUBLIC 
    242243const char * lash_protocol_string(lash_protocol_t protocol) 
    243244{ 
     
    245246} 
    246247 
     248LADISH_PUBLIC 
    247249lash_args_t * lash_extract_args(int * argc, char *** argv) 
    248250{ 
     
    251253} 
    252254 
     255LADISH_PUBLIC 
    253256void lash_args_destroy(lash_args_t * args) 
    254257{ 
     
    256259} 
    257260 
     261LADISH_PUBLIC 
    258262lash_client_t * lash_init(const lash_args_t * args, const char * class, int client_flags, lash_protocol_t protocol) 
    259263{ 
     
    333337} 
    334338 
     339LADISH_PUBLIC 
    335340unsigned int lash_get_pending_event_count(lash_client_t * client_ptr) 
    336341{ 
     
    348353} 
    349354 
     355LADISH_PUBLIC 
    350356unsigned int lash_get_pending_config_count(lash_client_t * client_ptr) 
    351357{ 
     
    365371} 
    366372 
     373LADISH_PUBLIC 
    367374lash_event_t * lash_get_event(lash_client_t * client_ptr) 
    368375{ 
     
    424431} 
    425432 
     433LADISH_PUBLIC 
    426434lash_config_t * lash_get_config(lash_client_t * client_ptr) 
    427435{ 
     
    441449} 
    442450 
     451LADISH_PUBLIC 
    443452void lash_send_event(lash_client_t * client_ptr, lash_event_t * event_ptr) 
    444453{ 
     
    526535} 
    527536 
     537LADISH_PUBLIC 
    528538void lash_send_config(lash_client_t * client_ptr, lash_config_t * config_ptr) 
    529539{ 
     
    545555} 
    546556 
     557LADISH_PUBLIC 
    547558int lash_server_connected(lash_client_t * client_ptr) 
    548559{ 
     
    551562} 
    552563 
     564LADISH_PUBLIC 
    553565const char * lash_get_server_name(lash_client_t * client_ptr) 
    554566{ 
     
    557569} 
    558570 
     571LADISH_PUBLIC 
    559572lash_event_t * lash_event_new(void) 
    560573{ 
     
    574587} 
    575588 
     589LADISH_PUBLIC 
    576590lash_event_t * lash_event_new_with_type(enum LASH_Event_Type type) 
    577591{ 
     
    588602} 
    589603 
     604LADISH_PUBLIC 
    590605lash_event_t * lash_event_new_with_all(enum LASH_Event_Type type, const char * string) 
    591606{ 
     
    612627} 
    613628 
     629LADISH_PUBLIC 
    614630void lash_event_destroy(lash_event_t * event_ptr) 
    615631{ 
     
    626642} 
    627643 
     644LADISH_PUBLIC 
    628645enum LASH_Event_Type lash_event_get_type(const lash_event_t * event_ptr) 
    629646{ 
     
    631648} 
    632649 
     650LADISH_PUBLIC 
    633651const char * lash_event_get_string(const lash_event_t * event_ptr) 
    634652{ 
     
    636654} 
    637655 
     656LADISH_PUBLIC 
    638657void lash_event_set_type(lash_event_t * event_ptr, enum LASH_Event_Type type) 
    639658{ 
     
    641660} 
    642661 
     662LADISH_PUBLIC 
    643663void lash_event_set_string(lash_event_t * event_ptr, const char * string) 
    644664{ 
     
    664684} 
    665685 
     686LADISH_PUBLIC 
    666687const char * lash_event_get_project(const lash_event_t * event_ptr) 
    667688{ 
     
    671692} 
    672693 
     694LADISH_PUBLIC 
    673695void lash_event_set_project(lash_event_t * event_ptr, const char * project) 
    674696{ 
     
    677699} 
    678700 
     701LADISH_PUBLIC 
    679702void lash_event_get_client_id(const lash_event_t * event_ptr, uuid_t id) 
    680703{ 
     
    683706} 
    684707  
     708LADISH_PUBLIC 
    685709void lash_event_set_client_id(lash_event_t * event_ptr, uuid_t id) 
    686710{ 
     
    689713} 
    690714 
     715LADISH_PUBLIC 
    691716unsigned char lash_event_get_alsa_client_id(const lash_event_t * event_ptr) 
    692717{ 
     
    696721} 
    697722 
     723LADISH_PUBLIC 
    698724unsigned char lash_str_get_alsa_client_id(const char * str) 
    699725{ 
     
    704730} 
    705731 
     732LADISH_PUBLIC 
    706733void lash_jack_client_name(lash_client_t * client_ptr, const char * name) 
    707734{ 
     
    709736} 
    710737 
     738LADISH_PUBLIC 
    711739void lash_str_set_alsa_client_id(char * str, unsigned char alsa_id) 
    712740{ 
     
    715743} 
    716744 
     745LADISH_PUBLIC 
    717746void lash_event_set_alsa_client_id(lash_event_t * event_ptr, unsigned char alsa_id) 
    718747{ 
     
    721750} 
    722751 
     752LADISH_PUBLIC 
    723753void lash_alsa_client_id(lash_client_t * client, unsigned char id) 
    724754{ 
     
    726756} 
    727757 
     758LADISH_PUBLIC 
    728759lash_config_t * lash_config_new(void) 
    729760{ 
     
    744775} 
    745776 
     777LADISH_PUBLIC 
    746778lash_config_t * lash_config_dup(const lash_config_t * src_ptr) 
    747779{ 
     
    781813} 
    782814 
     815LADISH_PUBLIC 
    783816lash_config_t * lash_config_new_with_key(const char * key) 
    784817{ 
     
    802835} 
    803836 
     837LADISH_PUBLIC 
    804838void lash_config_destroy(lash_config_t * config_ptr) 
    805839{ 
     
    809843} 
    810844 
     845LADISH_PUBLIC 
    811846const char * lash_config_get_key(const lash_config_t * config_ptr) 
    812847{ 
     
    814849} 
    815850 
     851LADISH_PUBLIC 
    816852const void * lash_config_get_value(const lash_config_t * config_ptr) 
    817853{ 
     
    819855} 
    820856 
     857LADISH_PUBLIC 
    821858size_t lash_config_get_value_size(const lash_config_t * config_ptr) 
    822859{ 
     
    824861} 
    825862 
     863LADISH_PUBLIC 
    826864void lash_config_set_key(lash_config_t * config_ptr, const char * key) 
    827865{ 
     
    842880} 
    843881 
     882LADISH_PUBLIC 
    844883void lash_config_set_value(lash_config_t * config_ptr, const void * value, size_t value_size) 
    845884{ 
     
    869908} 
    870909 
     910LADISH_PUBLIC 
    871911uint32_t lash_config_get_value_int(const lash_config_t * config_ptr) 
    872912{ 
     
    875915} 
    876916 
     917LADISH_PUBLIC 
    877918float lash_config_get_value_float(const lash_config_t * config_ptr) 
    878919{ 
     
    881922} 
    882923 
     924LADISH_PUBLIC 
    883925double lash_config_get_value_double(const lash_config_t * config_ptr) 
    884926{ 
     
    887929} 
    888930 
     931LADISH_PUBLIC 
    889932const char * lash_config_get_value_string(const lash_config_t * config_ptr) 
    890933{ 
     
    900943} 
    901944 
     945LADISH_PUBLIC 
    902946void lash_config_set_value_int(lash_config_t * config_ptr, uint32_t value) 
    903947{ 
     
    906950} 
    907951 
     952LADISH_PUBLIC 
    908953void lash_config_set_value_float(lash_config_t * config_ptr, float value) 
    909954{ 
     
    911956} 
    912957 
     958LADISH_PUBLIC 
    913959void lash_config_set_value_double(lash_config_t * config_ptr, double value) 
    914960{ 
     
    916962} 
    917963 
     964LADISH_PUBLIC 
    918965void lash_config_set_value_string(lash_config_t * config_ptr, const char * value) 
    919966{ 
     
    921968} 
    922969 
     970LADISH_PUBLIC 
    923971const char * lash_get_fqn(const char * dir, const char * file) 
    924972{ 
  • wscript

    re9a07d1 rc62134c  
    197197        conf.check_python_version() 
    198198        conf.check_python_headers() 
     199 
     200    add_cflag(conf, '-fvisibility=hidden') 
    199201 
    200202    conf.env['BUILD_WERROR'] = not RELEASE