You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2020/10/01 20:44:11 UTC

[thrift] branch master updated: Fix c_glib implicit function declarations Client: c_glib Patch: Christopher Chavez

This is an automated email from the ASF dual-hosted git repository.

jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git


The following commit(s) were added to refs/heads/master by this push:
     new 03f01fb  Fix c_glib implicit function declarations Client: c_glib Patch: Christopher Chavez
03f01fb is described below

commit 03f01fba18979128cc80cfc03ccdb0f4ffece47b
Author: Christopher Chavez <ch...@gmx.us>
AuthorDate: Thu Oct 1 11:53:41 2020 -0500

    Fix c_glib implicit function declarations
    Client: c_glib
    Patch: Christopher Chavez
    
    This closes #2249
---
 lib/c_glib/src/thrift/c_glib/protocol/thrift_protocol_decorator.h | 5 +++++
 lib/c_glib/src/thrift/c_glib/transport/thrift_ssl_socket.h        | 3 +++
 2 files changed, 8 insertions(+)

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 13b6af2..cf53de6 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 dd07c63..8bbb4a3 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