git » nmdb » commit 623d019

Change reply numbers not to collapse with requests.

author Alberto Bertogli
2006-09-13 03:46:48 UTC
committer Alberto Bertogli
2006-09-13 03:46:48 UTC
parent 0f84cf903fe76095b5af763669492e7f9282212a

Change reply numbers not to collapse with requests.
To ease developing and troubleshooting, use different constants for requests
and replies.

libnmdb/net-const.h +5 -5
nmdb/net-const.h +5 -5

diff --git a/libnmdb/net-const.h b/libnmdb/net-const.h
index d485085..a382490 100644
--- a/libnmdb/net-const.h
+++ b/libnmdb/net-const.h
@@ -25,11 +25,11 @@
 #define REQ_DEL_ASYNC		0x108
 
 /* Network replies (different namespace from requests) */
-#define REP_ERR			0x100
-#define REP_CACHE_HIT		0x101
-#define REP_CACHE_MISS		0x102
-#define REP_OK			0x103
-#define REP_NOTIN		0x104
+#define REP_ERR			0x800
+#define REP_CACHE_HIT		0x801
+#define REP_CACHE_MISS		0x802
+#define REP_OK			0x803
+#define REP_NOTIN		0x804
 
 /* Network error replies */
 #define ERR_VER			0x101	/* Version mismatch */
diff --git a/nmdb/net-const.h b/nmdb/net-const.h
index d485085..a382490 100644
--- a/nmdb/net-const.h
+++ b/nmdb/net-const.h
@@ -25,11 +25,11 @@
 #define REQ_DEL_ASYNC		0x108
 
 /* Network replies (different namespace from requests) */
-#define REP_ERR			0x100
-#define REP_CACHE_HIT		0x101
-#define REP_CACHE_MISS		0x102
-#define REP_OK			0x103
-#define REP_NOTIN		0x104
+#define REP_ERR			0x800
+#define REP_CACHE_HIT		0x801
+#define REP_CACHE_MISS		0x802
+#define REP_OK			0x803
+#define REP_NOTIN		0x804
 
 /* Network error replies */
 #define ERR_VER			0x101	/* Version mismatch */