21 Jul
1999
21 Jul
'99
11:30 p.m.
Balazs Scheidler wrote:
syslog-ng uses make_class as a preprocessor to create data structures for object classes, and to generate code needed by the mark & sweep garbage collector. To create a new destination driver, you would create a class from (or directly use) log_dest_driver defined in destinations.h. If you look at affile.c (as one of the simplest destination driver), it derives a class:
Great, thanks for the explanation. Complex to get started with, but I can see how it simplifies things once its all there. I'll start working on afprog in the next day or so. J