Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
api: provide api definition over api
[vpp.git]
/
src
/
vlibmemory
/
memclnt.api
diff --git
a/src/vlibmemory/memclnt.api
b/src/vlibmemory/memclnt.api
index
a8e7cfe
..
dc0f4e1
100644
(file)
--- a/
src/vlibmemory/memclnt.api
+++ b/
src/vlibmemory/memclnt.api
@@
-27,7
+27,7
@@
service {
};
/*
};
/*
- * Create a client registration
+ * Create a client registration
*/
define memclnt_create {
option deprecated;
*/
define memclnt_create {
option deprecated;
@@
-50,7
+50,7
@@
define memclnt_create_reply {
};
/*
};
/*
- * Delete a client registration
+ * Delete a client registration
*/
define memclnt_delete {
u32 index; /* index, used e.g. by API trace replay */
*/
define memclnt_delete {
u32 index; /* index, used e.g. by API trace replay */
@@
-155,7
+155,7
@@
typedef message_table_entry
};
/*
};
/*
- * Create a socket client registration.
+ * Create a socket client registration.
*/
define sockclnt_create {
u32 context; /* opaque value to be returned in the reply */
*/
define sockclnt_create {
u32 context; /* opaque value to be returned in the reply */
@@
-172,7
+172,7
@@
define sockclnt_create_reply {
};
/*
};
/*
- * Delete a client registration
+ * Delete a client registration
*/
define sockclnt_delete {
u32 client_index;
*/
define sockclnt_delete {
u32 client_index;
@@
-252,3
+252,14
@@
define memclnt_create_v2_reply {
u32 index; /* index, used e.g. by API trace replay */
u64 message_table; /* serialized message table in shmem */
};
u32 index; /* index, used e.g. by API trace replay */
u64 message_table; /* serialized message table in shmem */
};
+
+define get_api_json {
+ u32 client_index;
+ u32 context;
+};
+
+define get_api_json_reply {
+ u32 context;
+ i32 retval;
+ string json[];
+};