summaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/lib-pot
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/ioam/lib-pot')
-rw-r--r--src/plugins/ioam/lib-pot/pot.api34
1 files changed, 3 insertions, 31 deletions
diff --git a/src/plugins/ioam/lib-pot/pot.api b/src/plugins/ioam/lib-pot/pot.api
index fa2fc126b7e..c377cde0dfe 100644
--- a/src/plugins/ioam/lib-pot/pot.api
+++ b/src/plugins/ioam/lib-pot/pot.api
@@ -27,7 +27,7 @@
@param list_name_len - length of the name of this profile list
@param list_name - name of this profile list
*/
-define pot_profile_add {
+autoreply define pot_profile_add {
u32 client_index;
u32 context;
u8 id;
@@ -42,22 +42,12 @@ define pot_profile_add {
u8 list_name[0];
};
-/** \brief Proof of Transit profile add / del response
- @param context - sender context, to match reply w/ request
- @param retval - return value for request
-*/
-define pot_profile_add_reply {
- u32 context;
- i32 retval;
-};
-
-
/** \brief Proof of Transit(POT): Activate POT profile in the list
@param id - id of the profile
@param list_name_len - length of the name of this profile list
@param list_name - name of this profile list
*/
-define pot_profile_activate {
+autoreply define pot_profile_activate {
u32 client_index;
u32 context;
u8 id;
@@ -65,37 +55,19 @@ define pot_profile_activate {
u8 list_name[0];
};
-/** \brief Proof of Transit profile activate response
- @param context - sender context, to match reply w/ request
- @param retval - return value for request
-*/
-define pot_profile_activate_reply {
- u32 context;
- i32 retval;
-};
-
/** \brief Delete POT Profile
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param list_name_len - length of the name of the profile list
@param list_name - name of profile list to delete
*/
-define pot_profile_del {
+autoreply define pot_profile_del {
u32 client_index;
u32 context;
u8 list_name_len;
u8 list_name[0];
};
-/** \brief Proof of Transit profile add / del response
- @param context - sender context, to match reply w/ request
- @param retval - return value for request
-*/
-define pot_profile_del_reply {
- u32 context;
- i32 retval;
-};
-
/** \brief Show POT Profiles
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request