PatchworkOS
Loading...
Searching...
No Matches
key.h File Reference
#include <kernel/fs/file.h>
#include <kernel/utils/map.h>
#include <sys/io.h>
#include <sys/list.h>

Go to the source code of this file.

Data Structures

struct  key_entry_t
 Key entry. More...
 

Functions

void key_init (void)
 Initializes the key subsystem.
 
uint64_t key_share (key_t *key, file_t *file, clock_t timeout)
 Generates a key that can be used to retrieve the file within the specified timeout.
 
file_tkey_claim (key_t *key)
 Claims a shared file using the provided key.