27 |
27 |
28 //------------------------------Prototypes------------------------------------- |
28 //------------------------------Prototypes------------------------------------- |
29 static void usage(ArchDesc& AD); // Print usage message and exit |
29 static void usage(ArchDesc& AD); // Print usage message and exit |
30 static char *strip_ext(char *fname); // Strip off name extension |
30 static char *strip_ext(char *fname); // Strip off name extension |
31 static char *base_plus_suffix(const char* base, const char *suffix);// New concatenated string |
31 static char *base_plus_suffix(const char* base, const char *suffix);// New concatenated string |
32 static char *prefix_plus_base_plus_suffix(const char* prefix, const char* base, const char *suffix);// New concatenated string |
|
33 static int get_legal_text(FileBuff &fbuf, char **legal_text); // Get pointer to legal text |
32 static int get_legal_text(FileBuff &fbuf, char **legal_text); // Get pointer to legal text |
34 |
33 |
35 ArchDesc* globalAD = NULL; // global reference to Architecture Description object |
34 ArchDesc* globalAD = NULL; // global reference to Architecture Description object |
36 |
35 |
37 const char* get_basename(const char* filename) { |
36 const char* get_basename(const char* filename) { |