diff options
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/dlt_daemon_client.h | 2 | ||||
-rw-r--r-- | src/daemon/dlt_daemon_common.h | 4 | ||||
-rw-r--r-- | src/daemon/dlt_daemon_connection.c | 2 | ||||
-rw-r--r-- | src/daemon/dlt_daemon_event_handler.c | 12 | ||||
-rw-r--r-- | src/daemon/dlt_daemon_offline_logstorage.c | 13 | ||||
-rw-r--r-- | src/daemon/dlt_daemon_offline_logstorage.h | 13 | ||||
-rw-r--r-- | src/daemon/dlt_daemon_socket.h | 2 |
7 files changed, 28 insertions, 20 deletions
diff --git a/src/daemon/dlt_daemon_client.h b/src/daemon/dlt_daemon_client.h index 8406608..268371a 100644 --- a/src/daemon/dlt_daemon_client.h +++ b/src/daemon/dlt_daemon_client.h @@ -152,6 +152,8 @@ void dlt_daemon_control_get_default_log_level(int sock, DltDaemon *daemon, DltDa * @param sock connection handle used for sending response * @param daemon pointer to dlt daemon structure * @param daemon_local pointer to dlt daemon local structure + * @param overflow_counter Overflow counter + * @param apid Application ID * @param verbose if set to true verbose information is printed out. * @return -1 if there is an error or buffer overflow, else 0 */ diff --git a/src/daemon/dlt_daemon_common.h b/src/daemon/dlt_daemon_common.h index 507098a..a1e1d3e 100644 --- a/src/daemon/dlt_daemon_common.h +++ b/src/daemon/dlt_daemon_common.h @@ -240,7 +240,7 @@ DltDaemonRegisteredUsers *dlt_daemon_find_users_list(DltDaemon *daemon, /** * Loads the user saved configurations to daemon * @param daemon pointer to dlt daemon structure - * @param runtime directory path + * @param runtime_directory directory path * @param verbose if set to true verbose information is printed out * @return DLT_RETURN_OK on success, DLT_RETURN_ERROR otherwise */ @@ -488,7 +488,7 @@ void dlt_daemon_user_send_all_log_state(DltDaemon *daemon, int verbose); * @param filename1 name of file containing the runtime defaults for contexts * @param InitialContextLogLevel loglevel to be sent to context when those register with loglevel default, read from dlt.conf * @param InitialContextTraceStatus tracestatus to be sent to context when those register with tracestatus default, read from dlt.conf - * @param ForceLLTS force default log-level + * @param InitialEnforceLlTsStatus force default log-level * @param verbose if set to true verbose information is printed out. */ void dlt_daemon_control_reset_to_factory_default(DltDaemon *daemon, diff --git a/src/daemon/dlt_daemon_connection.c b/src/daemon/dlt_daemon_connection.c index 7973b9c..d936927 100644 --- a/src/daemon/dlt_daemon_connection.c +++ b/src/daemon/dlt_daemon_connection.c @@ -184,7 +184,7 @@ DLT_STATIC void dlt_connection_destroy_receiver(DltConnection *con) * Based on the connection type provided, this function returns the pointer * to the DltReceiver structure corresponding. * - * @param dameon_local Structure where to take the DltReceiver pointer from. + * @param daemon_local Structure where to take the DltReceiver pointer from. * @param type Type of the connection. * @param fd File descriptor * diff --git a/src/daemon/dlt_daemon_event_handler.c b/src/daemon/dlt_daemon_event_handler.c index b2af56b..d514c9d 100644 --- a/src/daemon/dlt_daemon_event_handler.c +++ b/src/daemon/dlt_daemon_event_handler.c @@ -59,7 +59,7 @@ * * That ensures that no event will be mis-watched. * - * @param pfd: The element to initialize + * @param pfd The element to initialize */ static void init_poll_fd(struct pollfd *pfd) { @@ -104,9 +104,9 @@ int dlt_daemon_prepare_event_handling(DltEventHandler *ev) * Adds a file descriptor to the descriptor list. If the list is to small, * increase its size. * - * @param ev: The event handler structure, containing the list - * @param fd: The file descriptor to add - * @param mask: The mask of event to be watched + * @param ev The event handler structure, containing the list + * @param fd The file descriptor to add + * @param mask The mask of event to be watched */ static void dlt_event_handler_enable_fd(DltEventHandler *ev, int fd, int mask) { @@ -138,8 +138,8 @@ static void dlt_event_handler_enable_fd(DltEventHandler *ev, int fd, int mask) * The file descriptor is removed from the descriptor list, the list is * compressed during the process. * - * @param ev: The event handler structure containing the list - * @param fd: The file descriptor to be removed + * @param ev The event handler structure containing the list + * @param fd The file descriptor to be removed */ static void dlt_event_handler_disable_fd(DltEventHandler *ev, int fd) { diff --git a/src/daemon/dlt_daemon_offline_logstorage.c b/src/daemon/dlt_daemon_offline_logstorage.c index 8a6dd75..7620ecd 100644 --- a/src/daemon/dlt_daemon_offline_logstorage.c +++ b/src/daemon/dlt_daemon_offline_logstorage.c @@ -38,7 +38,7 @@ * @param key Key * @param len Key length * @param ecuid ECU ID from key stored here - * @param apid Application ID as .* stored here + * @param appid Application ID as .* stored here * @param ctxid Context id as .* stored here * @return 0 on success -1 on error */ @@ -196,9 +196,11 @@ DLT_STATIC DltReturnValue dlt_logstorage_split_ecuid_apid(char *key, * Prepares keys with application ID alone, will use ecuid if provided * (ecuid:apid::) or (:apid::) * - * @param ecuid ECU ID - * @param apid Application ID * @param key Prepared key stored here + * @param len Key length + * @param ecuid ECU ID + * @param appid Application ID + * @param ctxid Context ID * @return None */ DLT_STATIC DltReturnValue dlt_logstorage_split_multi(char *key, @@ -251,6 +253,7 @@ DLT_STATIC DltReturnValue dlt_logstorage_split_multi(char *key, * @param key Given key of filter hash map * @param appid Application id * @param ctxid Context id + * @param ecuid ECU id * @return 0 on success, -1 on error */ DLT_STATIC DltReturnValue dlt_logstorage_split_key(char *key, char *appid, char *ctxid, char *ecuid) @@ -416,6 +419,7 @@ DLT_STATIC DltReturnValue dlt_daemon_logstorage_send_log_level(DltDaemon *daemon * * @param daemon DltDaemon structure * @param daemon_local DltDaemonLocal structure + * @param context DltDaemonContext structure * @param ecuid ECU ID * @param loglevel log level to be set to context * @param verbose If set to true verbose information is printed out @@ -466,6 +470,8 @@ DLT_STATIC DltReturnValue dlt_daemon_logstorage_reset_log_level(DltDaemon *daemo * * @param daemon DltDaemon structure * @param daemon_local DltDaemonLocal structure + * @param apid Application ID + * @param ctxid Context ID * @param ecuid ECU ID * @param loglevel log level to be set to context * @param verbose If set to true verbose information is printed out @@ -668,6 +674,7 @@ DltReturnValue dlt_logstorage_update_context(DltDaemon *daemon, * Update all contexts or particular context depending provided key * * @param daemon Pointer to DLT Daemon structure + * @param daemon_local Pointer to DLT Daemon Local structure * @param key Filter key stored in Hash Map * @param curr_log_level log level to be set to context * @param verbose If set to true verbose information is printed out diff --git a/src/daemon/dlt_daemon_offline_logstorage.h b/src/daemon/dlt_daemon_offline_logstorage.h index f9d587d..83d3470 100644 --- a/src/daemon/dlt_daemon_offline_logstorage.h +++ b/src/daemon/dlt_daemon_offline_logstorage.h @@ -121,13 +121,12 @@ void dlt_daemon_logstorage_update_application_loglevel(DltDaemon *daemon, * * @param daemon Pointer to Dlt Daemon structure * @param user_config DltDaemon configuration - * @param apid application id - * @param ctid context id - * @param log_level log level * @param data1 message header buffer * @param size1 message header buffer size - * @param data2 message data buffer - * @param size2 message data size + * @param data2 message extended data buffer + * @param size2 message extended data size + * @param data3 message data buffer + * @param size3 message data size */ void dlt_daemon_logstorage_write(DltDaemon *daemon, DltDaemonFlags *user_config, @@ -176,7 +175,7 @@ int dlt_daemon_logstorage_cleanup(DltDaemon *daemon, * * @param daemon Pointer to Dlt Daemon structure * @param daemon_local Pointer to Dlt Daemon Local structure - * @param mount_point Logstorage device mount point + * @param mnt_point Logstorage device mount point * @param verbose If set to true verbose information is printed out * @return 0 on success, -1 otherwise */ @@ -192,7 +191,7 @@ int dlt_daemon_logstorage_sync_cache(DltDaemon *daemon, * * @param daemon Pointer to Dlt Daemon structure * @param daemon_local Pointer to Dlt Daemon Local structure - * @param mount_point Logstorage device mount point + * @param mnt_point Logstorage device mount point * @param verbose If set to true verbose information is printed out * @return handle to Logstorage device on success, NULL otherwise */ diff --git a/src/daemon/dlt_daemon_socket.h b/src/daemon/dlt_daemon_socket.h index a9ac008..6a2f54e 100644 --- a/src/daemon/dlt_daemon_socket.h +++ b/src/daemon/dlt_daemon_socket.h @@ -72,7 +72,7 @@ int dlt_daemon_socket_send(int sock, void *data1, int size1, void *data2, int si /** * @brief dlt_daemon_socket_sendreliable - sends data to socket with additional checks and resending functionality - trying to be reliable * @param sock - * @param buffer + * @param data_buffer * @param message_size * @return on sucess: DLT_DAEMON_ERROR_OK, on error: DLT_DAEMON_ERROR_SEND_FAILED */ |