|
uuu
uuu (Universal Update Utility), mfgtools 3.0
|
#include <stdint.h>#include <stddef.h>Go to the source code of this file.
Classes | |
| struct | uuu_notify |
Macros | |
| #define | DLLEXPORT |
| #define | DLLIMPORT |
| #define | EXT DLLEXPORT |
| #define | MAX_USER_LEN 128 |
Typedefs | |
| typedef int(*) | uuu_notify_fun(struct uuu_notify, void *data) |
| typedef int(*) | uuu_show_cfg(const char *pro, const char *chip, const char *comp, uint16_t vid, uint16_t pid, uint16_t bcdlow, uint16_t bcdhigh, void *p) |
| typedef int(*) | uuu_ls_file(const char *path, void *p) |
| typedef int(*) | uuu_ls_usb_devices(const char *path, const char *chip, const char *pro, uint16_t vid, uint16_t pid, uint16_t bcd, const char *serial_no, void *p) |
| typedef int(*) | uuu_askpasswd(char *prompt, char user[MAX_USER_LEN], char passwd[MAX_USER_LEN]) |
Enumerations | |
| enum | LIBUUU_DEBUG_LEVEL { LIBUUU_NORMAL = 0 , LIBUUU_DETAIL = 0x8 << 16 } |
| enum class | bmap_mode { Default , Force , Ignore } |
| #define DLLEXPORT |
| #define DLLIMPORT |
| #define EXT DLLEXPORT |
| #define MAX_USER_LEN 128 |
| typedef int(*) uuu_askpasswd(char *prompt, char user[MAX_USER_LEN], char passwd[MAX_USER_LEN]) |
| typedef int(*) uuu_ls_file(const char *path, void *p) |
| typedef int(*) uuu_ls_usb_devices(const char *path, const char *chip, const char *pro, uint16_t vid, uint16_t pid, uint16_t bcd, const char *serial_no, void *p) |
| typedef int(*) uuu_notify_fun(struct uuu_notify, void *data) |
| typedef int(*) uuu_show_cfg(const char *pro, const char *chip, const char *comp, uint16_t vid, uint16_t pid, uint16_t bcdlow, uint16_t bcdhigh, void *p) |
|
strong |
| enum LIBUUU_DEBUG_LEVEL |
| EXT int uuu_add_usbpath_filter | ( | const char * | path | ) |
| EXT int uuu_add_usbserial_no_filter | ( | const char * | serial_no | ) |
| EXT int uuu_auto_detect_file | ( | const char * | filename | ) |
| EXT int uuu_for_each_cfg | ( | uuu_show_cfg | fn, |
| void * | p ) |
| EXT int uuu_for_each_devices | ( | uuu_ls_usb_devices | fn, |
| void * | p ) |
| EXT int uuu_for_each_ls_file | ( | uuu_ls_file | fn, |
| const char * | path, | ||
| void * | p ) |
| EXT int uuu_get_last_err | ( | ) |
Get Last error code
| EXT const char * uuu_get_last_err_string | ( | ) |
Get Last error string
| EXT int uuu_get_version | ( | ) |
1.0.1 bit[31:24].bit[23:12].bit[11:0]
| EXT const char * uuu_get_version_string | ( | ) |
| EXT int uuu_register_notify_callback | ( | uuu_notify_fun | f, |
| void * | data ) |
| EXT int uuu_run_cmd | ( | const char * | cmd, |
| int | dry ) |
| EXT int uuu_run_cmd_script | ( | const char * | script, |
| int | dry ) |
| EXT int uuu_set_askpasswd | ( | uuu_askpasswd | ask | ) |
| EXT void uuu_set_debug_level | ( | uint32_t | mask | ) |
| EXT void uuu_set_force_hid_use_ctrl_ep | ( | bool | force | ) |
| EXT void uuu_set_poll_period | ( | int | period_in_milliseconds | ) |
| EXT void uuu_set_small_mem | ( | uint32_t | val | ) |
| EXT int uuu_set_wait_next_timeout | ( | int | timeout_in_seconds | ) |
| EXT int uuu_set_wait_timeout | ( | int | timeout_in_seconds | ) |
| EXT int uuu_unregister_notify_callback | ( | uuu_notify_fun | f | ) |
| EXT int uuu_wait_uuu_finish | ( | int | deamon, |
| int | dry ) |