[Patch] libnetclient: use G_DECLARE*



Hi all,

attached is a patch which implements the various libnetclient objects (pop3, smtp, sio) using the modern 
G_DECLARE_*_TYPE() macros.  Furthermore, it fixes a wrong assignment which did /always/ enable POP3 
pipelining (RFC 2449, sect. 6.6) irrespective of the server capability announcement.

Best,
Albrecht.

---
Patch details:
- libnetclient/net-client-pop.[ch]: use G_DECLARE_FINAL_TYPE(), and drop storing the private object data in a 
separate structure; net_client_pop_get_capa(): enable pipelining only if included in the server's capabilities
- libnetclient/net-client-siobuf.[ch], libnetclient/net-client-smtp.[ch]: use G_DECLARE_FINAL_TYPE(), and 
drop storing the private object data in a separate structure
- libnetclient/net-client-utils.h: suppress Flexelint 9.00 false-positive
- libnetclient/net-client.[hc]: use G_DECLARE_DERIVABLE_TYPE(); use net_client_get_instance_private() to 
access private data

Attachment: libnetclient-g-decl.diff.bz2
Description: application/bzip

Attachment: pgpplSZ0diZJ_.pgp
Description: PGP signature



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