blob: 44ac438cfce9eed4c2608725121505bb87be4bc0 [file] [log] [blame]
#ifndef ASN1C_COMPAT_H
#define ASN1C_COMPAT_H
/*
* Open the arbitrary file by its base name and extension.
*/
FILE *asn1c_open_file(const char *base_part, const char *extension);
/*
* Obtain base name and directory name of a path.
* Some systems have them in <libgen.h> as dirname(3) and basename(3).
*/
char *a1c_basename(const char *path);
char *a1c_dirname(const char *path);
#endif /* ASN1C_COMPAT_H */