~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/chmunpack.h

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman
  • Date: 2014-02-01 11:06:17 UTC
  • mfrom: (0.35.37 sid)
  • Revision ID: package-import@ubuntu.com-20140201110617-33h2xxk09dep0ui4
Tags: 0.98.1+dfsg-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - Drop build-dep on electric-fence (in Universe)
  - Add apparmor profiles for clamd and freshclam along with maintainer
    script changes
  - Add autopkgtest

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
        int ofd;
109
109
        uint32_t num_chunks;
110
110
        off_t chunk_offset;
111
 
        char *chunk_data;
112
 
        char *chunk_current;
113
 
        char *chunk_end;
 
111
        const char *chunk_data;
 
112
        const char *chunk_current;
 
113
        const char *chunk_end;
114
114
        fmap_t *map;
115
115
        uint16_t chunk_entries;
116
116
} chm_metadata_t;
117
117
 
118
 
int cli_chm_open(int fd, const char *dirname, chm_metadata_t *metadata, cli_ctx *ctx);
 
118
int cli_chm_open(const char *dirname, chm_metadata_t *metadata, cli_ctx *ctx);
119
119
int cli_chm_prepare_file(chm_metadata_t *metadata);
120
120
int cli_chm_extract_file(char *dirname, chm_metadata_t *metadata, cli_ctx *ctx);
121
121
void cli_chm_close(chm_metadata_t *metadata);