comparison ticoff/main.c @ 75:1a23ff9a81de

tiobjd: dumpsym implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 25 Mar 2014 20:38:31 +0000
parents c15cd3d695c0
children 590396e27e96
comparison
equal deleted inserted replaced
74:2eef88395908 75:1a23ff9a81de
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <string.h> 8 #include <string.h>
9 #include <strings.h> 9 #include <strings.h>
10 #include "globals.h" 10 #include "globals.h"
11 11
12 extern int cmd_dumpsym();
12 extern int cmd_sechdr(); 13 extern int cmd_sechdr();
13 extern int dump_filehdr_info(); 14 extern int dump_filehdr_info();
14 15
15 static struct cmdtab { 16 static struct cmdtab {
16 char *cmd; 17 char *cmd;
17 int (*func)(); 18 int (*func)();
18 } cmdtab[] = { 19 } cmdtab[] = {
20 {"dumpsym", cmd_dumpsym},
19 {"hdr", dump_filehdr_info}, 21 {"hdr", dump_filehdr_info},
20 {"sechdr", cmd_sechdr}, 22 {"sechdr", cmd_sechdr},
21 {0, 0} 23 {0, 0}
22 }; 24 };
23 25