Suggested changes to gwlib/conn.[ch]

Paul Bagyenda <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi

    The connection handling module, part of gwlib, seems to be  the  
only module that depends directly on the Cfg module (i.e. to setup  
SSL related stuff). It would be nice to be able to use it in  
situations where this dependency can be bypassed. It turns out that  
the change is small: Have a function for setting the trusted_ca file  
in the interface. In all just moving some code out of conn_config_ssl  
into a separate function.

  Attached is such a minimal patch against CVS. I think it is a small  
improvement but an important one.

Cheers

Paul.

PS. Also included are the mime.[ch] changes proposed earlier.



-----------------------------------------------
Trek the Rwenzori's. Or just see them online - http:// 
www.rwenzori.com/galley.htm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.