libclamav may be used to add a virus protection to your software. The library is thread-safe and can transparently recognize and scan archives, mail files and MS Office document files.