On 2005.02.24, Tom Jackson <[EMAIL PROTECTED]> wrote: > > There are a lot of differences still in config.c: > > function prototypes of exported functions are missing. > > Oops, prototypes for extern are in a header file, in this case nsd.h. > > I guess the question is, should there have been a config.h, probably the way > it should be done with a module.
include/ns.h is for public C API prototypes. nsd/nsd.h is for private ones that aren't declared static to the .c file they're defined in. More often than not, most functions should NOT NOT NOT NOT NOT be exported. They should be file static scoped. Which means, no prototype of their signature should go into include/ns.h NOR nsd/nsd.h. -- Dossy -- Dossy Shiobara mail: [EMAIL PROTECTED] Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70) -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
