accordion_prot.x

来自「基于DHT的对等协议」· X 代码 · 共 24 行

X
24
字号
%#include "chord_types.h"%#include "recroute_prot.h"struct accordion_fillgap_arg {  chord_node_wire end;  /* sender's parallelism, used to determine the freshness of the replied routing entries */  unsigned para;};program ACCORDION_PROGRAM {  version ACCORDION_VERSION {    void    ACCORDIONPROC_NULL (chordID) = 0;     chord_nodelistres    ACCORDIONPROC_FILLGAP (accordion_fillgap_arg) = 1;    chord_nodelistres    ACCORDIONPROC_LOOKUP (recroute_route_arg) = 2;    void    ACCORDIONPROC_LOOKUP_COMPLETE (recroute_complete_arg) = 3;    chord_nodelistextres    ACCORDIONPROC_GETFINGERS_EXT (chordID) = 4;  } = 1;} = 344446;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?