diff options
author | Christopher Chavez <chrischavez@gmx.us> | 2020-10-01 11:53:41 -0500 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2020-10-01 22:43:54 +0200 |
commit | 03f01fba18979128cc80cfc03ccdb0f4ffece47b (patch) | |
tree | c7108a9a7078a7a7d4fe92f3a72a26a686a0a2bc /lib/c_glib | |
parent | b1a5cd6542f4591563d39ed2021be9fc4690528f (diff) | |
download | thrift-03f01fba18979128cc80cfc03ccdb0f4ffece47b.tar.gz |
Fix c_glib implicit function declarations
Client: c_glib
Patch: Christopher Chavez
This closes #2249
Diffstat (limited to 'lib/c_glib')
-rw-r--r-- | lib/c_glib/src/thrift/c_glib/protocol/thrift_protocol_decorator.h | 5 | ||||
-rw-r--r-- | lib/c_glib/src/thrift/c_glib/transport/thrift_ssl_socket.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/c_glib/src/thrift/c_glib/protocol/thrift_protocol_decorator.h b/lib/c_glib/src/thrift/c_glib/protocol/thrift_protocol_decorator.h index 13b6af238..cf53de6e4 100644 --- a/lib/c_glib/src/thrift/c_glib/protocol/thrift_protocol_decorator.h +++ b/lib/c_glib/src/thrift/c_glib/protocol/thrift_protocol_decorator.h @@ -67,6 +67,11 @@ struct _ThriftProtocolDecoratorClass /* used by THRIFT_TYPE_PROTOCOL_DECORATOR */ GType thrift_protocol_decorator_get_type (void); +gint32 thrift_protocol_decorator_write_message_begin (ThriftProtocol *protocol, + const gchar *name, + const ThriftMessageType message_type, + const gint32 seqid, GError **error); + G_END_DECLS #endif /* _THRIFT_PROTOCOL_DECORATOR_H */ diff --git a/lib/c_glib/src/thrift/c_glib/transport/thrift_ssl_socket.h b/lib/c_glib/src/thrift/c_glib/transport/thrift_ssl_socket.h index dd07c6316..8bbb4a35f 100644 --- a/lib/c_glib/src/thrift/c_glib/transport/thrift_ssl_socket.h +++ b/lib/c_glib/src/thrift/c_glib/transport/thrift_ssl_socket.h @@ -223,5 +223,8 @@ thrift_ssl_socket_initialize_openssl(void); void thrift_ssl_socket_finalize_openssl(void); +gboolean +thrift_ssl_socket_authorize(ThriftTransport * transport, GError **error); + G_END_DECLS #endif |