diff options
Diffstat (limited to 'src/proto.h')
| -rw-r--r-- | src/proto.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/proto.h b/src/proto.h index 0e1bcbc..328c9ca 100644 --- a/src/proto.h +++ b/src/proto.h @@ -21,7 +21,15 @@ struct tokens { size_t head; }; +enum Operation { + OP_EMPTY, + OP_PENDING, + OP_ACTIVE, + OP_COMPLETED, +}; + struct lookup { + enum Operation state; struct nodeid target; struct nodeid closest[8]; |
