bbfdm/libbbf_api
Daniel Danzberger 345c466875 tr181: USB: Fixes and cleanups
- avoid uneccessary memory allocations
- move {read,write}FileContent functions to usb source file where they are used exclusively and make them static
- fix bad logic in readFileContent
- move redundant code to static functions
- fix get_USBUSBHostsHostDevice_MaxChildren never returning any value
- fix no interface instances being created
- make some functions that are not exported static
- fix segfault on get_USBInterface_Enable when the interface is down
- fix segfault on get_USBInterface_Status when the interface is down.
- fix segfault on missing format character in get_USBInterface_LowerLayers.
- fix segfault and double frees on recrusive browseUSBUSBHostsHostInst() calls.
- reduce overall memory usage
- use const on read-only values
- fix invalid comparision on strstr return value

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:28 +01:00
..
dmbbf.c Fix memory issues on 64bit systems 2020-02-19 11:51:27 +01:00
dmbbf.h clean up the source code 2020-02-12 19:08:49 +01:00
dmcommon.c tr181: USB: Fixes and cleanups 2020-02-19 11:51:28 +01:00
dmcommon.h tr181: USB: Fixes and cleanups 2020-02-19 11:51:28 +01:00
dmjson.c clean up the source code 2020-02-12 19:08:49 +01:00
dmjson.h clean up the source code 2020-02-12 19:08:49 +01:00
dmmem.c clean up the source code 2020-02-12 19:08:49 +01:00
dmmem.h clean up the source code 2020-02-12 19:08:49 +01:00
dmubus.c clean up the source code 2020-02-12 19:08:49 +01:00
dmubus.h Ticket refs#1598: libbbfdm: plug-in based with support for dynamic loading of libraries + separate libbbfdm into two libraries: libbbf_api (API) and libbbfdm (data model) 2020-01-21 22:43:37 +01:00
dmuci.c dmuci: fix returning of invalid pointers 2020-02-19 11:51:28 +01:00
dmuci.h dmuci: fix returning of invalid pointers 2020-02-19 11:51:28 +01:00