summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/config/controlState.h
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/hicn/config/controlState.h')
-rw-r--r--hicn-light/src/hicn/config/controlState.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/hicn-light/src/hicn/config/controlState.h b/hicn-light/src/hicn/config/controlState.h
index 25542657f..cc38cbe37 100644
--- a/hicn-light/src/hicn/config/controlState.h
+++ b/hicn-light/src/hicn/config/controlState.h
@@ -32,6 +32,9 @@
#include <hicn/utils/commands.h>
+#define SRV_CTRL_IP "127.0.0.1"
+#define SRV_CTRL_PORT 9695
+
struct controller_state;
typedef struct controller_state ControlState;
@@ -59,7 +62,8 @@ typedef struct controller_state ControlState;
ControlState *controlState_Create(
void *userdata,
struct iovec *(*writeRead)(ControlState *state, struct iovec *msg),
- bool openControllerConnetion);
+ bool openControllerConnetion,
+ char * server_ip, uint16_t port);
/**
* Destroys the control state, closing all network connections