comparison lwar/lwar.h @ 172:47427342e41d

lwar now creates, lists, and adds to archive files
author lost
date Sun, 01 Mar 2009 22:59:52 +0000
parents d610b8aef91b
children cc41ccee8f64
comparison
equal deleted inserted replaced
171:d610b8aef91b 172:47427342e41d
19 19
20 Contains the main defs used by the linker 20 Contains the main defs used by the linker
21 */ 21 */
22 22
23 23
24 #define LWAR_OP_LIST 1
25 #define LWAR_OP_ADD 2
26 #define LWAR_OP_REMOVE 3
27 #define LWAR_OP_CREATE 4
28
24 #ifndef __lwar_h_seen__ 29 #ifndef __lwar_h_seen__
25 #define __lwar_h_seen__ 30 #define __lwar_h_seen__
26 31
27 #ifndef __lwar_c_seen__ 32 #ifndef __lwar_c_seen__
28 33
34 extern char *archive_file;
29 extern int debug_level; 35 extern int debug_level;
36 extern int operation;
37 extern int nfiles;
38 extern char **files;
30 39
31 #define __lwar_E__ extern 40 #define __lwar_E__ extern
32 #else 41 #else
33 #define __lwar_E__ 42 #define __lwar_E__
34 #endif // __lwar_c_seen__ 43 #endif // __lwar_c_seen__
35 44
45 __lwar_E__ void add_file_name(char *fn);
46
36 #undef __lwar_E__ 47 #undef __lwar_E__
37 48
38 #endif //__lwar_h_seen__ 49 #endif //__lwar_h_seen__