diff options
author | Martin Mares <mj@ucw.cz> | 1999-12-06 13:44:45 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-12-06 13:44:45 +0000 |
commit | 7c0cc76ed76100ef8492f13eeec1e061d52b9be0 (patch) | |
tree | 76b6fd21c4cbf507f731012bef357135966b6e76 /conf/conf.h | |
parent | a9c986f98116fef5c35d956e7a867be0735f3268 (diff) |
Moved initialization of protocol list to proto.c.
Added sysdep configuration hooks.
Diffstat (limited to 'conf/conf.h')
-rw-r--r-- | conf/conf.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/conf.h b/conf/conf.h index 957ce443..b0a38118 100644 --- a/conf/conf.h +++ b/conf/conf.h @@ -18,6 +18,7 @@ struct config { linpool *mem; /* Linear pool containing configuration data */ list protos; /* Configured protocol instances (struct proto_config) */ list tables; /* Configured routing tables (struct rtable_config) */ + list logfiles; /* Configured log fils (sysdep) */ struct rtable_config *master_rtc; /* Configuration of master routing table */ u32 router_id; /* Our Router ID */ char *err_msg; /* Parser error message */ @@ -83,4 +84,9 @@ void cf_pop_scope(void); int cf_parse(void); +/* Sysdep hooks */ + +void sysdep_preconfig(struct config *); +void sysdep_commit(struct config *); + #endif |