Added source and timestamp to the config_tree structure
bk: 4a86f4b1OnykzVV2ia22ITOg4HIFPg
/* Limits */
#define MAXLINE 1024
+/* Configuration sources */
+
+#define CONF_SOURCE_FILE 0
+#define CONF_SOURCE_NTPQ 1
+
/* Structure for storing an attribute-value pair */
struct attr_val {
struct config_tree {
struct config_tree *prior;
+ struct attr_val source;
+ time_t timestamp;
+
queue *peers;
queue *unpeers;
void config_remotely(void);
int dump_config_tree(struct config_tree *ptree, FILE *df);
+int dump_all_config_trees(FILE *df);
#endif