[Olsr-dev] nameservice plugin for Windows with olsr 0.5.6

Sven-Ola Tuecke (spam-protected)
Tue Oct 28 15:31:54 CET 2008


Hey,

if you don't understand #ifdef, this may be communication layer problem. The 
function writes to something which is a fifo under linux and cause by #ifdef 
to a thing named "file" with windoof. Do I miss something?

// Sven-Ola

"Olivier Brousse" <(spam-protected)> schrieb im Newsbeitrag 
news:(spam-protected)
> Hello,
>
> I'am currently working on the porting of olsr nameservice plugin for
> windows version of olsrd 0.5.6 and I have some problems with
> mapwrite_init and mapwrite_exit functions that uses fifos (which are not
> supported in WIN32). There is one comment in mapwrite.c that may be
> useful but I do not understand it well :
>
> #ifndef WIN32
>
> /*
> * Windows doesn't know fifo's AFAIK. We better write
> * to a file (done in nameservice.c, see #ifdef WIN32)
> */
>
> Can you provide me more informations on this writing files procedure?
> What is the code in nameservice.c that is referenced here?
>
> Thank in advance.
> OlivierB.
>
> -- 
> Olsr-dev mailing list
> (spam-protected)
> http://lists.olsr.org/mailman/listinfo/olsr-dev 





More information about the Olsr-dev mailing list