HOME LINKS SAL PUBLIC SOFTWARE SEARCH MADE UP

SAGATOR



scand()
  Scanner daemon with a preload library ability.
  
  This service can be used to scan for viruses with an library, which
  can be "preloaded" as LD_PRELOAD library.
  
  Usage: scand(scanner,ld_preload='',
               sock='/tmp/scand.sock',
               pid_file='/var/run/scand.pid',
               as_root=False)
  
  Where: scanner is a scand scanner
         ld_preload is an library name, which can be preloaded with
           LD_PRELOAD parameter. By default by library will be preloaded.
         sock is path to communicate with scanner
         pid_file is a path to store daemon's pid file. This will be loaded
           at exit and this process will be killed.
         as_root is an boolean. Set it to True if you want to run scanners
           in scand as root.
  
  Example: scand(nod2pac(),ld_preload='/usr/lib/libnod32pac.so')
       or: scand(usrquota('mydomain.sk'),as_root=True)
  
  New in version 0.8.0.