/
usr
/
src
/
file_protector-1.1-1506
/
transport
/
File Upload :
llllll
Current File: //usr/src/file_protector-1.1-1506/transport/fs_event.h
/** @file @brief File system events messages @details Copyright (c) 2017-2021 Acronis International GmbH @author Mikhail Krivtsov (mikhail.krivtsov@acronis.com) @since $Id: $ */ #pragma once #include <linux/fs.h> // struct file #include <linux/path.h> // struct path #include <linux/types.h> // [u]int(8|16|32|64)_t, pid_t long fs_event_pre_create(const char *pwd, const char *pathname, struct path *path); void fs_event_create(long ret_val, const char *pwd, const char *pathname); long fs_event_pre_open(const char *pwd, const char *filename, unsigned int flags, struct path *path); void fs_event_open(long ret_val, const char *pwd, const char *filename, unsigned int flags); void fs_event_pre_close(const char *pwd, const char *filename, unsigned int flags, struct path *path); long fs_event_pre_write(const char *filename, unsigned int f_flags, loff_t offset, size_t count, struct path *path); void fs_event_write(long ret_val, const char *filename, unsigned int f_flags, loff_t offset, size_t count); long fs_event_pre_rename(const char* pwd_oldname, const char* oldname, const char* pwd_newname, const char* newname, unsigned int flags, struct path *path); void fs_event_rename(long ret_val, const char* pwd_oldname, const char* oldname, const char* pwd_newname, const char* newname, unsigned int flags); long fs_event_pre_unlink(const char *pwd, const char* pathname, int flag, struct path *path); void fs_event_unlink(long ret_val, const char *pwd, const char* pathname, int flag);
Copyright ©2k19 -
Hexid
|
Tex7ure