diff options
author | Biastoch, Darian (ADITG/ESM) <dbiastoch@de.adit-jv.com> | 2021-04-08 06:36:18 +0000 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2021-06-30 10:54:59 +0900 |
commit | 57d981f9d765286a85e682f7bee0769d7349e7aa (patch) | |
tree | 3fbfef66707cff032da293b1e7ef249131845032 /include | |
parent | 72dc5bb1fa7bd0823ef17269ab6e5c7dd76f90fd (diff) | |
download | DLT-daemon-57d981f9d765286a85e682f7bee0769d7349e7aa.tar.gz |
Alternative solutions for json-c dependency
json-c dependency was removed from libdlt ('dlt_common') and shifted into 'dlt-control-common'. By this only the command line tools have a dependency on json-c.
dlt-control-common is now built as a static library, so that it can be linked against json-c. Command line tools that included only the .c file of dlt-control-common before, are now linked against this static libarary (see console/CMakeLists.txt).
Signed-off-by: dbiastoch <dbiastoch@de.adit-jv.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/dlt/dlt_common.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h index f2ffe50..fc5c18a 100644 --- a/include/dlt/dlt_common.h +++ b/include/dlt/dlt_common.h @@ -931,14 +931,6 @@ DltReturnValue dlt_filter_free(DltFilter *filter, int verbose); */ DltReturnValue dlt_filter_load(DltFilter *filter, const char *filename, int verbose); /** - * Load json filter from file. - * @param filter pointer to structure of organising DLT filter - * @param filename filename to load filters from - * @param verbose if set to true verbose information is printed out. - * @return negative value if there was an error - */ -DltReturnValue dlt_json_filter_load(DltFilter *filter, const char *filename, int verbose); -/** * Save filter in space separated list to text file. * @param filter pointer to structure of organising DLT filter * @param filename filename to safe filters into @@ -947,14 +939,6 @@ DltReturnValue dlt_json_filter_load(DltFilter *filter, const char *filename, int */ DltReturnValue dlt_filter_save(DltFilter *filter, const char *filename, int verbose); /** - * Save filter in json format to file. - * @param filter pointer to structure of organising DLT filter - * @param filename filename to safe filters into - * @param verbose if set to true verbose information is printed out. - * @return negative value if there was an error - */ -DltReturnValue dlt_json_filter_save(DltFilter *filter, const char *filename, int verbose); -/** * Find index of filter in filter list * @param filter pointer to structure of organising DLT filter * @param apid application id to be found in filter list |