Commit acbc751e authored by Ralf Habacker's avatar Ralf Habacker Committed by unknown

Decorated public exported functions with DBUS_EXPORT macro, reviewed by Colin Walters.

parent cf307bbc
...@@ -148,7 +148,8 @@ PREDEFINED = "DBUS_BEGIN_DECLS=" \ ...@@ -148,7 +148,8 @@ PREDEFINED = "DBUS_BEGIN_DECLS=" \
"DOXYGEN_SHOULD_SKIP_THIS" \ "DOXYGEN_SHOULD_SKIP_THIS" \
"DBUS_GNUC_DEPRECATED=" \ "DBUS_GNUC_DEPRECATED=" \
"_DBUS_DEFINE_GLOBAL_LOCK(name)=" \ "_DBUS_DEFINE_GLOBAL_LOCK(name)=" \
"_DBUS_GNUC_PRINTF(from,to)=" "_DBUS_GNUC_PRINTF(from,to)=" \
"DBUS_EXPORT="
SKIP_FUNCTION_MACROS = YES SKIP_FUNCTION_MACROS = YES
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# Configuration::addtions related to external references # Configuration::addtions related to external references
......
...@@ -507,227 +507,5 @@ _dbus_win_utf8_to_utf16 ...@@ -507,227 +507,5 @@ _dbus_win_utf8_to_utf16
_dbus_win_warn_win_error _dbus_win_warn_win_error
_dbus_write_socket _dbus_write_socket
_dbus_write_socket_two _dbus_write_socket_two
dbus_address_entries_free
dbus_address_entry_get_method
dbus_address_entry_get_value
dbus_address_escape_value
dbus_address_unescape_value
dbus_bus_add_match
dbus_bus_get
dbus_bus_get_id
dbus_bus_get_private
dbus_bus_get_unique_name
dbus_bus_get_unix_user
dbus_bus_name_has_owner
dbus_bus_register
dbus_bus_release_name
dbus_bus_remove_match
dbus_bus_request_name
dbus_bus_set_unique_name
dbus_bus_start_service_by_name
dbus_connection_add_filter
dbus_connection_allocate_data_slot
dbus_connection_borrow_message
dbus_connection_can_send_type
dbus_connection_close
dbus_connection_dispatch
dbus_connection_flush
dbus_connection_free_data_slot
dbus_connection_free_preallocated_send
dbus_connection_get_adt_audit_session_data
dbus_connection_get_data
dbus_connection_get_dispatch_status
dbus_connection_get_is_anonymous
dbus_connection_get_is_authenticated
dbus_connection_get_is_connected
dbus_connection_get_max_message_size
dbus_connection_get_max_message_unix_fds
dbus_connection_get_max_received_size
dbus_connection_get_max_received_unix_fds
dbus_connection_get_object_path_data
dbus_connection_get_outgoing_size
dbus_connection_get_outgoing_unix_fds
dbus_connection_get_server_id
dbus_connection_get_socket
dbus_connection_get_unix_fd
dbus_connection_get_unix_process_id
dbus_connection_get_unix_user
dbus_connection_get_windows_user
dbus_connection_has_messages_to_send
dbus_connection_list_registered
dbus_connection_open
dbus_connection_open_private
dbus_connection_pop_message
dbus_connection_preallocate_send
dbus_connection_read_write
dbus_connection_read_write_dispatch
dbus_connection_ref
dbus_connection_register_fallback
dbus_connection_register_object_path
dbus_connection_remove_filter
dbus_connection_return_message
dbus_connection_send
dbus_connection_send_preallocated
dbus_connection_send_with_reply
dbus_connection_send_with_reply_and_block
dbus_connection_set_allow_anonymous
dbus_connection_set_change_sigpipe
dbus_connection_set_data
dbus_connection_set_dispatch_status_function
dbus_connection_set_exit_on_disconnect
dbus_connection_set_max_message_size
dbus_connection_set_max_message_unix_fds
dbus_connection_set_max_received_size
dbus_connection_set_max_received_unix_fds
dbus_connection_set_route_peer_messages
dbus_connection_set_timeout_functions
dbus_connection_set_unix_user_function
dbus_connection_set_wakeup_main_function
dbus_connection_set_watch_functions
dbus_connection_set_windows_user_function
dbus_connection_steal_borrowed_message
dbus_connection_try_register_fallback
dbus_connection_try_register_object_path
dbus_connection_unref
dbus_connection_unregister_object_path
dbus_error_free
dbus_error_has_name
dbus_error_init
dbus_error_is_set
dbus_free
dbus_free_string_array
dbus_get_local_machine_id
dbus_get_version
dbus_malloc
dbus_malloc0
dbus_message_allocate_data_slot
dbus_message_append_args
dbus_message_append_args_valist
dbus_message_contains_unix_fds
dbus_message_copy
dbus_message_demarshal
dbus_message_demarshal_bytes_needed
dbus_message_free_data_slot
dbus_message_get_args
dbus_message_get_args_valist
dbus_message_get_auto_start
dbus_message_get_data
dbus_message_get_destination
dbus_message_get_error_name
dbus_message_get_interface
dbus_message_get_member
dbus_message_get_no_reply
dbus_message_get_path
dbus_message_get_path_decomposed
dbus_message_get_reply_serial
dbus_message_get_sender
dbus_message_get_serial
dbus_message_get_signature
dbus_message_get_type
dbus_message_has_destination
dbus_message_has_interface
dbus_message_has_member
dbus_message_has_path
dbus_message_has_sender
dbus_message_has_signature
dbus_message_is_error
dbus_message_is_method_call
dbus_message_is_signal
dbus_message_iter_abandon_container
dbus_message_iter_append_basic
dbus_message_iter_append_fixed_array
dbus_message_iter_close_container
dbus_message_iter_get_arg_type
dbus_message_iter_get_array_len
dbus_message_iter_get_basic
dbus_message_iter_get_element_type
dbus_message_iter_get_fixed_array
dbus_message_iter_get_signature
dbus_message_iter_has_next
dbus_message_iter_init
dbus_message_iter_init_append
dbus_message_iter_next
dbus_message_iter_open_container
dbus_message_iter_recurse
dbus_message_lock
dbus_message_marshal
dbus_message_new
dbus_message_new_error
dbus_message_new_error_printf
dbus_message_new_method_call
dbus_message_new_method_return
dbus_message_new_signal
dbus_message_ref
dbus_message_set_auto_start
dbus_message_set_data
dbus_message_set_destination
dbus_message_set_error_name
dbus_message_set_interface
dbus_message_set_member
dbus_message_set_no_reply
dbus_message_set_path
dbus_message_set_reply_serial
dbus_message_set_sender
dbus_message_set_serial
dbus_message_type_from_string
dbus_message_type_to_string
dbus_message_unref
dbus_move_error
dbus_parse_address
dbus_pending_call_allocate_data_slot
dbus_pending_call_block
dbus_pending_call_cancel
dbus_pending_call_free_data_slot
dbus_pending_call_get_completed
dbus_pending_call_get_data
dbus_pending_call_ref
dbus_pending_call_set_data
dbus_pending_call_set_notify
dbus_pending_call_steal_reply
dbus_pending_call_unref
dbus_realloc
dbus_server_allocate_data_slot
dbus_server_disconnect
dbus_server_free_data_slot
dbus_server_get_address
dbus_server_get_data
dbus_server_get_id
dbus_server_get_is_connected
dbus_server_listen
dbus_server_ref
dbus_server_set_auth_mechanisms
dbus_server_set_data
dbus_server_set_new_connection_function
dbus_server_set_timeout_functions
dbus_server_set_watch_functions
dbus_server_unref
dbus_set_error
dbus_set_error_const
dbus_set_error_from_message
dbus_shutdown
dbus_signature_iter_get_current_type
dbus_signature_iter_get_element_type
dbus_signature_iter_get_signature
dbus_signature_iter_init
dbus_signature_iter_next
dbus_signature_iter_recurse
dbus_signature_validate
dbus_signature_validate_single
dbus_threads_init
dbus_threads_init_default
dbus_timeout_get_data
dbus_timeout_get_enabled
dbus_timeout_get_interval
dbus_timeout_handle
dbus_timeout_set_data
dbus_type_is_basic
dbus_type_is_container
dbus_type_is_fixed
dbus_watch_get_data
dbus_watch_get_enabled
dbus_watch_get_fd
dbus_watch_get_flags
dbus_watch_get_socket
dbus_watch_get_unix_fd
dbus_watch_handle
dbus_watch_set_data
...@@ -40,16 +40,22 @@ DBUS_BEGIN_DECLS ...@@ -40,16 +40,22 @@ DBUS_BEGIN_DECLS
/** Opaque type representing one of the semicolon-separated items in an address */ /** Opaque type representing one of the semicolon-separated items in an address */
typedef struct DBusAddressEntry DBusAddressEntry; typedef struct DBusAddressEntry DBusAddressEntry;
DBUS_EXPORT
dbus_bool_t dbus_parse_address (const char *address, dbus_bool_t dbus_parse_address (const char *address,
DBusAddressEntry ***entry, DBusAddressEntry ***entry,
int *array_len, int *array_len,
DBusError *error); DBusError *error);
DBUS_EXPORT
const char *dbus_address_entry_get_value (DBusAddressEntry *entry, const char *dbus_address_entry_get_value (DBusAddressEntry *entry,
const char *key); const char *key);
DBUS_EXPORT
const char *dbus_address_entry_get_method (DBusAddressEntry *entry); const char *dbus_address_entry_get_method (DBusAddressEntry *entry);
DBUS_EXPORT
void dbus_address_entries_free (DBusAddressEntry **entries); void dbus_address_entries_free (DBusAddressEntry **entries);
DBUS_EXPORT
char* dbus_address_escape_value (const char *value); char* dbus_address_escape_value (const char *value);
DBUS_EXPORT
char* dbus_address_unescape_value (const char *value, char* dbus_address_unescape_value (const char *value,
DBusError *error); DBusError *error);
......
...@@ -36,41 +36,54 @@ DBUS_BEGIN_DECLS ...@@ -36,41 +36,54 @@ DBUS_BEGIN_DECLS
* @{ * @{
*/ */
DBUS_EXPORT
DBusConnection *dbus_bus_get (DBusBusType type, DBusConnection *dbus_bus_get (DBusBusType type,
DBusError *error); DBusError *error);
DBUS_EXPORT
DBusConnection *dbus_bus_get_private (DBusBusType type, DBusConnection *dbus_bus_get_private (DBusBusType type,
DBusError *error); DBusError *error);
DBUS_EXPORT
dbus_bool_t dbus_bus_register (DBusConnection *connection, dbus_bool_t dbus_bus_register (DBusConnection *connection,
DBusError *error); DBusError *error);
DBUS_EXPORT
dbus_bool_t dbus_bus_set_unique_name (DBusConnection *connection, dbus_bool_t dbus_bus_set_unique_name (DBusConnection *connection,
const char *unique_name); const char *unique_name);
DBUS_EXPORT
const char* dbus_bus_get_unique_name (DBusConnection *connection); const char* dbus_bus_get_unique_name (DBusConnection *connection);
DBUS_EXPORT
unsigned long dbus_bus_get_unix_user (DBusConnection *connection, unsigned long dbus_bus_get_unix_user (DBusConnection *connection,
const char *name, const char *name,
DBusError *error); DBusError *error);
DBUS_EXPORT
char* dbus_bus_get_id (DBusConnection *connection, char* dbus_bus_get_id (DBusConnection *connection,
DBusError *error); DBusError *error);
DBUS_EXPORT
int dbus_bus_request_name (DBusConnection *connection, int dbus_bus_request_name (DBusConnection *connection,
const char *name, const char *name,
unsigned int flags, unsigned int flags,
DBusError *error); DBusError *error);
DBUS_EXPORT
int dbus_bus_release_name (DBusConnection *connection, int dbus_bus_release_name (DBusConnection *connection,
const char *name, const char *name,
DBusError *error); DBusError *error);
DBUS_EXPORT
dbus_bool_t dbus_bus_name_has_owner (DBusConnection *connection, dbus_bool_t dbus_bus_name_has_owner (DBusConnection *connection,
const char *name, const char *name,
DBusError *error); DBusError *error);
DBUS_EXPORT
dbus_bool_t dbus_bus_start_service_by_name (DBusConnection *connection, dbus_bool_t dbus_bus_start_service_by_name (DBusConnection *connection,
const char *name, const char *name,
dbus_uint32_t flags, dbus_uint32_t flags,
dbus_uint32_t *reply, dbus_uint32_t *reply,
DBusError *error); DBusError *error);
DBUS_EXPORT
void dbus_bus_add_match (DBusConnection *connection, void dbus_bus_add_match (DBusConnection *connection,
const char *rule, const char *rule,
DBusError *error); DBusError *error);
DBUS_EXPORT
void dbus_bus_remove_match (DBusConnection *connection, void dbus_bus_remove_match (DBusConnection *connection,
const char *rule, const char *rule,
DBusError *error); DBusError *error);
......
This diff is collapsed.
...@@ -60,19 +60,26 @@ struct DBusError ...@@ -60,19 +60,26 @@ struct DBusError
#define DBUS_ERROR_INIT { NULL, NULL, TRUE, 0, 0, 0, 0, NULL } #define DBUS_ERROR_INIT { NULL, NULL, TRUE, 0, 0, 0, 0, NULL }
DBUS_EXPORT
void dbus_error_init (DBusError *error); void dbus_error_init (DBusError *error);
DBUS_EXPORT
void dbus_error_free (DBusError *error); void dbus_error_free (DBusError *error);
DBUS_EXPORT
void dbus_set_error (DBusError *error, void dbus_set_error (DBusError *error,
const char *name, const char *name,
const char *message, const char *message,
...); ...);
DBUS_EXPORT
void dbus_set_error_const (DBusError *error, void dbus_set_error_const (DBusError *error,
const char *name, const char *name,
const char *message); const char *message);
DBUS_EXPORT
void dbus_move_error (DBusError *src, void dbus_move_error (DBusError *src,
DBusError *dest); DBusError *dest);
DBUS_EXPORT
dbus_bool_t dbus_error_has_name (const DBusError *error, dbus_bool_t dbus_error_has_name (const DBusError *error,
const char *name); const char *name);
DBUS_EXPORT
dbus_bool_t dbus_error_is_set (const DBusError *error); dbus_bool_t dbus_error_is_set (const DBusError *error);
/** @} */ /** @} */
......
...@@ -150,6 +150,23 @@ ...@@ -150,6 +150,23 @@
* this macro in your own code; please consider it to be internal to libdbus. * this macro in your own code; please consider it to be internal to libdbus.
*/ */
/*
* @def DBUS_EXPORT
*
* Declare the following symbol as public. This is currently a noop on
* platforms other than Windows.
*/
#if defined(DBUS_WIN)
# if defined(dbus_1_EXPORTS)
# define DBUS_EXPORT __declspec(dllexport)
# else
# define DBUS_EXPORT __declspec(dllimport)
# endif
#else
#define DBUS_EXPORT
#endif
/** @} */ /** @} */
#endif /* DBUS_MACROS_H */ #endif /* DBUS_MACROS_H */
...@@ -37,19 +37,25 @@ DBUS_BEGIN_DECLS ...@@ -37,19 +37,25 @@ DBUS_BEGIN_DECLS
* @{ * @{
*/ */
DBUS_EXPORT
void* dbus_malloc (size_t bytes); void* dbus_malloc (size_t bytes);
DBUS_EXPORT
void* dbus_malloc0 (size_t bytes); void* dbus_malloc0 (size_t bytes);
DBUS_EXPORT
void* dbus_realloc (void *memory, void* dbus_realloc (void *memory,
size_t bytes); size_t bytes);
DBUS_EXPORT
void dbus_free (void *memory); void dbus_free (void *memory);
#define dbus_new(type, count) ((type*)dbus_malloc (sizeof (type) * (count))) #define dbus_new(type, count) ((type*)dbus_malloc (sizeof (type) * (count)))
#define dbus_new0(type, count) ((type*)dbus_malloc0 (sizeof (type) * (count))) #define dbus_new0(type, count) ((type*)dbus_malloc0 (sizeof (type) * (count)))
DBUS_EXPORT
void dbus_free_string_array (char **str_array); void dbus_free_string_array (char **str_array);
typedef void (* DBusFreeFunction) (void *memory); typedef void (* DBusFreeFunction) (void *memory);
DBUS_EXPORT
void dbus_shutdown (void); void dbus_shutdown (void);
/** @} */ /** @} */
......
This diff is collapsed.
...@@ -36,9 +36,10 @@ DBUS_BEGIN_DECLS ...@@ -36,9 +36,10 @@ DBUS_BEGIN_DECLS
* @addtogroup DBusMisc * @addtogroup DBusMisc
* @{ * @{
*/ */
DBUS_EXPORT
char* dbus_get_local_machine_id (void); char* dbus_get_local_machine_id (void);
DBUS_EXPORT
void dbus_get_version (int *major_version_p, void dbus_get_version (int *major_version_p,
int *minor_version_p, int *minor_version_p,
int *micro_version_p); int *micro_version_p);
......
...@@ -38,23 +38,34 @@ DBUS_BEGIN_DECLS ...@@ -38,23 +38,34 @@ DBUS_BEGIN_DECLS
* @{ * @{
*/ */
DBUS_EXPORT
DBusPendingCall* dbus_pending_call_ref (DBusPendingCall *pending); DBusPendingCall* dbus_pending_call_ref (DBusPendingCall *pending);
DBUS_EXPORT
void dbus_pending_call_unref (DBusPendingCall *pending); void dbus_pending_call_unref (DBusPendingCall *pending);
DBUS_EXPORT
dbus_bool_t dbus_pending_call_set_notify (DBusPendingCall *pending, dbus_bool_t dbus_pending_call_set_notify (DBusPendingCall *pending,
DBusPendingCallNotifyFunction function, DBusPendingCallNotifyFunction function,
void *user_data, void *user_data,
DBusFreeFunction free_user_data); DBusFreeFunction free_user_data);
DBUS_EXPORT
void dbus_pending_call_cancel (DBusPendingCall *pending); void dbus_pending_call_cancel (DBusPendingCall *pending);
DBUS_EXPORT
dbus_bool_t dbus_pending_call_get_completed (DBusPendingCall *pending); dbus_bool_t dbus_pending_call_get_completed (DBusPendingCall *pending);
DBUS_EXPORT
DBusMessage* dbus_pending_call_steal_reply (DBusPendingCall *pending); DBusMessage* dbus_pending_call_steal_reply (DBusPendingCall *pending);
DBUS_EXPORT
void dbus_pending_call_block (DBusPendingCall *pending); void dbus_pending_call_block (DBusPendingCall *pending);
DBUS_EXPORT
dbus_bool_t dbus_pending_call_allocate_data_slot (dbus_int32_t *slot_p); dbus_bool_t dbus_pending_call_allocate_data_slot (dbus_int32_t *slot_p);
DBUS_EXPORT
void dbus_pending_call_free_data_slot (dbus_int32_t *slot_p); void dbus_pending_call_free_data_slot (dbus_int32_t *slot_p);
DBUS_EXPORT
dbus_bool_t dbus_pending_call_set_data (DBusPendingCall *pending, dbus_bool_t dbus_pending_call_set_data (DBusPendingCall *pending,
dbus_int32_t slot, dbus_int32_t slot,
void *data, void *data,
DBusFreeFunction free_data_func); DBusFreeFunction free_data_func);
DBUS_EXPORT
void* dbus_pending_call_get_data (DBusPendingCall *pending, void* dbus_pending_call_get_data (DBusPendingCall *pending,
dbus_int32_t slot); dbus_int32_t slot);
......
...@@ -48,39 +48,54 @@ typedef void (* DBusNewConnectionFunction) (DBusServer *server, ...@@ -48,39 +48,54 @@ typedef void (* DBusNewConnectionFunction) (DBusServer *server,
DBusConnection *new_connection, DBusConnection *new_connection,
void *data); void *data);
DBUS_EXPORT
DBusServer* dbus_server_listen (const char *address, DBusServer* dbus_server_listen (const char *address,
DBusError *error); DBusError *error);
DBUS_EXPORT
DBusServer* dbus_server_ref (DBusServer *server); DBusServer* dbus_server_ref (DBusServer *server);
DBUS_EXPORT
void dbus_server_unref (DBusServer *server); void dbus_server_unref (DBusServer *server);
DBUS_EXPORT
void dbus_server_disconnect (DBusServer *server); void dbus_server_disconnect (DBusServer *server);
DBUS_EXPORT
dbus_bool_t dbus_server_get_is_connected (DBusServer *server); dbus_bool_t dbus_server_get_is_connected (DBusServer *server);
DBUS_EXPORT
char* dbus_server_get_address (DBusServer *server); char* dbus_server_get_address (DBusServer *server);
DBUS_EXPORT
char* dbus_server_get_id (DBusServer *server); char* dbus_server_get_id (DBusServer *server);
DBUS_EXPORT
void dbus_server_set_new_connection_function (DBusServer *server, void dbus_server_set_new_connection_function (DBusServer *server,
DBusNewConnectionFunction function, DBusNewConnectionFunction function,
void *data, void *data,
DBusFreeFunction free_data_function); DBusFreeFunction free_data_function);
DBUS_EXPORT
dbus_bool_t dbus_server_set_watch_functions (DBusServer *server, dbus_bool_t dbus_server_set_watch_functions (DBusServer *server,
DBusAddWatchFunction add_function, DBusAddWatchFunction add_function,
DBusRemoveWatchFunction remove_function, DBusRemoveWatchFunction remove_function,
DBusWatchToggledFunction toggled_function, DBusWatchToggledFunction toggled_function,
void *data, void *data,
DBusFreeFunction free_data_function); DBusFreeFunction free_data_function);
DBUS_EXPORT
dbus_bool_t dbus_server_set_timeout_functions (DBusServer *server, dbus_bool_t dbus_server_set_timeout_functions (DBusServer *server,
DBusAddTimeoutFunction add_function, DBusAddTimeoutFunction add_function,
DBusRemoveTimeoutFunction remove_function, DBusRemoveTimeoutFunction remove_function,
DBusTimeoutToggledFunction toggled_function, DBusTimeoutToggledFunction toggled_function,
void *data, void *data,
DBusFreeFunction free_data_function); DBusFreeFunction free_data_function);
DBUS_EXPORT
dbus_bool_t dbus_server_set_auth_mechanisms (DBusServer *server, dbus_bool_t dbus_server_set_auth_mechanisms (DBusServer *server,
const char **mechanisms); const char **mechanisms);
DBUS_EXPORT
dbus_bool_t dbus_server_allocate_data_slot (dbus_int32_t *slot_p); dbus_bool_t dbus_server_allocate_data_slot (dbus_int32_t *slot_p);
DBUS_EXPORT
void dbus_server_free_data_slot (dbus_int32_t *slot_p); void dbus_server_free_data_slot (dbus_int32_t *slot_p);
DBUS_EXPORT
dbus_bool_t dbus_server_set_data (DBusServer *server, dbus_bool_t dbus_server_set_data (DBusServer *server,
int slot, int slot,
void *data, void *data,
DBusFreeFunction free_data_func); DBusFreeFunction free_data_func);
DBUS_EXPORT
void* dbus_server_get_data (DBusServer *server, void* dbus_server_get_data (DBusServer *server,
int slot); int slot);
......
...@@ -50,28 +50,39 @@ typedef struct ...@@ -50,28 +50,39 @@ typedef struct
int dummy17; /**< Don't use this */ int dummy17; /**< Don't use this */
} DBusSignatureIter; } DBusSignatureIter;
DBUS_EXPORT
void dbus_signature_iter_init (DBusSignatureIter *iter, void dbus_signature_iter_init (DBusSignatureIter *iter,
const char *signature); const char *signature);
DBUS_EXPORT
int dbus_signature_iter_get_current_type (const DBusSignatureIter *iter); int dbus_signature_iter_get_current_type (const DBusSignatureIter *iter);
DBUS_EXPORT
char * dbus_signature_iter_get_signature (const DBusSignatureIter *iter); char * dbus_signature_iter_get_signature (const DBusSignatureIter *iter);
DBUS_EXPORT
int dbus_signature_iter_get_element_type (const DBusSignatureIter *iter); int dbus_signature_iter_get_element_type (const DBusSignatureIter *iter);
DBUS_EXPORT
dbus_bool_t dbus_signature_iter_next (DBusSignatureIter *iter); dbus_bool_t dbus_signature_iter_next (DBusSignatureIter *iter);
DBUS_EXPORT
void dbus_signature_iter_recurse (const DBusSignatureIter *iter, void dbus_signature_iter_recurse (const DBusSignatureIter *iter,
DBusSignatureIter *subiter); DBusSignatureIter *subiter);
DBUS_EXPORT
dbus_bool_t dbus_signature_validate (const char *signature, dbus_bool_t dbus_signature_validate (const char *signature,
DBusError *error); DBusError *error);
DBUS_EXPORT
dbus_bool_t dbus_signature_validate_single (const char *signature, dbus_bool_t dbus_signature_validate_single (const char *signature,
DBusError *error); DBusError *error);
DBUS_EXPORT
dbus_bool_t dbus_type_is_basic (int typecode); dbus_bool_t dbus_type_is_basic (int typecode);
DBUS_EXPORT
dbus_bool_t dbus_type_is_container (int typecode); dbus_bool_t dbus_type_is_container (int typecode);
DBUS_EXPORT
dbus_bool_t dbus_type_is_fixed (int typecode); dbus_bool_t dbus_type_is_fixed (int typecode);
/** @} */ /** @} */
......
...@@ -186,7 +186,9 @@ typedef struct ...@@ -186,7 +186,9 @@ typedef struct
} DBusThreadFunctions; } DBusThreadFunctions;
DBUS_EXPORT
dbus_bool_t dbus_threads_init (const DBusThreadFunctions *functions); dbus_bool_t dbus_threads_init (const DBusThreadFunctions *functions);
DBUS_EXPORT
dbus_bool_t dbus_threads_init_default (void); dbus_bool_t dbus_threads_init_default (void);
/** @} */ /** @} */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment