De-MDBify the alarm agent (not that there was much there to begin with).

This commit is contained in:
halex
2007-06-03 10:45:13 +00:00
parent 75cd51ea2f
commit 8f666506ff
2 changed files with 5 additions and 3 deletions
+5 -2
View File
@@ -26,7 +26,6 @@
#include <logger.h>
#include <bongoutil.h>
#include <bongoagent.h>
#include <mdb.h>
#include <nmap.h>
#include <nmlib.h>
#include <msgapi.h>
@@ -241,7 +240,7 @@ SendAlarmEmail(QueueClient *qclient, AlarmInfo *alarm)
static void
AlarmLoop(void *ignored)
{
MDBValueStruct *vs;
//MDBValueStruct *vs;
int i;
uint64_t start;
uint64_t end;
@@ -357,6 +356,7 @@ AlarmLoop(void *ignored)
static BOOL
ReadConfiguration(void)
{
#if 0
MDBValueStruct *config;
config = MDBCreateValueStruct(Alarm.agent.directoryHandle,
@@ -368,7 +368,10 @@ ReadConfiguration(void)
}
MDBDestroyValueStruct(config);
#endif
// Since this agent doesn't read any config for the moment,
// just return true (we don't need/want to depend on MDB).
return TRUE;
}
-1
View File
@@ -23,7 +23,6 @@
#define _ALARM_H
#include <connio.h>
#include <mdb.h>
#include <management.h>
#include <msgapi.h>
#include <nmap.h>