57 #define pr_fmt(fmt) "Log storage list: "fmt 92 pr_verbose(
" -------Device list end-------\n\n");
147 if ((node ==
NULL) || (path ==
NULL))
char * logstorage_delete_dev_info(const char *node)
Remove a device from the list.
struct LogstorageDeviceInfo * next
struct LogstorageDeviceInfo * prev
void print_list()
Prints the device list in verbose mode.
#define DLT_MOUNT_PATH_MAX
static struct LogstorageDeviceInfo * g_info
int logstorage_store_dev_info(const char *node, const char *path)
Add new device in the list.
#define pr_error(fmt,...)
#define pr_verbose(fmt,...)
static struct LogstorageDeviceInfo * logstorage_find_dev_info(const char *node)
Find element in the list based on device node.