diff options
author | Murray Cumming <murrayc@murrayc.com> | 2014-04-04 21:34:41 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2014-04-04 22:00:12 +0200 |
commit | caf17411dbd60fa8ea8f7044275bb8d54cd2be1c (patch) | |
tree | 4f09fc812130e454c2ed7e5b61151232e3a180ac | |
parent | 2859d694d27b1b577d8d79690234344d67a47859 (diff) | |
download | glibmm-caf17411dbd60fa8ea8f7044275bb8d54cd2be1c.tar.gz |
Socket: Add get/set_option().
-rw-r--r-- | gio/src/socket.hg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gio/src/socket.hg b/gio/src/socket.hg index bcaa9d3f..f0bce7bf 100644 --- a/gio/src/socket.hg +++ b/gio/src/socket.hg @@ -268,6 +268,9 @@ public: _WRAP_METHOD_DOCS_ONLY(g_socket_send_with_blocking) gssize send_with_blocking(gchar* buffer, gsize size, bool blocking, const Glib::RefPtr<Cancellable>& cancellable = Glib::RefPtr<Cancellable>()); + _WRAP_METHOD(bool get_option(int level, int optname, int& value) const, g_socket_get_option, errthrow) + _WRAP_METHOD(bool set_option(int level, int optname, int value), g_socket_set_option, errthrow) + _WRAP_METHOD(guint get_ttl() const, g_socket_get_ttl) _WRAP_METHOD(void set_ttl(guint ttl), g_socket_set_ttl) |