|
SWILIB API (NSG)
|
Universal SWILIB for GCC & IAR
Optional swilib defines:
-DSWILIB_LIBC enbale builtin libc functions (from firmware)-DSWILIB_OPENSSL enbale builtin OpenSSL 0.9.5a functions (from firmware)-DSWILIB_LIBPNG enbale builtin libpng 1.2.5 functions (from firmware)-DSWILIB_ZLIB enbale builtin zlib 1.2.1 functions (from firmware)-DSWILIB_MODERN don't include any legacy-DSWILIB_LEGACY_COMPAT enable classic names of the ambiguous named functions (_open/sys_open vs fopen)For IAR: all of these defines enabled by default.
Data Structures | |
| struct | LLQ |
| Linked-List header. More... | |
| struct | LLIST |
| Linked-List item. More... | |
Macros | |
| #define | __IN_SWILIB__ |
| #define | __SWILIB__ |
| #define | __int16 short /* ??? */ |
Typedefs | |
| typedef void *(* | malloc_func_t) (size_t size) |
| malloc() | |
| typedef void(* | mfree_func_t) (void *ptr) |
| free() | |
| typedef struct LLQ | LLQ |
| typedef struct LLIST | LLIST |
Enumerations | |
| enum | DefaultLgpID { LGP_NULL = 0x7FFFFFFF , LGP_DOIT_PIC = 0x7FFFC0FB , LGP_PLAY_PIC = 0x7FFFC0FF , LGP_PAUSE_PIC = 0x7FFFC100 , LGP_STOP_PIC = 0x7FFFC101 , LGP_CHANGE_PIC = 0x7FFFC10D , LGP_MENU_PIC = 0x7FFFC10E , LGP_EDIT_PIC = 0x7FFFC10F , LGP_SAVE_PIC = 0x7FFFC113 } |
| Default LGP IDs. More... | |
| enum | LegacyStructOffsets { DISPLACE_OF_EDGUI = 0x88 , DISPLACE_OF_USSDREQGUI_ID = 0x44 , DISPLACE_OF_EDGUI_ID = 0x4C , DISPLACE_OF_IDLEGUI_ID = 0x2C , DISPLACE_OF_IDLECANVAS = 0x18 , DISPLACE_OF_INCOMMINGGUI = 0x34 , DISPLACE_OF_OUTGOINGGUI = 0x30 } |
| Legacy struct fields offsets. More... | |
| struct LLQ |
| struct LLIST |
| enum DefaultLgpID |
| enum LegacyStructOffsets |