loco-dev
[Top][All Lists]
Advanced

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

Re: [Loco-dev] concerning locod


From: Janico Greifenberg
Subject: Re: [Loco-dev] concerning locod
Date: Mon, 9 Sep 2002 20:14:41 +0200
User-agent: Mutt/1.4i

On Mon, Sep 09, 2002 at 03:24:47AM +0200, TOK wrote:
> greetings everyone,
> 
> i tried working on the locod (after some smalltalk with arne), got a few
> things done and a lot of new questions.
> 
> changes to loco.h
> i added loco_get_local_ips (from address.c). i don't understand while
> loco-msg does compile (without), but copy and paste brought this up.
> shall i use this at all?

Don't use it, use loco_get_local_ifs () like in loco-msg.c. C does not require
a function to be declared before using it, so the compiler does not complain.

> 
> created locod subdir with:
> locod.h - types, errors and global var (pointer)
> config_parser.c - so we don't need to specify key, bootstrap ... as
> arguments. i think we will surely need something like this.
> locod.conf - xml style
> 
> daemon.c - ripped of loco-msg.c (pretty much nothing here)
> starter.c - get & use params, load config, start daemon.c::locod_run()

Please do not do this.
I want to move eveything out of the loco module exept the library since libtool
does not work too well with executables. 

> 
> i will update to cvs sometime this night, short of any wonders this code
> will NOT compile (thus not included in loco-make, try make in locod).
> i do this, as i try to prevent the same code written twice and think are
> and me (or anyone) needs some base to start from (or so to say: sorry
> about broken code).

Code wich does not compile is not supposed to be in the CVS.

I am sorry to have to discourage you, but I want to decide the basic structure
of the project myself and I am not done yet. I am for example thinking about
using Guile (Scheme) for Remote Procedure Calls and configuration in the
daemon. 
So please don't commit anything to
the CVS yet, but send patches to this list and I will integrate them. I have
never done anything like this before so I have to try out many things. Having
other people try out things on their own does not help, so please stay away
from the CVS for now.
(This is meant for everybody).

Thanks for your patience
       Divo

-- 
Warning! Taking anyone (especially yourself) too serious will be harmful




reply via email to

[Prev in Thread] Current Thread [Next in Thread]