Ok, so actually, there's main.c+pipe.c, mini-injector.c, and injector.c which appears to be commented from my Makefile. Each does a similar thing: accept a message and deliver it to the database. So what's what, what's a good sourcebase to work from, any how did we end up with all 3 of these?
It's looking to me like working from mini-injector.c will be the easiest. The code is quite simple and straightforward :-) But that assumes that I'd want to duplicate the insertion code again. Umm, sure... What was injector.c intended to do? Was it perhaps a halted attempt to replace main.c+pipe.c? Given the parallel name with mini-injector.c, it would make sense to me if it were the successor to main.c+pipe.c (which make up the poorly named dbmail-smtp). But that's all talk. How about the code? I'm having some trouble digging through injector.c and understanding what's different from main.c+pipe.c since though the code looks pretty different, the comments and help text seem to suggest that they are functionally similar, even identical... If it's not already obvious... I'm lost! Thanks for your help here! Aaron On Wed, 16 Apr 2003, Eelco van Beek wrote: [snip] > > because I'm still working out which pieces of pipe.c and injector.c are > > good, which parts need more abstraction, and which parts get junked. > > If you need any 'inside' info on those subject, please let me know! > [snip]
