Add DBUS_PRIVATE_EXPORT decoration to symbols used by dbus-daemon or tests
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 20 Feb 2015 14:42:13 +0000 (14:42 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 20 Feb 2015 20:49:36 +0000 (20:49 +0000)
commit6bcf34d4c24d7c690aff01269d8575289f901728
tree394ccb5b33991f5be195f02ae8279c3bfd6cca4d
parentdbd731491b19df3df4edf597ea7b646b76576b07
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>
30 files changed:
dbus/dbus-auth.h
dbus/dbus-connection-internal.h
dbus/dbus-credentials.h
dbus/dbus-file.h
dbus/dbus-hash.h
dbus/dbus-internals.h
dbus/dbus-list.h
dbus/dbus-macros.h
dbus/dbus-marshal-basic.h
dbus/dbus-marshal-byteswap.h
dbus/dbus-marshal-header.h
dbus/dbus-marshal-recursive.h
dbus/dbus-marshal-validate.h
dbus/dbus-mempool.h
dbus/dbus-message-internal.h
dbus/dbus-message-private.h
dbus/dbus-pending-call-internal.h
dbus/dbus-pipe.h
dbus/dbus-server-protected.h
dbus/dbus-server-socket.h
dbus/dbus-string.h
dbus/dbus-sysdeps-unix.h
dbus/dbus-sysdeps-win.h
dbus/dbus-sysdeps.h
dbus/dbus-test.h
dbus/dbus-threads-internal.h
dbus/dbus-timeout.h
dbus/dbus-userdb.h
dbus/dbus-uuidgen.h
dbus/dbus-watch.h