~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/blob.h

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran
  • Date: 2008-09-05 17:25:34 UTC
  • mfrom: (0.35.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080905172534-yi3f8fkye1o7u1r3
* New upstream version (closes: #497662, #497773)
  - lots of new options for clamd.conf
  - fixes CVEs CVE-2008-3912, CVE-2008-3913, CVE-2008-3914, and
    CVE-2008-1389
* No longer supports --unzip option, so typo is gone (closes: #496276)
* Translations:
  - sv (thanks Martin Bagge <brother@bsnet.se>) (closes: #491760)

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 */
53
53
typedef struct fileblob {
54
54
        FILE    *fp;
 
55
        int     fd;
55
56
        blob    b;      /*
56
57
                         * b.name is the name of the attachment as stored in the
57
58
                         * email, not the full path name of the temporary file
68
69
void    fileblobDestructiveDestroy(fileblob *fb);
69
70
void    fileblobDestroy(fileblob *fb);
70
71
void    fileblobSetFilename(fileblob *fb, const char *dir, const char *filename);
 
72
void    fileblobPartialSet(fileblob *fb, const char *fullname, const char *arg);
71
73
const   char    *fileblobGetFilename(const fileblob *fb);
72
74
void    fileblobSetCTX(fileblob *fb, cli_ctx *ctx);
73
75
int     fileblobAddData(fileblob *fb, const unsigned char *data, size_t len);