#24 Filter engine as shared library

closed
nobody
None
5
2005-02-20
2003-10-16
No

It would be nice to have the filtering engine as a
shared library that can be used in other programs.

I have seen that bogofilter already uses a library that
is staticly linked into the binary. But as far as i
could see command line parameters are passed down into
the library. For embedding into other programs it would
be better to parse parameters in the tool and call
library functions to set options. A simple interface
that scans files and returns the spam status would be nice.

Discussion

  • Logged In: YES
    user_id=2788

    The library is a convenience library to avoid tracking which program
    needs which object file at link time.

    I share the view that having a library that can scan for spam might be
    useful, so I'll leave this tracker item open.

     
  • Logged In: YES
    user_id=237582

    I don't care anymore...

     
    • status: open --> closed