diff options
Diffstat (limited to 'include/dlt')
-rw-r--r-- | include/dlt/dlt_client.h | 4 | ||||
-rw-r--r-- | include/dlt/dlt_common.h | 13 |
2 files changed, 14 insertions, 3 deletions
diff --git a/include/dlt/dlt_client.h b/include/dlt/dlt_client.h index e56c9ff..7ff55cf 100644 --- a/include/dlt/dlt_client.h +++ b/include/dlt/dlt_client.h @@ -296,9 +296,9 @@ int dlt_client_set_socket_path(DltClient *client, char *socket_path); * Parse GET_LOG_INFO response text * @param resp GET_LOG_INFO response * @param resp_text response text represented by ASCII - * @return 0 on success, -1 otherwise + * @return Value from DltReturnValue enum */ -int dlt_client_parse_get_log_info_resp_text(DltServiceGetLogInfoResponse *resp, +DltReturnValue dlt_client_parse_get_log_info_resp_text(DltServiceGetLogInfoResponse *resp, char *resp_text); /** diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h index d76d190..2824efd 100644 --- a/include/dlt/dlt_common.h +++ b/include/dlt/dlt_common.h @@ -210,7 +210,6 @@ enum { /** * Definitions for GET_LOG_INFO */ -#define DLT_RECEIVE_TEXTBUFSIZE 1024 /* Size of buffer for text output */ #define DLT_GET_LOG_INFO_HEADER 18 /*Get log info header size in response text */ #define GET_LOG_INFO_LENGTH 13 #define SERVICE_OPT_LENGTH 3 @@ -361,6 +360,16 @@ enum { #define DLT_IPC_PATH_MAX 100 /** + * Maximal receiver buffer size for application messages + */ +#define DLT_RECEIVE_BUFSIZE 65535 + +/** + * Maximal line length + */ +#define DLT_LINE_LEN 1024 + +/** * Provision to test static function */ #ifndef DLT_UNIT_TESTS @@ -1488,6 +1497,8 @@ extern "C" * * @param rp char * @param rp_count int + * @param wp char + * @param length int */ void dlt_getloginfo_conv_ascii_to_id(char *rp, int *rp_count, char *wp, int len); |