git subrepo pull --force deps/lightrec
[pcsx_rearmed.git] / deps / libchdr / include / libchdr / chd.h
index 61b149d..a37edc3 100644 (file)
@@ -392,6 +392,8 @@ CHD_EXPORT const char *chd_error_string(chd_error err);
 /* return a pointer to the extracted CHD header data */
 CHD_EXPORT const chd_header *chd_get_header(chd_file *chd);
 
+/* read CHD header data from file into the pointed struct */
+CHD_EXPORT chd_error chd_read_header(const char *filename, chd_header *header);