Commit 6e67db24 authored by gates's avatar gates

Only expose API from bluray.h to the public. The rest will be private.

parent d7eda89c
......@@ -57,8 +57,7 @@ libbluray_la_SOURCES=libbluray/bluray.h \
util/bits.h \
util/logging.h \
$(DLOPEN_SOURCES)
libbluray_la_HEADERS= libbluray/bluray.h libbluray/bdnav/navigation.h \
libbluray/bdnav/mpls_parse.h libbluray/bdnav/clpi_parse.h file/file.h
libbluray_la_HEADERS= libbluray/bluray.h
libbluray_la_LDFLAGS= -version-info $(LIB_VERSION_INFO) $(LIBBLURAY_LDFLAGS)
pkgconfigdir = $(libdir)/pkgconfig
......
......@@ -36,6 +36,7 @@
#include "util/strutl.h"
#include "file/dir.h"
#include "file/file.h"
#include "libbluray/bluray.h"
#include "mpls_parse.h"
#include "navigation.h"
......
......@@ -39,6 +39,7 @@
#include "util/strutl.h"
#include "bdnav/navigation.h"
#include "bdnav/index_parse.h"
#include "file/file.h"
#ifdef USING_DLOPEN
#include "file/dl.h"
#endif
......
......@@ -31,9 +31,19 @@
#ifndef BLURAY_H_
#define BLURAY_H_
#include "file.h"
#include "navigation.h"
#include <stdint.h>
/* Title flags */
#define TITLES_ALL 0
#define TITLES_FILTER_DUP_TITLE 0x01
#define TITLES_FILTER_DUP_CLIP 0x02
#define TITLES_RELEVANT (TITLES_FILTER_DUP_TITLE | TITLES_FILTER_DUP_CLIP)
/* Forward declaration of internal objects */
struct file;
struct nav_title_list_s;
struct nav_title_s;
struct nav_clip_s;
struct indx_root_s;
struct bd_registers_s;
......@@ -44,12 +54,12 @@ typedef void* (*fptr_p_void)();
typedef struct bluray BLURAY;
struct bluray {
char *device_path;
NAV_TITLE_LIST *title_list;
NAV_TITLE *title;
struct nav_title_list_s *title_list;
struct nav_title_s *title;
uint64_t s_size;
uint64_t s_pos;
NAV_CLIP *clip;
FILE_H *fp;
struct nav_clip_s *clip;
struct file *fp;
uint64_t clip_size;
uint64_t clip_block_pos;
uint64_t clip_pos;
......
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