summaryrefslogtreecommitdiffstats
path: root/PICA_nodeaddrlist.h
diff options
context:
space:
mode:
authorAnton <anton@picapica.im>2026-11-25 10:50:00 +0400
committerAnton <anton@picapica.im>2026-11-25 10:50:00 +0400
commit0f5ba1062894ad2cd19f79b4f8434ffbb78b9e32 (patch)
tree9a1da1a0f49dc9d9fc9545cc451d2e49a8f126a5 /PICA_nodeaddrlist.h
parent4b1372eae2dba25f92de84a497983961d1d46b70 (diff)
downloadpica-pica-0f5ba1062894ad2cd19f79b4f8434ffbb78b9e32.tar.gz
pica-pica-0f5ba1062894ad2cd19f79b4f8434ffbb78b9e32.zip
use English everywhere in the comments
Diffstat (limited to 'PICA_nodeaddrlist.h')
-rw-r--r--PICA_nodeaddrlist.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/PICA_nodeaddrlist.h b/PICA_nodeaddrlist.h
index a674ca2..4933eca 100644
--- a/PICA_nodeaddrlist.h
+++ b/PICA_nodeaddrlist.h
@@ -14,7 +14,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-// Описание структур и функций для работы со списком адресов узлов
+// Structures and functions for working with the node address list
//
#ifndef PICA_NODEADDRLIST_H
#define PICA_NODEADDRLIST_H
@@ -57,10 +57,10 @@ struct PICA_nodeaddr_dns
struct PICA_nodeaddr
{
- char addr[256];//макс. длина DNS имени 255 символов
- int inactive_count;//кол-во зафиксированных подряд случаев недоступности узла
+ char addr[256];//max. DNS name length is 255 characters
+ int inactive_count;//number of consecutive times the node was found unreachable
time_t last_active;//
- in_port_t port;//номер порта - host byte order
+ in_port_t port;//port number - host byte order
struct PICA_nodeaddr *next;
};