yaids

Logo
YAIDS

Macros | Functions | Variables

yaids.h File Reference

#include <stdbool.h>

Include dependency graph for yaids.h:

Macros

#define 

YAIDS_SUCCESS   0

 

#define 

YAIDS_ERROR   1

 

#define 

YAIDS_PENDING_CONFIG   2

 

#define 

YAIDS_MISSING_ARGUMENTS   2

 

#define 

YAIDS_INVALID_ARGUMENTS   3

 

#define 

YAIDS_INVALID_MODE   4

 

#define 

YAIDS_NO_ACTION   10

 

#define 

YAIDS_PERMISSION_DENIED   20

 

#define 

YAIDS_FILE_DOES_NOT_EXIST   21

 

#define 

YAIDS_THREAD_ERROR   30

 

#define 

YAIDS_PCAP_ERROR   40

 

#define 

YAIDS_PCAP_DEVICE_DOES_NOT_EXIST   41

 

#define 

YAIDS_PCAP_FILTER_ERROR   42

 

#define 

YAIDS_YARA_ERROR   50

 

#define 

YAIDS_YARA_MATCH   100

 

#define 

YAIDS_YARA_NOMATCH   101

 

#define 

YAIDS_COMPLETE   999

 

#define 

sec_str_cpy   strncpy

 

Functions

void 

yaids_signal (int signalValue)

 

bool 

verify_status (int statusCode)

 

int 

main (int argc, char **argv)

 

Variables

const char * 

PROGRAM_NAME

 

const char * 

COPYRIGHT

 

const char * 

PROGRAM_SUBLINE

 

const char * 

PROGRAM_DESCRIPTION

 

const char * 

PROGRAM_VERSION

 

bool 

global_yaidsRunning

 

Macro Definition Documentation

◆ sec_str_cpy

#define sec_str_cpy   strncpy

◆ YAIDS_COMPLETE

#define YAIDS_COMPLETE   999

◆ YAIDS_ERROR

#define YAIDS_ERROR   1

◆ YAIDS_FILE_DOES_NOT_EXIST

#define YAIDS_FILE_DOES_NOT_EXIST   21

◆ YAIDS_INVALID_ARGUMENTS

#define YAIDS_INVALID_ARGUMENTS   3

◆ YAIDS_INVALID_MODE

#define YAIDS_INVALID_MODE   4

◆ YAIDS_MISSING_ARGUMENTS

#define YAIDS_MISSING_ARGUMENTS   2

◆ YAIDS_NO_ACTION

#define YAIDS_NO_ACTION   10

◆ YAIDS_PCAP_DEVICE_DOES_NOT_EXIST

#define YAIDS_PCAP_DEVICE_DOES_NOT_EXIST   41

◆ YAIDS_PCAP_ERROR

#define YAIDS_PCAP_ERROR   40

◆ YAIDS_PCAP_FILTER_ERROR

#define YAIDS_PCAP_FILTER_ERROR   42

◆ YAIDS_PENDING_CONFIG

#define YAIDS_PENDING_CONFIG   2

◆ YAIDS_PERMISSION_DENIED

#define YAIDS_PERMISSION_DENIED   20

◆ YAIDS_SUCCESS

#define YAIDS_SUCCESS   0

◆ YAIDS_THREAD_ERROR

#define YAIDS_THREAD_ERROR   30

◆ YAIDS_YARA_ERROR

#define YAIDS_YARA_ERROR   50

◆ YAIDS_YARA_MATCH

#define YAIDS_YARA_MATCH   100

◆ YAIDS_YARA_NOMATCH

#define YAIDS_YARA_NOMATCH   101

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ verify_status()

bool verify_status ( int  statusCode )

◆ yaids_signal()

void yaids_signal ( int  signalValue )

Variable Documentation

const char* COPYRIGHT

◆ global_yaidsRunning

bool global_yaidsRunning

◆ PROGRAM_DESCRIPTION

const char* PROGRAM_DESCRIPTION

◆ PROGRAM_NAME

const char* PROGRAM_NAME

◆ PROGRAM_SUBLINE

const char* PROGRAM_SUBLINE

◆ PROGRAM_VERSION

const char* PROGRAM_VERSION

Source Code Documentation Generated By doxygen