summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/frct.h
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-04-28 11:51:59 +0000
committerdimitri staessens <dimitri.staessens@ugent.be>2017-04-28 11:51:59 +0000
commit256d83081b93f39ad2e3f945b8b3d00e50c48972 (patch)
tree414549053101f95fb0985fb68a7f3b9ea9bb18e5 /src/ipcpd/normal/frct.h
parent4f9f6d4c9a5930166220244936ecdb040a8d7450 (diff)
parent9177b0f3f72203cb6e18ee59c98b531a698d7f19 (diff)
downloadouroboros-256d83081b93f39ad2e3f945b8b3d00e50c48972.tar.gz
ouroboros-256d83081b93f39ad2e3f945b8b3d00e50c48972.zip
Merged in sandervrijders/ouroboros/be-frct-api (pull request #497)
ipcpd: normal: Split connection establishment
Diffstat (limited to 'src/ipcpd/normal/frct.h')
-rw-r--r--src/ipcpd/normal/frct.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/ipcpd/normal/frct.h b/src/ipcpd/normal/frct.h
index b179e36b..03dec672 100644
--- a/src/ipcpd/normal/frct.h
+++ b/src/ipcpd/normal/frct.h
@@ -26,7 +26,7 @@
#include <ouroboros/shared.h>
#include <ouroboros/utils.h>
-#include "shm_pci.h"
+#include "frct_pci.h"
#define FRCT_PROTO "FRCT"
@@ -36,21 +36,21 @@ int frct_init(void);
int frct_fini(void);
-cep_id_t frct_i_create(uint64_t address,
- buffer_t * buf,
- qoscube_t cube);
+cep_id_t frct_i_create(uint64_t address,
+ qoscube_t cube);
-int frct_i_accept(cep_id_t id,
- buffer_t * buf,
- qoscube_t cube);
+int frct_i_destroy(cep_id_t cep_id);
-int frct_i_destroy(cep_id_t id,
- buffer_t * buf);
+int frct_i_set_id(cep_id_t cep_id,
+ cep_id_t r_cep_id);
+
+cep_id_t frct_i_get_id(cep_id_t cep_id);
+
+uint64_t frct_i_get_addr(cep_id_t cep_id);
int frct_i_write_sdu(cep_id_t id,
struct shm_du_buff * sdb);
-int frct_post_sdu(struct pci * pci,
- struct shm_du_buff * sdb);
+int frct_post_sdu(struct shm_du_buff * sdb);
#endif /* OUROBOROS_IPCPD_NORMAL_FRCT_H */