summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2016-03-03 18:03:10 +0100
committerDimitri Staessens <[email protected]>2016-03-03 18:03:10 +0100
commit81aa4f3ffa87d1fba88f6f2cbfafd525fcc14c3b (patch)
tree5761c728e8c14604936b143d4b14748986788893 /src
parent0a58878e6c499e0757a11c842cc1d0ac6ffb4ab8 (diff)
downloadouroboros-81aa4f3ffa87d1fba88f6f2cbfafd525fcc14c3b.tar.gz
ouroboros-81aa4f3ffa87d1fba88f6f2cbfafd525fcc14c3b.zip
include: Fixed missing 'struct', renamed dif_info
common.h: dif_info renamed to dif_config missing struct fixed
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);
}