Re: gnome-ftp library



Probably use gnome_config_get_string and use a key something like
/Gnome/Proxies/ftp-proxy.  This will make gnome-ftp dependent on libgnome,
which may or may not be a good thing.

gnome-http doesn't link with libgnome, and leaves all configuration type
stuff up to the user of the library (using ghttp_set_proxy).  Each method
has its advantages and disadvantages.

I guess it is really the choice of the implementor, in how much work do
you want left to the program and how much to the library.

James Henstridge.

--
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/


On Tue, 23 Feb 1999, Brian Masney wrote:

> I have been this morning working on some code for the gnome-ftp library. I
> am keeping the function call names close to those of gnome-http library
> where it is appropriate. The one question I have is about FTP proxy server
> support. Like someone mentioned, it would make sense to store these
> settings in a global file where all applications can use them. It would
> also make sense to have a function in the library to automatically read
> the values and set up the proxy settings. Well my questions is where
> should I store these settings at?
> 
> Brian
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 



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