Commit 295df3f5 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by npzacs

file: Export some required functions

libbluray explicitely looks for aacs_register_file & aacs_set_fopen,
which need to be exported
parent 3a28f55a
......@@ -20,10 +20,10 @@
#ifndef FILE_H_
#define FILE_H_
#include "filesystem.h"
#include "util/attributes.h"
#include "filesystem.h"
#include <stdint.h>
#ifdef _WIN32
......
......@@ -43,7 +43,7 @@ typedef AACS_FILE_H* (*AACS_FILE_OPEN)(const char* filename, const char *mode);
* @param p function pointer
* @return previous function pointer registered
*/
AACS_FILE_OPEN aacs_register_file(AACS_FILE_OPEN p);
AACS_PUBLIC AACS_FILE_OPEN aacs_register_file(AACS_FILE_OPEN p);
/**
*
......@@ -66,7 +66,7 @@ typedef AACS_FILE_H* (*AACS_FILE_OPEN2)(void *handle, const char* filename);
* @param p function pointer
*/
struct aacs;
void aacs_set_fopen(struct aacs *aacs, void *handle, AACS_FILE_OPEN2 p);
AACS_PUBLIC void aacs_set_fopen(struct aacs *aacs, void *handle, AACS_FILE_OPEN2 p);
#endif /* AACS_FILESYSTEM_H_ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment