summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/pol/flat.h
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2017-02-21 14:10:53 +0000
committerdimitri staessens <[email protected]>2017-02-21 14:10:53 +0000
commit198e319d14af53891b81cca36fe92e06d5d7d67d (patch)
treeffe86d4470e121c47fa11faf8dd5f921f1b6de1f /src/ipcpd/normal/pol/flat.h
parent91091367210ee204c4082a0da05eea3336674f19 (diff)
parent64f2b95f622a3c2b16e4dbdc8553d506ef870a8c (diff)
downloadouroboros-198e319d14af53891b81cca36fe92e06d5d7d67d.tar.gz
ouroboros-198e319d14af53891b81cca36fe92e06d5d7d67d.zip
Merged in sandervrijders/ouroboros/be-addr (pull request #384)
ipcpd: normal: Change address authority policy
Diffstat (limited to 'src/ipcpd/normal/pol/flat.h')
-rw-r--r--src/ipcpd/normal/pol/flat.h8
1 files changed, 8 insertions, 0 deletions
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 */