-
Notifications
You must be signed in to change notification settings - Fork 32
/
main.h
46 lines (33 loc) · 720 Bytes
/
main.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//
// main.h
// KnockKnock
//
// Created by Patrick Wardle on 11/12/18.
// Copyright © 2018 Objective-See. All rights reserved.
//
#ifndef main_h
#define main_h
#import "Consts.h"
#import "Filter.h"
#import "Utilities.h"
#import "VirusTotal.h"
#import "AppDelegate.h"
#import "ItemEnumerator.h"
#import <Cocoa/Cocoa.h>
/* GLOBALS */
//filter object
Filter* itemFilter = nil;
//shared item enumerator object
ItemEnumerator* sharedItemEnumerator = nil;
//cmdline scan
BOOL cmdlineMode = NO;
//cmdline flag
BOOL isVerbose = NO;
/* FUNCTIONS */
//print usage
void usage(void);
//perform a cmdline scan
void cmdlineScan(void);
//pretty print JSON
void prettyPrintJSON(NSString* output);
#endif /* main_h */