diff navigation.c @ 195:6b1bfe8f5283 src

Start some cleanups.
author jcdutton
date Sun, 11 May 2003 01:13:40 +0000
parents b80dff4bef76
children 2d79ef3f3956
line wrap: on
line diff
--- a/navigation.c	Sun May 11 00:53:28 2003 +0000
+++ b/navigation.c	Sun May 11 01:13:40 2003 +0000
@@ -55,7 +55,7 @@
   return DVDNAV_STATUS_OK;
 }
 
-dvdnav_status_t dvdnav_get_number_of_titles(dvdnav_t *this, int *titles) {
+dvdnav_status_t dvdnav_get_number_of_titles(dvdnav_t *this, int32_t *titles) {
   if(!this || !titles) {
     printerr("Passed a NULL pointer.");
     return DVDNAV_STATUS_ERR;
@@ -72,7 +72,7 @@
   return DVDNAV_STATUS_OK;
 }
 
-dvdnav_status_t dvdnav_get_number_of_parts(dvdnav_t *this, int title, int *parts) {
+dvdnav_status_t dvdnav_get_number_of_parts(dvdnav_t *this, int32_t title, int32_t *parts) {
   if(!this || !parts) {
     printerr("Passed a NULL pointer.");
     return DVDNAV_STATUS_ERR;
@@ -91,8 +91,8 @@
   return DVDNAV_STATUS_OK;
 }
 
-dvdnav_status_t dvdnav_current_title_info(dvdnav_t *this, int *title, int *part) {
-  int retval;
+dvdnav_status_t dvdnav_current_title_info(dvdnav_t *this, int32_t *title, int32_t *part) {
+  int32_t retval;
   
   if(!this || !title || !part) {
     printerr("Passed a NULL pointer.");
@@ -130,7 +130,7 @@
   return DVDNAV_STATUS_ERR;
 }
 
-dvdnav_status_t dvdnav_title_play(dvdnav_t *this, int title) {
+dvdnav_status_t dvdnav_title_play(dvdnav_t *this, int32_t title) {
   if(!this) {
     printerr("Passed a NULL pointer.");
     return DVDNAV_STATUS_ERR;
@@ -138,8 +138,8 @@
   return dvdnav_part_play(this, title, 1);
 }
 
-dvdnav_status_t dvdnav_part_play(dvdnav_t *this, int title, int part) {
-  int retval;
+dvdnav_status_t dvdnav_part_play(dvdnav_t *this, int32_t title, int32_t part) {
+  int32_t retval;
 
   if(!this) {
     printerr("Passed a NULL pointer.");
@@ -176,16 +176,16 @@
   return retval ? DVDNAV_STATUS_OK : DVDNAV_STATUS_ERR;
 }
 
-dvdnav_status_t dvdnav_part_play_auto_stop(dvdnav_t *this, int title,
-					   int part, int parts_to_play) {
+dvdnav_status_t dvdnav_part_play_auto_stop(dvdnav_t *this, int32_t title,
+					   int32_t part, int32_t parts_to_play) {
   /* FIXME: Implement auto-stop */
  if (dvdnav_part_play(this, title, part) == DVDNAV_STATUS_OK)
    printerr("Not implemented yet.");
  return DVDNAV_STATUS_ERR;
 }
 
-dvdnav_status_t dvdnav_time_play(dvdnav_t *this, int title,
-				 unsigned long int time) {
+dvdnav_status_t dvdnav_time_play(dvdnav_t *this, int32_t title,
+				 uint64_t time) {
   if(!this) {
     printerr("Passed a NULL pointer.");
     return DVDNAV_STATUS_ERR;