summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/gam.h
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2017-01-11 18:59:11 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2017-01-12 13:40:38 +0100
commit15e9b779385c71d366776b83540e19e0735c4e66 (patch)
tree5f4fe39683c0676c243f287840f2775a867c9142 /src/ipcpd/normal/gam.h
parenta991831b5373eba38d6f756d254f151b22790238 (diff)
downloadouroboros-15e9b779385c71d366776b83540e19e0735c4e66.tar.gz
ouroboros-15e9b779385c71d366776b83540e19e0735c4e66.zip
ipcpd: normal: Create policies for GAM
This allows the selection of a policy for the graph adjacency manager. Currently we only support constructing a complete graph.
Diffstat (limited to 'src/ipcpd/normal/gam.h')
-rw-r--r--src/ipcpd/normal/gam.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ipcpd/normal/gam.h b/src/ipcpd/normal/gam.h
index 309cb46d..e858114c 100644
--- a/src/ipcpd/normal/gam.h
+++ b/src/ipcpd/normal/gam.h
@@ -23,8 +23,10 @@
#ifndef OUROBOROS_IPCPD_NORMAL_GAM_H
#define OUROBOROS_IPCPD_NORMAL_GAM_H
-/* FIXME: Will take a policy */
-struct gam * gam_create(char * ae_name);
+#include <ouroboros/cacep.h>
+
+struct gam * gam_create(enum pol_gam gam_type,
+ const char * ae_name);
void gam_destroy(struct gam * instance);
@@ -41,4 +43,4 @@ int gam_flow_wait(struct gam * instance,
struct cacep_info ** info,
qosspec_t * qs);
-#endif
+#endif /* OUROBOROS_IPCPD_NORMAL_GAM_H */