Bug 617483 – Credentials passing
authorDavid Zeuthen <davidz@redhat.com>
Tue, 20 Jul 2010 18:02:14 +0000 (14:02 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Tue, 20 Jul 2010 20:34:18 +0000 (16:34 -0400)
commit7eba41346e014649d8f9cf8ab675d1f091f7cf38
tree25ae10ec3e92c37844078f99f546233aa52dbbcc
parentb3cf5cbd0bfcfe53f82a72d276683aebd15d3828
Bug 617483 – Credentials passing

 - Make GCredentials instance and class structures private so it can't
   be subclassed and we don't have to worry about ABI compat
   issues. This also allows us to get rid of the GCredentialsPrivate
   struct.

 - Add a GCredentialsType enumeration that is used whenever exchanging
   pointers with the user. This allows us to support OSes with
   multiple native credential types. In particular, it allows
   supporting OSes where the native credential evolves or even changes
   over time.

 - Add g_socket_get_credentials() method.

 - Add tests for g_socket_get_credentials(). Right now this is in the
   GDBus peer-to-peer test case but we can change that later.

 - Move GTcpConnection into a separate gtk-doc page as was already
   half-done with GUnixConnection. Also finish the GUnixConnection
   move and ensure send_credentials() and receive_credentials()
   methods are in the docs. Also nuke comment about GTcpConnection
   being empty compared to its superclass.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 files changed:
docs/reference/gio/gio-docs.xml
docs/reference/gio/gio-sections.txt
gio/gcredentials.c
gio/gcredentials.h
gio/gio.symbols
gio/gioenums.h
gio/gnetworkingprivate.h
gio/gsocket.c
gio/gsocket.h
gio/gtcpconnection.c
gio/gunixconnection.c
gio/gunixcredentialsmessage.c
gio/tests/gdbus-peer.c