~ubuntu-branches/debian/sid/upx-ucl/sid

« back to all changes in this revision

Viewing changes to src/file.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Luberda
  • Date: 2009-09-20 21:34:57 UTC
  • mfrom: (1.2.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090920213457-x95n0rq823lx12sw
Tags: 3.03-3
* Upload to unstable.
* Standards-Version: 3.8.3 (no changes).
* Build with debhelper v7.
* rules: call dh_prep instead of `dh_clean -k'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
   This file is part of the UPX executable compressor.
4
4
 
5
 
   Copyright (C) 1996-2007 Markus Franz Xaver Johannes Oberhumer
6
 
   Copyright (C) 1996-2007 Laszlo Molnar
 
5
   Copyright (C) 1996-2008 Markus Franz Xaver Johannes Oberhumer
 
6
   Copyright (C) 1996-2008 Laszlo Molnar
7
7
   All Rights Reserved.
8
8
 
9
9
   UPX and the UCL library are free software; you can redistribute them
22
22
   59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
23
 
24
24
   Markus F.X.J. Oberhumer              Laszlo Molnar
25
 
   <mfx@users.sourceforge.net>          <ml1050@users.sourceforge.net>
 
25
   <markus@oberhumer.com>               <ml1050@users.sourceforge.net>
26
26
 */
27
27
 
28
28
 
63
63
    virtual void set_extent(off_t offset, off_t length);
64
64
 
65
65
protected:
66
 
    void sopen();
 
66
    bool do_sopen();
67
67
    virtual int read(void *buf, int len);
68
68
    virtual int readx(void *buf, int len);
69
69
    virtual void write(const void *buf, int len);