[Code study] lp_motd_file defination? Help

Daniel.Li daniel_li at usish.com
Wed Apr 22 10:56:37 GMT 2009


On Wed, 2009-04-22 at 10:14 +0200, Paul Slootman wrote:
> On Wed 22 Apr 2009, Daniel.Li wrote:
> > 
> > Currently, I read this in clientserver.c, line 148.
> > 
> > motd = lp_motd_file();
> > 
> > I have googled, but didn't the definition of char *lp_motd_file(void).
> 
> > $ grep "lp_motd_file" . -R
> > ./proto.h:char *lp_motd_file(void);
> > ./loadparm.c:FN_GLOBAL_STRING(lp_motd_file, &Globals.motd_file)
> 
> So look in loadparm.c ...  I'm guessing this is for some school course?
> If you're reasonably able to read code, that code snippet shouldn't be
> hard to understand, and if not, ask your teacher, not us :-)

Sorry, I'm in a hurry. I just wanna get a full picture of program flow
and basic APIs of algorithm. 

We are planning to implement a feature, which will enable us to restore
to any backup point.

Is it possible for us to do so?\

Any idea is mostly appreciated. Thanks.
> 
> 
> Paul
-- 
Daniel



More information about the rsync mailing list