Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vcl: new vcl api to get detailed session errors
[vpp.git]
/
src
/
vcl
/
vppcom.h
diff --git
a/src/vcl/vppcom.h
b/src/vcl/vppcom.h
index
c50850c
..
6e15cd1
100644
(file)
--- a/
src/vcl/vppcom.h
+++ b/
src/vcl/vppcom.h
@@
-102,6
+102,7
@@
typedef enum
VPPCOM_ENOPROTOOPT = -ENOPROTOOPT,
VPPCOM_EPIPE = -EPIPE,
VPPCOM_ENOENT = -ENOENT,
VPPCOM_ENOPROTOOPT = -ENOPROTOOPT,
VPPCOM_EPIPE = -EPIPE,
VPPCOM_ENOENT = -ENOENT,
+ VPPCOM_EADDRINUSE = -EADDRINUSE
} vppcom_error_t;
typedef enum
} vppcom_error_t;
typedef enum
@@
-264,6
+265,13
@@
extern void vppcom_worker_index_set (int);
*/
extern int vppcom_worker_mqs_epfd (void);
*/
extern int vppcom_worker_mqs_epfd (void);
+/**
+ * Returns Session error
+ *
+ * Application can use this API to find the detailed session error
+ */
+extern int vppcom_session_get_error (uint32_t session_handle);
+
/* *INDENT-OFF* */
#ifdef __cplusplus
}
/* *INDENT-OFF* */
#ifdef __cplusplus
}