summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/cdap_request.h
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-11-01 14:32:47 +0100
committerSander Vrijders <[email protected]>2016-11-01 14:32:47 +0100
commitc69f318e8cbdb8124e40e6a47b1bbffe35914a44 (patch)
tree10c4029e0778dd80d6f1ed822e9dcd2f450feb8a /src/ipcpd/normal/cdap_request.h
parent0a9f1f2936381dfe350c1846b3bafc306590a88f (diff)
downloadouroboros-c69f318e8cbdb8124e40e6a47b1bbffe35914a44.tar.gz
ouroboros-c69f318e8cbdb8124e40e6a47b1bbffe35914a44.zip
lib: Simplify CDAP API
This will simplify the CDAP API. Now the opcode has to be given when sending a CDAP request. Before a separate operation was provided since some of the function parameters are unused for certain commands.
Diffstat (limited to 'src/ipcpd/normal/cdap_request.h')
-rw-r--r--src/ipcpd/normal/cdap_request.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ipcpd/normal/cdap_request.h b/src/ipcpd/normal/cdap_request.h
index b3be44f8..9cccfda5 100644
--- a/src/ipcpd/normal/cdap_request.h
+++ b/src/ipcpd/normal/cdap_request.h
@@ -30,15 +30,6 @@
#include <pthread.h>
-enum cdap_opcode {
- READ = 0,
- WRITE,
- START,
- STOP,
- CREATE,
- DELETE
-};
-
enum creq_state {
REQ_INIT = 0,
REQ_PENDING,