blob: bb9496f9235a1bcd2c35905856305996631ed4e4 [file] [log] [blame]
Lev Walkinacd9f8b2004-08-19 13:29:03 +00001#ifndef _ASN1C_FDEPS_H_
2#define _ASN1C_FDEPS_H_
3
4typedef 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
14asn1c_fdeps_t *asn1c_read_file_dependencies(arg_t *arg, const char *datadir);
15
16/* Data may be a filename or an "#include <>" string. */
17int asn1c_activate_dependency(asn1c_fdeps_t *deps, asn1c_fdeps_t *cur,
18 const char *data);
19
20asn1c_fdeps_t *asn1c_deps_makelist(asn1c_fdeps_t *deps);
21
22#endif /* _ASN1C_FDEPS_H_ */