File: //usr/src/file_protector-1.1-1589/network/unix_socket_log.h
/**
@file unix_socket_log.h
@brief UNIX socket log capturing
@details Copyright (c) 2025 Acronis International GmbH
@author Denis Kopyrin (denis.kopyrin@acronis.com)
@since $Id: $
*/
#pragma once
#ifdef KERNEL_MOCK
#include "mock/mock_net.h"
#endif
#include <linux/net.h>
#include <linux/socket.h>
#include "task_info_map.h"
// Checks UNIX socket and handles sent message if needed
void unix_socket_log_sendmsg(task_info_t*, struct socket *sock, struct msghdr *msg, int size);