diff options
Diffstat (limited to 'hicn-plugin/src/strategies/dpo_rp.h')
-rw-r--r-- | hicn-plugin/src/strategies/dpo_rp.h | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/hicn-plugin/src/strategies/dpo_rp.h b/hicn-plugin/src/strategies/dpo_rp.h index 4fe645add..bc3384b63 100644 --- a/hicn-plugin/src/strategies/dpo_rp.h +++ b/hicn-plugin/src/strategies/dpo_rp.h @@ -35,17 +35,12 @@ typedef struct hicn_strategy_rp_ctx_s * @brief Format the dpo ctx for a human-readable string * * @param s String to which to append the formatted dpo ctx - * @param ap List of parameters for the formatting + * @param dpo_ctx DPO context + * @param indent Indentation * * @result The string with the formatted dpo ctx */ -u8 *format_hicn_strategy_rp_ctx (u8 *s, va_list *ap); - -const static dpo_vft_t dpo_strategy_rp_ctx_vft = { - .dv_lock = hicn_strategy_dpo_ctx_lock, - .dv_unlock = hicn_strategy_dpo_ctx_unlock, - .dv_format = format_hicn_strategy_rp_ctx, -}; +u8 *hicn_dpo_strategy_rp_format (u8 *s, hicn_dpo_ctx_t *dpo_ctx, u32 indent); /** * @brief Retrieve an hicn_strategy_rp_ctx object @@ -124,23 +119,6 @@ void hicn_dpo_strategy_rp_module_init (void); */ dpo_type_t hicn_dpo_strategy_rp_get_type (void); -/** - * @brief Format the dpo ctx for the strategy Replication - * - * @param s String to append the formatted dpo ctx - * @param ap List of arguments to format - */ -u8 *format_hicn_dpo_strategy_rp (u8 *s, va_list *ap); - -/** - * @brief Format the dpo ctx for the strategy Replication. To - * call from other functions - * - * @param s String to append the formatted dpo ctx - * @param ... List of arguments to format - */ -u8 *hicn_strategy_rp_format_ctx (u8 *s, int n, ...); - #endif // __HICN_DPO_RP_H__ /* |