Merge C++ from gomp-20050608-branch.
[official-gcc.git] / fastjar / shift.h
blob97c99b8774006ca1de0001e1766f04cdb8cbdc14
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
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__ */