nolo: Prepair new function names

This commit is contained in:
Pali Rohár committed 2012-08-10 17:19:44 +02:00
1 parent 19a8d76e0c
commit 24f34d2f55
2 files changed
+41 -2

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ static void query_error_message()
check_nolo_order_failed();
}*/
void nolo_flash_image(struct image * image)
void flash_image(struct image * image)
{
// FILE *fd;
int vlen = 0;
+40 -1
View File
@@ -21,8 +21,47 @@
#define NOLO_H
#include "image.h"
#include "usb-device.h"
void nolo_flash_image(struct image * image);
int nolo_init(struct usb_device_info * dev);
enum device nolo_get_device(struct usb_device_info * dev);
int nolo_load_image(struct usb_device_info * dev, struct image * image);
int nolo_flash_image(struct usb_device_info * dev, struct image * image);
int nolo_boot(struct usb_device_info * dev, const char * cmdline);
int nolo_boot_to_update_mode(struct usb_device_info * dev);
int nolo_reboot_device(struct usb_device_info * dev);
int nolo_get_root_device(struct usb_device_info * dev);
int nolo_set_root_device(struct usb_device_info * dev, int device);
int nolo_get_usb_host_mode(struct usb_device_info * dev);
int nolo_set_usb_host_mode(struct usb_device_info * dev, int enable);
int nolo_get_rd_mode(struct usb_device_info * dev);
int nolo_set_rd_mode(struct usb_device_info * dev, int enable);
int nolo_get_rd_flags(struct usb_device_info * dev, char * flags, size_t size);
int nolo_set_rd_flags(struct usb_device_info * dev, const char * flags);
int nolo_get_hwrev(struct usb_device_info * dev, char * hwrev, size_t size);
int nolo_set_hwrev(struct usb_device_info * dev, const char * hwrev);
int nolo_get_kernel_ver(struct usb_device_info * dev, char * ver, size_t size);
int nolo_set_kernel_ver(struct usb_device_info * dev, const char * ver);
int nolo_get_nolo_ver(struct usb_device_info * dev, char * ver, size_t size);
int nolo_set_nolo_ver(struct usb_device_info * dev, const char * ver);
int nolo_get_sw_ver(struct usb_device_info * dev, char * ver, size_t size);
int nolo_set_sw_ver(struct usb_device_info * dev, const char * ver);
int nolo_get_content_ver(struct usb_device_info * dev, char * ver, size_t size);
int nolo_set_content_ver(struct usb_device_info * dev, const char * ver);
void flash_image(struct image * image);
extern char strbuf[1024];