]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/ctx.go
Multicast areas
[nncp.git] / src / ctx.go
index 88fd852ecb17f1d6fdec67f199c6674e790d34d5..63d1fc27353dac5682fee2ce24b0d0adde87fdf9 100644 (file)
@@ -36,6 +36,9 @@ type Ctx struct {
        Neigh  map[NodeId]*Node
        Alias  map[string]*NodeId
 
+       AreaId2Area map[AreaId]*Area
+       AreaName2Id map[string]*AreaId
+
        Spool      string
        LogPath    string
        UmaskForce *int
@@ -46,6 +49,9 @@ type Ctx struct {
        NotifyFile *FromToJSON
        NotifyFreq *FromToJSON
        NotifyExec map[string]*FromToJSON
+
+       MCDRxIfis []string
+       MCDTxIfis map[string]int
 }
 
 func (ctx *Ctx) FindNode(id string) (*Node, error) {