| 1 | /* |
|---|
| 2 | * This file is generated by aisc_mkpt. |
|---|
| 3 | * Any changes you make here will be overwritten later! |
|---|
| 4 | * |
|---|
| 5 | */ |
|---|
| 6 | |
|---|
| 7 | #ifndef AISC_PROTO_H |
|---|
| 8 | #define AISC_PROTO_H |
|---|
| 9 | |
|---|
| 10 | #ifndef P_ |
|---|
| 11 | # if defined(__STDC__) || defined(__cplusplus) |
|---|
| 12 | # define P_(s) s |
|---|
| 13 | # else |
|---|
| 14 | # define P_(s) () |
|---|
| 15 | # endif |
|---|
| 16 | #else |
|---|
| 17 | # error P_ already defined elsewhere |
|---|
| 18 | #endif |
|---|
| 19 | |
|---|
| 20 | /* define ARB attributes: */ |
|---|
| 21 | #ifndef ATTRIBUTES_H |
|---|
| 22 | # include <attributes.h> |
|---|
| 23 | #endif |
|---|
| 24 | |
|---|
| 25 | #ifdef __cplusplus |
|---|
| 26 | extern "C" { |
|---|
| 27 | #endif |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | /* aisc.c */ |
|---|
| 31 | char *read_aisc_file P_((char *path)); |
|---|
| 32 | CL *make_CL P_((void)); |
|---|
| 33 | AD *read_aisc P_((char **in)); |
|---|
| 34 | |
|---|
| 35 | /* aisc_commands.c */ |
|---|
| 36 | void print_error_internal P_((const char *err, const char *launcher_file, int launcher_line)); |
|---|
| 37 | void print_warning_internal P_((const char *err, const char *launcher_file, int launcher_line)); |
|---|
| 38 | const char *formatted P_((const char *format, ...)) __ATTR__FORMAT(1); |
|---|
| 39 | void aisc_remove_files P_((void)); |
|---|
| 40 | int do_com_push P_((const char *str)); |
|---|
| 41 | int run_prg P_((void)); |
|---|
| 42 | |
|---|
| 43 | /* aisc_mix.c */ |
|---|
| 44 | CL *aisc_calc_blocks P_((CL *co, CL *afor, CL *aif, int up)); |
|---|
| 45 | int aisc_calc_special_commands P_((void)); |
|---|
| 46 | struct hash_struct *create_hash P_((int size)); |
|---|
| 47 | char *read_hash_local P_((char *key, struct hash_struct **hs)); |
|---|
| 48 | char *read_hash P_((struct hash_struct *hs, char *key)); |
|---|
| 49 | char *write_hash P_((struct hash_struct *hs, const char *key, const char *val)); |
|---|
| 50 | int free_hash P_((struct hash_struct *hs)); |
|---|
| 51 | |
|---|
| 52 | /* aisc_var_ref.c */ |
|---|
| 53 | AD *aisc_find_var_hier P_((AD *cursor, char *str, int next, int extended, int goup)); |
|---|
| 54 | AD *aisc_find_var P_((AD *cursor, char *str, int next, int extended, int goup)); |
|---|
| 55 | char *get_var_string P_((char *var)); |
|---|
| 56 | |
|---|
| 57 | #ifdef __cplusplus |
|---|
| 58 | } |
|---|
| 59 | #endif |
|---|
| 60 | |
|---|
| 61 | #undef P_ |
|---|
| 62 | |
|---|
| 63 | #else |
|---|
| 64 | #error aisc_proto.h included twice |
|---|
| 65 | #endif /* AISC_PROTO_H */ |
|---|