summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/sdu_sched.h
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-04-24 13:42:22 +0000
committerdimitri staessens <dimitri.staessens@ugent.be>2017-04-24 13:42:22 +0000
commit1bca9a9848dc842e2a40c666560391cdd4c95ca0 (patch)
tree09194ae08b8b3c1f8709efdf445b475049c77ed2 /src/ipcpd/normal/sdu_sched.h
parent61ec9ed4da2938d8dfc06e05cc4212f080db398e (diff)
parentb7206a3a887ad86a00cf6fbc4215e29abded839e (diff)
downloadouroboros-1bca9a9848dc842e2a40c666560391cdd4c95ca0.tar.gz
ouroboros-1bca9a9848dc842e2a40c666560391cdd4c95ca0.zip
Merged in sandervrijders/ouroboros/be-sched-api (pull request #491)
ipcpd: normal: Extract flow sets from components
Diffstat (limited to 'src/ipcpd/normal/sdu_sched.h')
-rw-r--r--src/ipcpd/normal/sdu_sched.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ipcpd/normal/sdu_sched.h b/src/ipcpd/normal/sdu_sched.h
index 1a22b041..3c95b683 100644
--- a/src/ipcpd/normal/sdu_sched.h
+++ b/src/ipcpd/normal/sdu_sched.h
@@ -30,9 +30,14 @@ typedef int (* next_sdu_t)(int fd,
qoscube_t qc,
struct shm_du_buff * sdb);
-struct sdu_sched * sdu_sched_create(flow_set_t * set[QOS_CUBE_MAX],
- next_sdu_t callback);
+struct sdu_sched * sdu_sched_create(next_sdu_t callback);
void sdu_sched_destroy(struct sdu_sched * sdu_sched);
+void sdu_sched_add(struct sdu_sched * sdu_sched,
+ int fd);
+
+void sdu_sched_del(struct sdu_sched * sdu_sched,
+ int fd);
+
#endif /* OUROBOROS_IPCPD_NORMAL_SDU_SCHED_H */