vlm | bfb3131 | 2004-08-19 13:29:03 +0000 | [diff] [blame] | 1 | #ifndef _ASN1C_FDEPS_H_ |
| 2 | #define _ASN1C_FDEPS_H_ |
| 3 | |
| 4 | typedef struct asn1c_fdeps_s { |
| 5 | char *filename; /* Or 0, if root. */ |
| 6 | |
| 7 | int used_somewhere; /* Somefile refers to it */ |
| 8 | |
| 9 | struct asn1c_fdeps_s **elements; |
| 10 | int el_size; |
| 11 | int el_count; |
| 12 | } asn1c_fdeps_t; |
| 13 | |
| 14 | asn1c_fdeps_t *asn1c_read_file_dependencies(arg_t *arg, const char *datadir); |
| 15 | |
| 16 | /* Data may be a filename or an "#include <>" string. */ |
| 17 | int asn1c_activate_dependency(asn1c_fdeps_t *deps, asn1c_fdeps_t *cur, |
| 18 | const char *data); |
| 19 | |
| 20 | asn1c_fdeps_t *asn1c_deps_makelist(asn1c_fdeps_t *deps); |
| 21 | |
| 22 | #endif /* _ASN1C_FDEPS_H_ */ |