Configured Variable Validation and LSDB Refreshing
diff --git a/nlsr.h b/nlsr.h
index 1bfc5b6..95087d3 100644
--- a/nlsr.h
+++ b/nlsr.h
@@ -5,6 +5,8 @@
#define LSDB_SYNCH_INTERVAL 300
#define INTEREST_RETRY 3
#define INTEREST_RESEND_TIME 15
+#define NLSR_LOCKED 1
+#define NLSR_UNLOCKED 0
struct name_prefix
{
@@ -79,6 +81,9 @@
void process_conf_command(char *command);
int readConfigFile(const char *filename);
+void nlsr_lock(void);
+void nlsr_unlock(void);
+
int init_nlsr(void);
void nlsr_destroy( void );
void nlsr_stop_signal_handler(int sig);