From 7fa99e0efe07a120af719da2cae5c1151f024403 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期三, 03 四月 2024 10:17:25 +0800
Subject: [PATCH] remove some defer

---
 src/proc_def.h |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/src/proc_def.h b/src/proc_def.h
index cb4dc0a..41a990e 100644
--- a/src/proc_def.h
+++ b/src/proc_def.h
@@ -8,7 +8,7 @@
 #define MAX_STR_LEN     128 //keep the same with serializer in proc check
 #define MIN_STR_LEN      10
 #define MAX_PROC_NUM    128
-#define MAX_TOPICS_NUN  60
+#define MAX_TOPICS_NUN   60
 
 #define PROC_REG        1
 #define PROC_UNREG      2
@@ -16,8 +16,14 @@
 #define PROC_QUE_TCS    4
 #define PROC_QUE_STCS   5
 #define PROC_QUE_ATCS   6
+#define PROC_REG_BUF    7
+
+#define ID_RSV          16
+#define ABS_ID_RSV      18
 
 #define STR_MAGIC       ","
+#define STR_EXEC        "Success"
+#define STR_RET         "Great"
 
 typedef struct _ProcInfo {
 #if 0
@@ -32,6 +38,8 @@
   char name[MAX_STR_LEN];
   char public_info[MAX_STR_LEN]; 
   char private_info[MAX_STR_LEN];
+  char int_info[MAX_STR_LEN];
+  char svr_info[MAX_STR_LEN];
 #endif
 } ProcInfo;
 
@@ -40,9 +48,9 @@
   ProcInfo procData;
 
   int stat;
-  char reg_info[MAX_STR_LEN];
-  char local_info[MAX_STR_LEN];
-  char net_info[MAX_STR_LEN];
+  char reg_info[MAX_STR_LEN * MAX_TOPICS_NUN];
+  char local_info[MAX_STR_LEN * MAX_TOPICS_NUN];
+  char net_info[MAX_STR_LEN * MAX_TOPICS_NUN];
 
   int list_num;
 
@@ -58,10 +66,14 @@
 
 } ProcInfo_query;
 
+#define STR_RSV   "empty"
+#define WT_INT    10
+
 #ifdef __cplusplus
 }
 #endif
 
+#define SVR_STR     0x02
 
 #endif  //end of file
 

--
Gitblit v1.8.0