diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2015-02-20 14:42:13 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2015-02-20 20:49:36 +0000 |
commit | 6bcf34d4c24d7c690aff01269d8575289f901728 (patch) | |
tree | 394ccb5b33991f5be195f02ae8279c3bfd6cca4d /dbus/dbus-server-socket.h | |
parent | dbd731491b19df3df4edf597ea7b646b76576b07 (diff) | |
download | dbus-6bcf34d4c24d7c690aff01269d8575289f901728.tar.gz |
Add DBUS_PRIVATE_EXPORT decoration to symbols used by dbus-daemon or tests
The rules are:
* symbols in libdbus-1 with neither decoration are private to libdbus-1
* symbols in libdbus-1 with DBUS_EXPORT are public API
* symbols in libdbus-1 with DBUS_PRIVATE_EXPORT are private to the
dbus source package, but may be used by other programs in the dbus
source tree, including tests
* symbols in libdbus-internal must not have DBUS_EXPORT or
DBUS_PRIVATE_EXPORT, and should be used by as few things as possible
Thanks to Ralf Habacker for his contributions to this rather
large commit.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=83115
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
Diffstat (limited to 'dbus/dbus-server-socket.h')
-rw-r--r-- | dbus/dbus-server-socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dbus/dbus-server-socket.h b/dbus/dbus-server-socket.h index 3aec7129..44e11e85 100644 --- a/dbus/dbus-server-socket.h +++ b/dbus/dbus-server-socket.h @@ -35,6 +35,7 @@ DBusServer* _dbus_server_new_for_socket (int *fds, DBusNonceFile *noncefile); DBusServer* _dbus_server_new_for_autolaunch (const DBusString *address, DBusError *error); +DBUS_PRIVATE_EXPORT DBusServer* _dbus_server_new_for_tcp_socket (const char *host, const char *bind, const char *port, |