PR c++/20175
[official-gcc.git] / fastjar / shift.h
blob0a792555c7957ed6f8e39f81f21aa57047a41911
1 /* shift.h -- utilities to move regions of data in a file.
2 Copyright (C) 2004 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or (at
7 your option) any later version.
9 This program is distributed in the hope that it will be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
17 USA. */
20 #ifndef __FASTJAR_SHIFT_H__
21 #define __FASTJAR_SHIFT_H__
23 #include <sys/types.h>
24 #include "jartool.h"
26 int shift_down (int, off_t, off_t, struct zipentry *);
27 int shift_up (int, off_t, off_t, struct zipentry *);
29 #endif /* __FASTJAR_SHIFT_H__ */