⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jartool.h

📁 jar文件处理原程序
💻 H
字号:
/* $Id: jartool.h,v 1.2 1999/12/06 03:47:20 toast Exp $   $Log: jartool.h,v $   Revision 1.2  1999/12/06 03:47:20  toast   fixing version string   Revision 1.1.1.1  1999/12/06 03:08:24  toast   initial checkin..   Revision 1.6  1999/05/10 09:16:08  burnsbr   *** empty log message ***   Revision 1.5  1999/04/27 10:04:20  burnsbr   configure support   Revision 1.4  1999/04/26 02:36:15  burnsbr   changed RDSZ to 4096 from 512   Revision 1.3  1999/04/23 12:00:29  burnsbr   modified zipentry struct*//*  jartool.h - generic defines, struct defs etc.  Copyright (C) 1999  Bryan Burns    This program is free software; you can redistribute it and/or  modify it under the terms of the GNU General Public License  as published by the Free Software Foundation; either version 2  of the License, or (at your option) any later version.    This program is distributed in the hope that it will be useful,  but WITHOUT ANY WARRANTY; without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  GNU General Public License for more details.    You should have received a copy of the GNU General Public License  along with this program; if not, write to the Free Software  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. */#include "config.h"#define ACTION_NONE 0#define ACTION_CREATE 1#define ACTION_EXTRACT 2#define ACTION_UPDATE 3#define ACTION_LIST 4#define TRUE 1#define FALSE 0#define VERSION "fastjar version 0.86 (12/06/1999)"/* Amount of bytes to read at a time.  You can change this to optimize for   your system */#define RDSZ 4096/* Change these to match your system:   ub1 == unsigned 1 byte word   ub2 == unsigned 2 byte word   ub4 == unsigned 4 byte word*/#if SIZEOF_CHAR == 1typedef unsigned char ub1;#elsetypedef u_int8_t ub1;#endif#if SIZEOF_SHORT == 2typedef unsigned short ub2;#elif SIZEOF_INT == 2typedef unsigned int ub2;#elsetypedef u_int16_t ub2;#endif#if SIZEOF_INT == 4typedef unsigned int ub4;#elif SIZEOF_LONG == 4typedef unsigned long ub4;#elif SIZEOF_LONG_LONG == 4typedef unsigned long long ub4;#elsetypedef u_int32_t ub4;#endifstruct zipentry {  ub2 mod_time;  ub2 mod_date;  ub4 crc;  ub4 csize;  ub4 usize;  ub4 offset;  ub1 compressed;  char *filename;    struct zipentry *next_entry;};typedef struct zipentry zipentry;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -