2013-03-26 03:16, José Alburquerque
skrev:
May I contribute to the confusion? I think only part of the class structure is in glib. The rest is in a TLS backend (whatever that is). Like so, if I mix C++ syntax with C class and interface names.On Tue, 2013-03-19 at 10:23 +0100, Murray Cumming wrote:I will do the .0 releases of the current glibmm and gtkmm series in the next few days, to try to be in sync with GNOME, who have their .0 release on March 27th: https://live.gnome.org/ThreePointSeven So, if you have added new API, please take an extra moment to make sure that you don't need to fix it quickly, because you probably can't break it later.The not so extensive newly added Tls* API is pretty much complete. I just thought that I would point out a couple of things that struck me as unusual which I think would be good to be aware of before the stable release goes out. Also I have one final question. In glib class GIOStream : public GObject class GTlsConnection : public GIOStream class GTlsClientConnection : public GInterface class GTlsServerConnection : public GInterface class GTlsDatabase : public GObject class GTlsFileDatabase : public GInterface In a TLS backend, e.g. glib-networking class GTlsConnectionGnutls : public GTlsConnection, public GInitable class GTlsClientConnectionGnutls : public GTlsConnectionGnutls, public GTlsClientConnection class GTlsServerConnectionGnutls : public GTlsConnectionGnutls, public GInitable, public GTlsServerConnection class GTlsDatabaseGnutls : public GTlsDatabase class GTlsFileDatabaseGnutls : public GTlsDatabaseGnutls, public GTlsFileDatabase, public GInitable g_tls_client_connection_new() returns an instance of a class that derives both from GTlsConnection and from the interface GTlsClientConnection. g_tls_server_connection_new() returns an instance of a class that derives both from GTlsConnection and from the interface GTlsServerConnection. g_tls_file_database_new() returns an instance of a class that derives both from GTlsDatabase and from the interface GTlsFileDatabase. Kjell |