repo.or.cz
/
shallot
/
rransom.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove the -v option.
[shallot/rransom.git]
/
src
/
globals.h
blob
083421f02ab66e1c4bb96e720f2e96a93151342e
1
#ifndef GLOBALS_H
2
#define GLOBALS_H
3
4
#include
"config.h"
5
6
#include <regex.h>
7
#include <stdint.h>
8
#include <pthread.h>
9
10
// global variables (saves us the trouble of passing pointers around)
11
// TODO: stop being lazy and pass this stuff where it's needed
12
// TODO: also put settings in a struct
13
uint64_t
loop
,
elim
;
14
uint8_t
found
,
monitor
;
15
pthread_t lucky_thread
;
16
regex_t
*
regex
;
17
18
#endif