From de80ed87b8339f23624642786698057a62bdf779 Mon Sep 17 00:00:00 2001
From: fujuntang <fujuntang@smartai.com>
Date: 星期二, 23 十一月 2021 11:25:48 +0800
Subject: [PATCH] Fix the communication failure issue when the registered applications exceeds the fixed amount.

---
 src/bus_error.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/bus_error.h b/src/bus_error.h
index 84f2e89..dfcfe06 100644
--- a/src/bus_error.h
+++ b/src/bus_error.h
@@ -17,9 +17,11 @@
 #define EBUS_RES_BUSY  510
 #define EBUS_RES_NO  511
 #define EBUS_INVALID_PARA  512
+#define EBUS_NO_MEM       513
 
 extern int bus_errno;
 
-char *bus_strerror(int eno) ;
+char *bus_strerror(int eno, int flag = 0);
+void bus_errorset(int err);
 
 #endif
\ No newline at end of file

--
Gitblit v1.8.0