#ifndef _LB_H_72fd0317_ #define _LB_H_72fd0317_ /* This file is in the public domain. */ /* 0x20-0x3f are client->server only */ #define LB_DATA 0x20 #define LB_RQSUMS 0x21 #define LB_STOPSUM 0x22 #define LB_SIZE 0x23 #define LB_STATUS 0x24 /* 0x40-0x5f are server->client only */ #define LB_SUMS 0x40 #define LB_ABORTED 0x41 /* 0x6f-0x7f are either direction */ #define LB_PING 0x60 #define LB_PONG 0x61 /* Checksum type bytes */ #define CKT_SHA1 0x00 #define CKT_SUM_SHA1 0x01 extern const char *msg_name(int); extern const char *cksum_name(int); #endif