summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-03-03 18:16:13 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-03-03 18:16:13 +0100
commit6df75c8d3c8b0c4820b930d5126620fd48b2c011 (patch)
tree5761c728e8c14604936b143d4b14748986788893 /src
parenta16840ada8b783704385d2a25d4a48476165fa75 (diff)
parent87f14f365efdcbda7fb7b77e0b0e5faddd13f4a3 (diff)
downloadouroboros-6df75c8d3c8b0c4820b930d5126620fd48b2c011.tar.gz
ouroboros-6df75c8d3c8b0c4820b930d5126620fd48b2c011.zip
Merged in dstaesse/ouroboros/be-common (pull request #20)
include: Fixed missing 'struct', renamed dif_info
Diffstat (limited to 'src')
-rw-r--r--src/irmd/main.c4
-rw-r--r--src/lib/irm.c4
-rw-r--r--src/lib/sockets.c2
-rw-r--r--src/tools/irm/irm_bootstrap_ipcp.c6
4 files changed, 8 insertions, 8 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c
index 0c69de2f..262b737c 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -50,7 +50,7 @@ static void destroy_ipcp(rina_name_t * name)
}
static void bootstrap_ipcp(rina_name_t * name,
- struct dif_info * info)
+ struct dif_config * conf)
{
LOG_MISSING;
}
@@ -114,7 +114,7 @@ int main()
break;
case IRM_BOOTSTRAP_IPCP:
bootstrap_ipcp(msg->name,
- msg->info);
+ msg->conf);
break;
case IRM_ENROLL_IPCP:
enroll_ipcp(msg->name,
diff --git a/src/lib/irm.c b/src/lib/irm.c
index 8756d7fc..519b4eb8 100644
--- a/src/lib/irm.c
+++ b/src/lib/irm.c
@@ -91,13 +91,13 @@ int irm_destroy_ipcp(rina_name_t name)
}
int irm_bootstrap_ipcp(rina_name_t name,
- struct dif_info info)
+ struct dif_config conf)
{
struct irm_msg msg;
msg.code = IRM_BOOTSTRAP_IPCP;
msg.name = &name;
- msg.info = &info;
+ msg.conf = &conf;
if (send_irm_msg(&msg)) {
LOG_ERR("Failed to send message to daemon");
diff --git a/src/lib/sockets.c b/src/lib/sockets.c
index 6cd70a8b..eebd223b 100644
--- a/src/lib/sockets.c
+++ b/src/lib/sockets.c
@@ -223,7 +223,7 @@ buffer_t * serialize_irm_msg(struct irm_msg * msg)
case IRM_DESTROY_IPCP:
break;
case IRM_BOOTSTRAP_IPCP:
- /* FIXME: Fields missing, need to define dif_info properly */
+ /* FIXME: Fields missing, need to define dif_conf properly */
break;
case IRM_ENROLL_IPCP:
if (msg->dif_name == NULL) {
diff --git a/src/tools/irm/irm_bootstrap_ipcp.c b/src/tools/irm/irm_bootstrap_ipcp.c
index 6b640c14..e17ed5ef 100644
--- a/src/tools/irm/irm_bootstrap_ipcp.c
+++ b/src/tools/irm/irm_bootstrap_ipcp.c
@@ -29,7 +29,7 @@
static void usage()
{
- /* FIXME: Add dif_info stuff */
+ /* FIXME: Add dif_config stuff */
printf("Usage: irm bootstrap_ipcp\n"
" ap <application process name>\n"
" [api <application process instance>]\n"
@@ -41,7 +41,7 @@ static void usage()
int do_bootstrap_ipcp(int argc, char ** argv)
{
rina_name_t name;
- struct dif_info info;
+ struct dif_config conf;
name.ap_name = NULL;
name.api_id = 0;
@@ -64,5 +64,5 @@ int do_bootstrap_ipcp(int argc, char ** argv)
return -1;
}
- return irm_bootstrap_ipcp(name, info);
+ return irm_bootstrap_ipcp(name, conf);
}