project for a (works on my devices) demo
This commit is contained in:
32
registries.h
Normal file
32
registries.h
Normal file
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
typedef enum {
|
||||
INSERT,
|
||||
REMOVE
|
||||
} update_request_type;
|
||||
|
||||
int is_listed_as_active( const char *path);
|
||||
|
||||
void add_to_active( const char *path);
|
||||
|
||||
void remove_from_active( const char *path);
|
||||
|
||||
int active_list_count();
|
||||
|
||||
int is_listed_for_removal( const char *path);
|
||||
|
||||
int is_listed_for_insertion( const char *path);
|
||||
|
||||
void add_to_update_list( const char *path, update_request_type type);
|
||||
|
||||
void remove_from_update_list( const char *path);
|
||||
|
||||
void update_list_drain_into_active();
|
||||
|
||||
int update_list_get_delta();
|
||||
|
||||
|
||||
/* debug only (could remove) */
|
||||
void print_active_list();
|
||||
|
||||
void print_update_list();
|
||||
Reference in New Issue
Block a user