aacs-version.h   aacs-version.h 
skipping to change at line 29 skipping to change at line 29
#ifndef AACS_VERSION_H_ #ifndef AACS_VERSION_H_
#define AACS_VERSION_H_ #define AACS_VERSION_H_
#define AACS_VERSION_CODE(major, minor, micro) \ #define AACS_VERSION_CODE(major, minor, micro) \
(((major) * 10000) + \ (((major) * 10000) + \
((minor) * 100) + \ ((minor) * 100) + \
((micro) * 1)) ((micro) * 1))
#define AACS_VERSION_MAJOR 0 #define AACS_VERSION_MAJOR 0
#define AACS_VERSION_MINOR 7 #define AACS_VERSION_MINOR 8
#define AACS_VERSION_MICRO 1 #define AACS_VERSION_MICRO 0
#define AACS_VERSION_STRING "0.7.1" #define AACS_VERSION_STRING "0.8.0"
#define AACS_VERSION \ #define AACS_VERSION \
AACS_VERSION_CODE(AACS_VERSION_MAJOR, AACS_VERSION_MINOR, AACS_VERSION_ MICRO) AACS_VERSION_CODE(AACS_VERSION_MAJOR, AACS_VERSION_MINOR, AACS_VERSION_ MICRO)
#endif /* AACS_VERSION_H_ */ #endif /* AACS_VERSION_H_ */
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added


 aacs.h   aacs.h 
skipping to change at line 45 skipping to change at line 45
#define AACS_ERROR_NO_CERT -4 /* no valid certificate */ #define AACS_ERROR_NO_CERT -4 /* no valid certificate */
#define AACS_ERROR_CERT_REVOKED -5 /* certificate has been revoked */ #define AACS_ERROR_CERT_REVOKED -5 /* certificate has been revoked */
#define AACS_ERROR_MMC_OPEN -6 /* MMC open failed (no MMC drive ?) */ #define AACS_ERROR_MMC_OPEN -6 /* MMC open failed (no MMC drive ?) */
#define AACS_ERROR_MMC_FAILURE -7 /* MMC failed */ #define AACS_ERROR_MMC_FAILURE -7 /* MMC failed */
#define AACS_ERROR_NO_DK -8 /* no matching device key */ #define AACS_ERROR_NO_DK -8 /* no matching device key */
typedef struct aacs AACS; typedef struct aacs AACS;
AACS_PUBLIC void aacs_get_version(int *major, int *minor, int *micro); AACS_PUBLIC void aacs_get_version(int *major, int *minor, int *micro);
AACS_PUBLIC AACS *aacs_init (void);
AACS_PUBLIC int aacs_open_device(AACS *, const char *path, const char *ke
yfile_path);
AACS_PUBLIC AACS *aacs_open(const char *path, const char *keyfile_path); AACS_PUBLIC AACS *aacs_open(const char *path, const char *keyfile_path);
AACS_PUBLIC AACS *aacs_open2(const char *path, const char *keyfile_path, in t *error_code); AACS_PUBLIC AACS *aacs_open2(const char *path, const char *keyfile_path, in t *error_code);
AACS_PUBLIC void aacs_close(AACS *aacs); AACS_PUBLIC void aacs_close(AACS *aacs);
AACS_PUBLIC void aacs_select_title(AACS *aacs, uint32_t title); /* 0 - top menu, 0xffff - first play */ AACS_PUBLIC void aacs_select_title(AACS *aacs, uint32_t title); /* 0 - top menu, 0xffff - first play */
AACS_PUBLIC int aacs_decrypt_unit(AACS *aacs, uint8_t *buf); AACS_PUBLIC int aacs_decrypt_unit(AACS *aacs, uint8_t *buf);
/* Disc information */ /* Disc information */
AACS_PUBLIC int aacs_get_mkb_version(AACS *aacs); AACS_PUBLIC int aacs_get_mkb_version(AACS *aacs);
AACS_PUBLIC const uint8_t *aacs_get_disc_id(AACS *aacs); AACS_PUBLIC const uint8_t *aacs_get_disc_id(AACS *aacs);
AACS_PUBLIC const uint8_t *aacs_get_vid(AACS *aacs); /* may fail even if d isc can be decrypted */ AACS_PUBLIC const uint8_t *aacs_get_vid(AACS *aacs); /* may fail even if d isc can be decrypted */
AACS_PUBLIC const uint8_t *aacs_get_pmsn(AACS *aacs); /* may fail even if d isc can be decrypted */ AACS_PUBLIC const uint8_t *aacs_get_pmsn(AACS *aacs); /* may fail even if d isc can be decrypted */
AACS_PUBLIC const uint8_t *aacs_get_mk(AACS *aacs); /* may fail even if d isc can be decrypted */ AACS_PUBLIC const uint8_t *aacs_get_mk(AACS *aacs); /* may fail even if d isc can be decrypted */
 End of changes. 2 change blocks. 
0 lines changed or deleted 5 lines changed or added


 filesystem.h   filesystem.h 
skipping to change at line 48 skipping to change at line 48
/** /**
* *
* Register function pointer that will be used to open a file * Register function pointer that will be used to open a file
* *
* @param p function pointer * @param p function pointer
* @return previous function pointer registered * @return previous function pointer registered
*/ */
AACS_FILE_OPEN aacs_register_file(AACS_FILE_OPEN p); AACS_FILE_OPEN aacs_register_file(AACS_FILE_OPEN p);
/**
*
* Function that will be used to open a file
*
* NOTE: file name is relative to disc root directory !
*
* @param handle application-specific handle
* @param filename file to open
* @return pointer to AACS_FILE_H, NULL if error
*/
typedef AACS_FILE_H* (*AACS_FILE_OPEN2)(void *handle, const char* filename)
;
/**
*
* Register function pointer that will be used to open a file
*
* @param aacs aacs instance
* @param handle handle that will be passed to file open function
* @param p function pointer
*/
struct aacs;
void aacs_set_fopen(struct aacs *aacs, void *handle, AACS_FILE_OPEN2 p);
#endif /* AACS_FILESYSTEM_H_ */ #endif /* AACS_FILESYSTEM_H_ */
 End of changes. 1 change blocks. 
0 lines changed or deleted 24 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/