mirror of
https://github.com/dimkouv/Linux-Keylogger.git
synced 2025-05-15 16:50:09 -07:00
20 lines
417 B
C
20 lines
417 B
C
#ifndef KEYLOGGER_H_INCLUDED
|
|
#define KEYLOGGER_H_INCLUDED
|
|
|
|
#include <linux/input.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <fcntl.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
|
|
|
|
int get_key_press(int fd, struct input_event ev);
|
|
int input_has_errors(int argc, char *argv[]);
|
|
int user_is_root();
|
|
char * get_key_description(int key_code);
|
|
void generate_mappings(char ** mappings);
|
|
|
|
#endif
|