From 64f2b95f622a3c2b16e4dbdc8553d506ef870a8c Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 21 Feb 2017 14:45:04 +0100 Subject: ipcpd: normal: Change address authority policy This changes the address authority to follow a similar approach to that of the other policies. No function pointers are passed to its user anymore. --- src/ipcpd/normal/pol/flat.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/ipcpd/normal/pol/flat.h') diff --git a/src/ipcpd/normal/pol/flat.h b/src/ipcpd/normal/pol/flat.h index 73d7de8b..85fe9281 100644 --- a/src/ipcpd/normal/pol/flat.h +++ b/src/ipcpd/normal/pol/flat.h @@ -22,8 +22,16 @@ #ifndef OUROBOROS_IPCPD_NORMAL_FLAT_H #define OUROBOROS_IPCPD_NORMAL_FLAT_H +#include "pol-addr-auth-ops.h" + int flat_init(void); int flat_fini(void); uint64_t flat_address(void); +struct pol_addr_auth_ops flat_ops = { + .init = flat_init, + .fini = flat_fini, + .address = flat_address +}; + #endif /* OUROBOROS_IPCPD_NORMAL_FLAT_H */ -- cgit v1.2.3