~ubuntu-branches/ubuntu/trusty/krusader/trusty

« back to all changes in this revision

Viewing changes to iso/libisofs/isofs.h

  • Committer: Bazaar Package Importer
  • Author(s): Roderick B. Greening
  • Date: 2009-01-30 12:46:14 UTC
  • mfrom: (1.2.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20090130124614-xoq7xpzcr0jck19y
Tags: 2.0~svn6194-0ubuntu1
* New svn snapshot to commit 6194
  - Additional fixes (see: http://krusader.svn.sourceforge.net/viewvc/krusader/trunk/krusader_kde4/?view=log)

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
        int             re; /* relocated */
51
51
        char    z_algo[2]; /* zizofs algorithm */
52
52
        char    z_params[2]; /* zizofs parameters */
53
 
        int             z_size; /* zizofs real_size */
 
53
        unsigned int    z_size; /* zizofs real_size */
54
54
} rr_entry;
55
55
 
56
56
typedef struct _iso_vol_desc {
78
78
/**
79
79
 * this callback function needs to read 'len' sectors from 'start' into 'buf' 
80
80
 */
81
 
typedef int readfunc(char *buf,int start, int len,void *);
 
81
typedef int readfunc(char *buf,unsigned int start, unsigned int len,void *);
82
82
 
83
83
/**
84
84
 * ProcessDir uses this callback
107
107
 * If the function fails, returns NULL
108
108
 * Don't forget to call FreeISO9660 after using the volume descriptor list!
109
109
 */
110
 
iso_vol_desc *ReadISO9660(readfunc *read,int sector,void *udata);
 
110
iso_vol_desc *ReadISO9660(readfunc *read,unsigned int sector,void *udata);
111
111
 
112
112
/**
113
113
 * Frees the linked list of volume descriptors
140
140
/**
141
141
 * Returns the size of the boot image (in 512 byte sectors)
142
142
 */
143
 
int BootImageSize(int media,int len);
 
143
long long BootImageSize(int media,unsigned int len);
144
144
 
145
145
/**
146
146
 * Frees the boot catalog entries in 'boot'. If you ever called ReadBootTable,
151
151
/**
152
152
 * Reads the boot catalog into 'head'. Don't forget to call FreeBootTable!
153
153
 */
154
 
int ReadBootTable(readfunc *read,int sector, boot_head *head, void *udata);
 
154
int ReadBootTable(readfunc *read,unsigned int sector, boot_head *head, void *udata);
155
155
 
156
156
#ifdef __cplusplus
157
157
} //extern "C"