X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fctx.go;h=63d1fc27353dac5682fee2ce24b0d0adde87fdf9;hb=ab7c7eca0e53661f0ba904c2a6ba752990bea367;hp=88fd852ecb17f1d6fdec67f199c6674e790d34d5;hpb=5a9bf58a2638e42f2d42fa4d43c363a664fe8198;p=nncp.git diff --git a/src/ctx.go b/src/ctx.go index 88fd852..63d1fc2 100644 --- a/src/ctx.go +++ b/src/ctx.go @@ -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) {