summaryrefslogtreecommitdiff
path: root/src/ipcpd/pci.h
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2016-02-26 14:35:50 +0100
committerDimitri Staessens <[email protected]>2016-02-26 14:35:50 +0100
commit62eba345ce0ab3fb58e6998261da20bbc2f5cc3a (patch)
tree4b301ea4d996ad573aa47f2ab30545f0f6a76f86 /src/ipcpd/pci.h
parent7fe7ee2b190128cadee38664c59a595fac1fd3b1 (diff)
downloadouroboros-62eba345ce0ab3fb58e6998261da20bbc2f5cc3a.tar.gz
ouroboros-62eba345ce0ab3fb58e6998261da20bbc2f5cc3a.zip
ipcp: PCI structure
ipcpd/dt_const.h: ipcp-internal datastructures for dtp and dip constants ipcpd/pci.h : header for pci structure ipcpd/pci.c : pci structure ipcpd : updated makefile commit not fully tested yet
Diffstat (limited to 'src/ipcpd/pci.h')
-rw-r--r--src/ipcpd/pci.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/ipcpd/pci.h b/src/ipcpd/pci.h
index 936a1b1b..5b11a021 100644
--- a/src/ipcpd/pci.h
+++ b/src/ipcpd/pci.h
@@ -23,23 +23,23 @@
#ifndef OUROBOROS_IPCP_PCI_H
#define OUROBOROS_IPCP_PCI_H
-#endif
-#include "ouroboros/common.h"
+#define OUROBOROS_PREFIX "ipcp/pci"
+
#include "ouroboros/du_buff.h"
+#include "ouroboros/logs.h"
+#include "dt_const.h"
struct pci;
typedef struct pci pci_t;
-pci_t * pci_create(struct dtp_const * dtc);
+pci_t * pci_create(du_buff_t * dub,
+ const struct ipcp_dtp_const dtpc,
+ const struct ipcp_dup_const dupc);
void pci_destroy(pci_t * pci);
-int pci_init(pci_t * pci,
- du_buff_t * dub,
- struct dtp_const * dtc,
- struct dup_const * dupc);
-
-int pci_release(du_buff_t dub);
+int pci_init(pci_t * pci);
+void pci_release(pci_t * pci);
#endif /* OUROBOROS_IPCP_PCI_H */