Commit 1ed5b372 authored by cRTrn13's avatar cRTrn13
Browse files

libbluray api start

parent 1914e3a3
#include "bluray.h"
#include "libaacs/aacs.h"
#ifndef BLURAY_H_
#define BLURAY_H_
#include <stdint.h>
#include <unistd.h>
#include "file/file.h"
typedef struct bluray BLURAY;
struct bluray {
char device_path[100];
uint64_t title;
FILE_H *fp;
off_t s_size, s_pos;
BLURAY *bd_open(BLURAY *bd);
void bd_select_title(BLURAY *bd, uint64_t title);
void bd_close(BLURAY *bd);
off_t bd_seek(BLURAY *bd, off_t pos);
int bd_read(BLURAY *bd, unsigned char *buf, int len);
#endif /* BLURAY_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