diff options
Diffstat (limited to 'lib/info.cc')
-rw-r--r-- | lib/info.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/info.cc b/lib/info.cc index 701a705..a7b5f3e 100644 --- a/lib/info.cc +++ b/lib/info.cc @@ -66,3 +66,13 @@ void Info::log(char *fmt, ...) // End of safezone pthread_mutex_unlock(&mutex); } + + +// For the global info object +void MIaV::initInfo(Info* i) +{ + info = i; +} + +Info *MIaV::info = NULL; + |