Finished the new dialogue functionality

This commit is contained in:
2025-05-04 17:09:28 +02:00
parent ecedbbb4ce
commit c4ae40c7bd
6 changed files with 65 additions and 20 deletions

View File

@@ -4,6 +4,7 @@
#include "access_t.h"
#include "process_info.h"
#include "set_mode_t.h"
/**
* Initializes the temporary permissions table.
@@ -35,8 +36,6 @@ void destroy_temp_permissions_table(void);
*/
access_t check_temp_access(const char *filename, struct process_info pi);
typedef enum { SET_DENY, SET_ALLOW } set_mode_t;
/**
* Sets temporary access mode of the process to the file.
*