Re: IPv6 precedence

"Alexander V. Lukyanov" <[email protected]>
Newsgroups gmane.network.lftp.devel
Message-ID <[email protected]>
On Mon, Mar 28, 2005 at 04:05:02PM +0200, Tomasz Grobelny wrote:
> On Monday 28 of March 2005 10:55, Alexander V. Lukyanov wrote:
> > On Sun, Mar 27, 2005 at 10:36:36PM +0200, Tomasz Grobelny wrote:
> > > Fine, but this text snippet states that lftp.conf is used in lftp as a
> > > program. The question is: what do I have to do to have it parsed when
> > > using lftp classes in my own program? It is propably not that hard to
> > > find out, though.
> >
> > ResMgr::Set("dns:order", 0, "inet6 inet");
> >
> I know this function and used it for other setting. I was wondering if sth 
> like ParseDefaultConfig() exists. But it seems that parsing code is in 
> lftp.cc and cannot be used in external programs.

Configuration file is a sequence of commands, which are parsed and executed
by CmdExec class, the commands can also be entered by end user on prompt.

-- 
   Alexander.
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.