ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Urlader/urlib.h
(Generate patch)

Comparing Urlader/urlib.h (file contents):
Revision 1.3 by root, Tue Jan 3 10:37:45 2012 UTC vs.
Revision 1.5 by root, Fri Jan 6 07:56:36 2012 UTC

1#ifndef URLIB_H_ 1#ifndef URLIB_H_
2#define URLIB_H_ 2#define URLIB_H_
3 3
4#define URLADER "urlader" 4#define URLADER "urlader"
5#define URLADER_VERSION "1.0" /* a decimal number, not a version string */ 5#define URLADER_VERSION "1.0" /* a decimal number, not a version string */
6
7#define MAX_ARGC 32 /* maximum number of arguments */
8#define MAX_ARGS 256 /* maximum TOTAL length of arguments */
9 6
10enum 7enum
11{ 8{
12 T_NULL, // 5 9 T_NULL, // 5
13 T_META, // 1 : exe_id, exe_ver 10 T_META, // 1 : exe_id, exe_ver
41struct u_pack_tail { 38struct u_pack_tail {
42 unsigned char max_uncompressed[4]; /* maximum uncompressed file size */ 39 unsigned char max_uncompressed[4]; /* maximum uncompressed file size */
43 unsigned char size[4]; /* how many bytes to seke backwards from end(!) of tail */ 40 unsigned char size[4]; /* how many bytes to seke backwards from end(!) of tail */
44 unsigned char reserved[8]; /* must be 0 */ 41 unsigned char reserved[8]; /* must be 0 */
45 char magic[16]; 42 char magic[16];
43 char md5_head[16]; /* md5(urlader) or 0, if there is no checksum */
46 char md5_pack[16]; /* md5(pack) or 0, if there is no checksum */ 44 char md5_pack[16]; /* md5(pack) or 0, if there is no checksum */
47 char md5_file[16]; /* md5(urlader) or 0, if there is no checksum */
48}; 45};
49 46
50#endif 47#endif
51 48

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines