summaryrefslogtreecommitdiff
path: root/common/shm.h
diff options
context:
space:
mode:
authorsletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224>2008-06-05 10:17:55 +0000
committersletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224>2008-06-05 10:17:55 +0000
commita20801bf5800d4e0bf3553674fb9e6d3702d9292 (patch)
tree3003994e6954be293cd894c94c16cfd808964a5e /common/shm.h
parent3fa859b50cac44d98c3062bcfc421bf2a96001a7 (diff)
downloadjack2-a20801bf5800d4e0bf3553674fb9e6d3702d9292.tar.gz
Better control of exported symbols.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2456 0c269be4-1314-0410-8aa9-9f06e86f4224
Diffstat (limited to 'common/shm.h')
-rw-r--r--common/shm.h38
1 files changed, 18 insertions, 20 deletions
diff --git a/common/shm.h b/common/shm.h
index f3bd1138..e2bac1cf 100644
--- a/common/shm.h
+++ b/common/shm.h
@@ -123,32 +123,30 @@ extern "C"
jack_shm_info_t;
/* utility functions used only within JACK */
-
- extern void jack_shm_copy_from_registry (jack_shm_info_t*,
+
+ void jack_shm_copy_from_registry (jack_shm_info_t*,
jack_shm_registry_index_t);
- extern void jack_shm_copy_to_registry (jack_shm_info_t*,
+ void jack_shm_copy_to_registry (jack_shm_info_t*,
jack_shm_registry_index_t*);
- extern void jack_release_shm_info (jack_shm_registry_index_t);
-
- extern char* jack_shm_addr (jack_shm_info_t* si); // steph
-
- /* here beginneth the API */
+ void jack_release_shm_info (jack_shm_registry_index_t);
+ char* jack_shm_addr (jack_shm_info_t* si); // steph
- EXPORT extern int jack_register_server (const char *server_name, int new_registry);
- EXPORT extern void jack_unregister_server (const char *server_name);
+ // here begin the API
+ int jack_register_server (const char *server_name, int new_registry);
+ void jack_unregister_server (const char *server_name);
- extern int jack_initialize_shm (const char *server_name);
- extern int jack_initialize_shm_server (void); // steph
- extern int jack_initialize_shm_client (void); // steph
- EXPORT extern int jack_cleanup_shm (void);
+ int jack_initialize_shm (const char *server_name);
+ int jack_initialize_shm_server (void); // steph
+ int jack_initialize_shm_client (void); // steph
+ int jack_cleanup_shm (void);
- extern int jack_shmalloc (const char *shm_name, jack_shmsize_t size,
+ int jack_shmalloc (const char *shm_name, jack_shmsize_t size,
jack_shm_info_t* result);
- extern void jack_release_shm (jack_shm_info_t*);
- extern void jack_destroy_shm (jack_shm_info_t*);
- extern int jack_attach_shm (jack_shm_info_t*);
- extern int jack_attach_shm_read (jack_shm_info_t*); // steph
- extern int jack_resize_shm (jack_shm_info_t*, jack_shmsize_t size);
+ void jack_release_shm (jack_shm_info_t*);
+ void jack_destroy_shm (jack_shm_info_t*);
+ int jack_attach_shm (jack_shm_info_t*);
+ int jack_attach_shm_read (jack_shm_info_t*); // steph
+ int jack_resize_shm (jack_shm_info_t*, jack_shmsize_t size);
#ifdef __cplusplus
}