Commit graph

17 commits

Author SHA1 Message Date
Amin Ben Romdhane
3cb2e902ba rename 'libbbf_api' -> 'libbbfdm-api' & 'libbbf_dm' -> 'libbbfdm' 2023-04-17 23:33:55 +02:00
suvendhu
eb4e1c4cf7 T#8240: show DE Disassoc and Assoc event in reverse order 2022-06-22 11:00:43 +01:00
Amin Ben Ramdhane
080f7b4f85 Ticket refs #7333: fix warnings, code analysis and clean up the code
- Fix all errors catched by cppcheck threadsafety (cppcheck --error-exitcode=0 --addon=threadsafety bbf)
 - Fix some errors catched by cppcheck cert (cppcheck --error-exitcode=0 --addon=cert bbf)
 - Add new str-protected macros instead of using str functions directly to avoid crashes
2022-02-16 10:33:59 +00:00
Amin Ben Ramdhane
35633a3bc8 Ticket refs #6623: remove static code analysis warnings 2021-11-22 11:47:14 +01:00
Amin Ben Ramdhane
27cd8b3518 Add missing dependencies for objects and enhancement the code 2021-06-03 10:18:33 +01:00
Amin Ben Ramdhane
e9fb75eb97 bbf: implement unit and functional tests 2021-05-03 18:29:28 +01:00
Amin Ben Ramdhane
5e97bdb5e4 bbf: add support for vendor extension 2021-03-25 16:06:31 +01:00
Amin Ben Ramdhane
92d1f62cab bbf: cleanup
- fix flawfinder and cppcheck issues
 - remove all unused functions
2021-02-10 17:31:55 +01:00
Omar Kallel
3505476fa7 Fix warnings 2020-10-08 18:45:14 +01:00
Amin Ben Ramdhane
027d8fb599 bbf: save diagnostics data under '/etc/bbfdm/dmmap_diagnostics' instead of '/vat/state/cwmp' 2020-09-28 10:08:13 +01:00
Omar Kallel
c549dad741 add dmjson_get_string && fix segfault: add tests case ptr != NULL 2020-09-21 17:48:39 +01:00
Omar Kallel
856d4de5df enhance separation between libbbf_api and libbbfdm (functions: dm_update_file_enabled_notify, copy_temporary_file_to_original_file, del_list_fault_param, json functions) 2020-06-23 10:47:57 +01:00
Daniel Danzberger
4d67121a68 Revert "change strcat->strncat"
This reverts commit c0a476dec0.
2020-04-22 10:08:39 +02:00
Amin Ben Ramdhane
c0a476dec0 change strcat->strncat 2020-04-16 18:16:26 +01:00
Daniel Danzberger
cda2d2a61c tr181: wifi: fix invalid SSID stats
There is not always an "ifname" option in the wifi-iface section.
This commit uses ubus to resolve the right interface for the SSID.

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:53:48 +01:00
Amin Ben Ramdhane
ff14c27fc3 clean up the source code
- remove unused variables
- fix coding style of most function (Indentation, Tabulation, ..)
- check the source code using cppcheck tool
- change sprintf by snprintf
2020-02-12 19:08:49 +01:00
Amin Ben Ramdhane
4ab526b9f2 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
Renamed from dmjson.c (Browse further)