]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cypherpunks.ru/nncp/node.go
-maxonlinetime option
[nncp.git] / src / cypherpunks.ru / nncp / node.go
index 1e1b5bab3b3e96da17bd4aad8784f188707b348e..7992f4bc8f1ce19d4c6a2b3e7d13f7cd937f1b78 100644 (file)
@@ -47,7 +47,8 @@ type Node struct {
        Freq           *string
        Via            []*NodeId
        Addrs          map[string]string
-       OnlineDeadline int
+       OnlineDeadline uint
+       MaxOnlineTime  uint
        Calls          []*Call
 
        Busy bool
@@ -69,7 +70,8 @@ type Call struct {
        Nice           uint8
        Xx             *TRxTx
        Addr           *string
-       OnlineDeadline int
+       OnlineDeadline uint
+       MaxOnlineTime  uint
 }
 
 func NewNodeGenerate() (*NodeOur, error) {