blob: 44ac438cfce9eed4c2608725121505bb87be4bc0 [file] [log] [blame]
Lev Walkin79f54952004-08-13 16:58:19 +00001#ifndef ASN1C_COMPAT_H
2#define ASN1C_COMPAT_H
3
Lev Walkin4b102252004-08-19 13:29:18 +00004/*
5 * Open the arbitrary file by its base name and extension.
6 */
7FILE *asn1c_open_file(const char *base_part, const char *extension);
8
9/*
10 * Obtain base name and directory name of a path.
11 * Some systems have them in <libgen.h> as dirname(3) and basename(3).
12 */
Lev Walkin79f54952004-08-13 16:58:19 +000013char *a1c_basename(const char *path);
14char *a1c_dirname(const char *path);
15
16#endif /* ASN1C_COMPAT_H */