Added routing table

This commit is contained in:
Michiel Broek
2002-07-16 21:05:00 +00:00
parent 54f228d5b6
commit bad388e2ae
8 changed files with 226 additions and 33 deletions

View File

@@ -118,7 +118,7 @@ struct _newfiles newfiles;
struct _scanmgrhdr scanmgrhdr; /* Filefind areas */
struct _scanmgr scanmgr;
struct _routehdr routerhdr; /* Routing file */
struct _routehdr routehdr; /* Routing file */
struct _route route;
#endif

View File

@@ -56,7 +56,7 @@ typedef enum {E_NOISP, E_TMPISP, E_PRMISP} EMODE;
typedef enum {AREAMGR, FILEMGR, EMAIL} SERVICE;
typedef enum {FEEDINN, FEEDRNEWS, FEEDUUCP} NEWSFEED;
typedef enum {S_DIRECT, S_DIR, S_FTP} SESSIONTYPE;
typedef enum {R_ROUTE, R_NEWDEST, R_BOUNCE, R_CC} ROUTER;
typedef enum {RT_ROUTE, RT_DIRECT, RT_DEFAULT, RT_REDIRECT, RT_BOUNCE, RT_CC} ROUTER;
/***********************************************************************
@@ -1585,6 +1585,8 @@ struct _route {
int routetype; /* What to do with it */
fidoaddr dest; /* Destination address */
char dname[37]; /* Destination name */
unsigned Active : 1; /* Is record active */
unsigned Deleted : 1; /* Is record deleted */
};