[glibmm] giomm: UnixConnection: Add receive/send_credentials() methods.



commit 9529041e5e052f3c8646ad79f902f4668b4809f3
Author: José Alburquerque <jaalburqu svn gnome org>
Date:   Fri Aug 6 17:47:31 2010 -0400

    	giomm: UnixConnection: Add receive/send_credentials() methods.
    
    	* gio/src/unixconnection.hg: Add receive/send_credentials() which
    	the UnixCredentialsMessage docs refers to.

 ChangeLog                 |    7 +++++++
 gio/src/unixconnection.hg |    4 ++++
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2cede48..87449dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-08-06  José Alburquerque  <jaalburqu svn gnome org>
+
+	giomm: UnixConnection: Add receive/send_credentials() methods.
+
+	* gio/src/unixconnection.hg: Add receive/send_credentials() which
+	the UnixCredentialsMessage docs refers to.
+
 2010-08-05  José Alburquerque  <jaalburqu svn gnome org>
 
 	giomm: Add SocketControlMessage, Unix[Credentials|FD]Message classes.
diff --git a/gio/src/unixconnection.hg b/gio/src/unixconnection.hg
index c75045e..00bcf10 100644
--- a/gio/src/unixconnection.hg
+++ b/gio/src/unixconnection.hg
@@ -46,6 +46,10 @@ class UnixConnection : public Gio::SocketConnection
 public:
     _WRAP_METHOD(bool send_fd(int fd, const Glib::RefPtr<Cancellable>& cancellable), g_unix_connection_send_fd, errthrow)
     _WRAP_METHOD(int receive_fd(const Glib::RefPtr<Cancellable>& cancellable), g_unix_connection_receive_fd, errthrow)
+
+    _WRAP_METHOD(Glib::RefPtr<Credentials> receive_credentials(const Glib::RefPtr<Cancellable>& cancellable), g_unix_connection_receive_credentials, errthrow)
+    _WRAP_METHOD(Glib::RefPtr<const Credentials> receive_credentials(const Glib::RefPtr<Cancellable>& cancellable) const, g_unix_connection_receive_credentials, errthrow)
+    _WRAP_METHOD(bool send_credentials(const Glib::RefPtr<Cancellable>& cancellable), g_unix_connection_send_credentials, errthrow)
 };
 
 } // namespace Gio



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]