aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/strategy_dpo_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-plugin/src/strategy_dpo_manager.h')
-rw-r--r--hicn-plugin/src/strategy_dpo_manager.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/hicn-plugin/src/strategy_dpo_manager.h b/hicn-plugin/src/strategy_dpo_manager.h
index b8a0c9e92..0163cd679 100644
--- a/hicn-plugin/src/strategy_dpo_manager.h
+++ b/hicn-plugin/src/strategy_dpo_manager.h
@@ -59,7 +59,7 @@ typedef struct hicn_dpo_vft_s
hicn_face_id_t nh,
index_t dpo_idx); /**< Add a next hop to the hICN dpo context */
int (*hicn_dpo_del_nh) (hicn_face_id_t face_id, index_t dpo_idx);
- u8 *(*hicn_dpo_format) (u8 *s, int, ...);
+ u8 *(*hicn_dpo_format) (u8 *s, hicn_dpo_ctx_t *dpo_ctx, u32 indent);
/**< Format an hICN dpo*/
} hicn_dpo_vft_t;
@@ -189,6 +189,11 @@ int hicn_strategy_get_all_available (void);
*/
void hicn_dpo_register (const hicn_dpo_vft_t *hicn_dpo);
+/**
+ * @brief Format strategy DPO.
+ */
+u8 *hicn_strategy_dpo_format (u8 *s, va_list *ap);
+
#endif /* // __HICN_STRATEGY_DPO_MANAGER_H__ */
/*