Subversion Repositories freemyipod

Rev

Rev 845 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 845 Rev 892
Line 60... Line 60...
60
#include "../malloc.h"
60
#include "../malloc.h"
61
#include "../library.h"
61
#include "../library.h"
62
#include "../crc32.h"
62
#include "../crc32.h"
63
#include "../rtc.h"
63
#include "../rtc.h"
64
#include "../accel.h"
64
#include "../accel.h"
-
 
65
#include "../usb/usbglue.h"
65
#include "../libc/include/assert.h"
66
#include "../libc/include/assert.h"
66
#include "../libc/include/string.h"
67
#include "../libc/include/string.h"
67
#include "../libc/include/stdlib.h"
68
#include "../libc/include/stdlib.h"
68
#include "../libc/include/stdio.h"
69
#include "../libc/include/stdio.h"
69
#include "../libc/tlsf/tlsf.h"
70
#include "../libc/tlsf/tlsf.h"
Line 71... Line 72...
71
#ifdef ARM_ARCH
72
#ifdef ARM_ARCH
72
#include "../arm/arm-support.h"
73
#include "../arm/arm-support.h"
73
#endif
74
#endif
74
 
75
 
75
/* increase this every time the api struct changes */
76
/* increase this every time the api struct changes */
76
#define EMCORE_API_VERSION 7
77
#define EMCORE_API_VERSION 8
77
 
78
 
78
/* update this to latest version if a change to the api struct breaks
79
/* update this to latest version if a change to the api struct breaks
79
   backwards compatibility (and please take the opportunity to sort in any
80
   backwards compatibility (and please take the opportunity to sort in any
80
   new function which are "waiting" at the end of the function table) */
81
   new function which are "waiting" at the end of the function table) */
81
#define EMCORE_MIN_API_VERSION 7
82
#define EMCORE_MIN_API_VERSION 7
Line 288... Line 289...
288
    typeof(rtc_read_datetime) *rtc_read_datetime;
289
    typeof(rtc_read_datetime) *rtc_read_datetime;
289
    typeof(rtc_write_datetime) *rtc_write_datetime;
290
    typeof(rtc_write_datetime) *rtc_write_datetime;
290
    typeof(accel_read_force_vector) *accel_read_force_vector;
291
    typeof(accel_read_force_vector) *accel_read_force_vector;
291
    typeof(reown_file) *reown_file;
292
    typeof(reown_file) *reown_file;
292
    typeof(reown_dir) *reown_dir;
293
    typeof(reown_dir) *reown_dir;
-
 
294
    typeof(usbmanager_install_custom) *usbmanager_install_custom;
-
 
295
    typeof(usbmanager_uninstall_custom) *usbmanager_uninstall_custom;
-
 
296
    typeof(usbmanager_get_available_endpoints) *usbmanager_get_available_endpoints;
-
 
297
    typeof(usbmanager_get_connected) *usbmanager_get_connected;
-
 
298
    typeof(usb_ep0_start_rx) *usb_ep0_start_rx;
-
 
299
    typeof(usb_ep0_start_tx) *usb_ep0_start_tx;
-
 
300
    typeof(usb_start_rx) *usb_start_rx;
-
 
301
    typeof(usb_start_tx) *usb_start_tx;
-
 
302
    typeof(usb_set_stall) *usb_set_stall;
-
 
303
    typeof(usb_configure_ep) *usb_configure_ep;
-
 
304
    typeof(usb_unconfigure_ep) *usb_unconfigure_ep;
-
 
305
    typeof(usb_get_max_transfer_size) *usb_get_max_transfer_size;
-
 
306
    typeof(usb_ep0_tx_callback) *usb_ep0_tx_callback;
293
};
307
};
294
 
308
 
295
 
309
 
296
#endif
310
#endif