Skip to content

Commit

Permalink
Create Watcher.h
Browse files Browse the repository at this point in the history
A library for the watchful custodian to read from

Signed-off-by: Josef Edwards <joed6834@colorado.edu>
  • Loading branch information
bearycool11 authored Nov 25, 2024
1 parent 24428f2 commit e189185
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Watcher.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#ifndef WATCHER_H
#define WATCHER_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

// Constants
#define MAX_BLACKLIST 1024

// Function declarations
void watcher_init();
void monitor_logs();
void handle_failed_attempt(const char *ip);
void snoop_data_streams(const char *ip);
void record_user_input(const char *ip);
void add_to_blacklist(const char *ip);
int is_whitelisted(const char *ip);

#endif // WATCHER_H

0 comments on commit e189185

Please sign in to comment.