#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
Go to the source code of this file.
Data Structures |
| struct | Name |
Defines |
| #define | PROGRAM_NAME "apinames" |
| #define | PROGRAM_VERSION "0.1" |
| #define | LINEBUFF_SIZE 1024 |
Enumerations |
| enum | OutputFormat { OUTPUT_LIST = 0,
OUTPUT_WINDOWS_DEF,
OUTPUT_BORLAND_DEF,
OUTPUT_WATCOM_LBC
} |
| enum | State { STATE_START = 0,
STATE_TYPE
} |
Functions |
| static void | panic (const char *message) |
| static void | names_add (const char *name, const char *end) |
| static int | name_compare (const void *name1, const void *name2) |
| static void | names_sort (void) |
| static void | names_dump (FILE *out, OutputFormat format, const char *dll_name) |
| static int | read_header_file (FILE *file, int verbose) |
| static void | usage (void) |
| int | main (int argc, const char *const *argv) |
Variables |
| static Name | the_names |
| static int | num_names |
| static int | max_names |