diff options
author | Dimitri Staessens <[email protected]> | 2016-03-24 16:26:40 +0100 |
---|---|---|
committer | Dimitri Staessens <[email protected]> | 2016-03-24 16:26:40 +0100 |
commit | c32ccc39cfc793729890204c8d810eb7608f4474 (patch) | |
tree | e01b29ae0ff52d617c656b5d85babd472aaa4149 /src/tools/irm | |
parent | 683114204c81a4e989042ee5de12c4fc71fc910c (diff) | |
parent | 72abee4fc44e5e5092e215d5afee556e6e59347c (diff) | |
download | ouroboros-c32ccc39cfc793729890204c8d810eb7608f4474.tar.gz ouroboros-c32ccc39cfc793729890204c8d810eb7608f4474.zip |
Merged in sandervrijders/ouroboros/be-irm-msg (pull request #40)
lib: Adds IRMd messages for the dev.h API calls
Diffstat (limited to 'src/tools/irm')
-rw-r--r-- | src/tools/irm/irm_bootstrap_ipcp.c | 6 | ||||
-rw-r--r-- | src/tools/irm/irm_create_ipcp.c | 4 | ||||
-rw-r--r-- | src/tools/irm/irm_destroy_ipcp.c | 6 | ||||
-rw-r--r-- | src/tools/irm/irm_enroll_ipcp.c | 4 | ||||
-rw-r--r-- | src/tools/irm/irm_register_ipcp.c | 4 | ||||
-rw-r--r-- | src/tools/irm/irm_unregister_ipcp.c | 4 | ||||
-rw-r--r-- | src/tools/irm/irm_utils.c | 4 |
7 files changed, 2 insertions, 30 deletions
diff --git a/src/tools/irm/irm_bootstrap_ipcp.c b/src/tools/irm/irm_bootstrap_ipcp.c index 8c64ba8f..89950069 100644 --- a/src/tools/irm/irm_bootstrap_ipcp.c +++ b/src/tools/irm/irm_bootstrap_ipcp.c @@ -32,9 +32,7 @@ static void usage() /* FIXME: Add dif_config stuff */ printf("Usage: irm bootstrap_ipcp\n" " ap <application process name>\n" - " [api <application process instance>]\n" - " [ae <application entity name]\n" - " [aei <application entity instance>]\n"); + " [api <application process instance>]\n"); } @@ -47,8 +45,6 @@ int do_bootstrap_ipcp(int argc, char ** argv) name.ap_name = NULL; name.api_id = 0; - name.ae_name = ""; - name.aei_id = 0; while (argc > 0) { if (!parse_name(argv, &name)) { diff --git a/src/tools/irm/irm_create_ipcp.c b/src/tools/irm/irm_create_ipcp.c index 5c847988..854a15f9 100644 --- a/src/tools/irm/irm_create_ipcp.c +++ b/src/tools/irm/irm_create_ipcp.c @@ -35,8 +35,6 @@ static void usage() printf("Usage: irm create_ipcp\n" " ap <application process name>\n" " [api <application process instance>]\n" - " [ae <application entity name]\n" - " [aei <application entity instance>]\n" " type <ipc process type>\n"); } @@ -47,8 +45,6 @@ int do_create_ipcp(int argc, char ** argv) name.ap_name = NULL; name.api_id = 0; - name.ae_name = ""; - name.aei_id = 0; while (argc > 0) { if (!parse_name(argv, &name)) { diff --git a/src/tools/irm/irm_destroy_ipcp.c b/src/tools/irm/irm_destroy_ipcp.c index 467d1b50..4f02f9cb 100644 --- a/src/tools/irm/irm_destroy_ipcp.c +++ b/src/tools/irm/irm_destroy_ipcp.c @@ -31,9 +31,7 @@ static void usage() { printf("Usage: irm destroy_ipcp\n" " ap <application process name>\n" - " [api <application process instance>]\n" - " [ae <application entity name]\n" - " [aei <application entity instance>]\n"); + " [api <application process instance>]\n"); } int do_destroy_ipcp(int argc, char ** argv) @@ -42,8 +40,6 @@ int do_destroy_ipcp(int argc, char ** argv) name.ap_name = NULL; name.api_id = 0; - name.ae_name = ""; - name.aei_id = 0; while (argc > 0) { if (!parse_name(argv, &name)) { diff --git a/src/tools/irm/irm_enroll_ipcp.c b/src/tools/irm/irm_enroll_ipcp.c index 94f28f82..1dcdc919 100644 --- a/src/tools/irm/irm_enroll_ipcp.c +++ b/src/tools/irm/irm_enroll_ipcp.c @@ -32,8 +32,6 @@ static void usage() printf("Usage: irm enroll_ipcp\n" " ap <application process name>\n" " [api <application process instance>]\n" - " [ae <application entity name]\n" - " [aei <application entity instance>]\n" " dif <dif to enroll in>\n"); } @@ -44,8 +42,6 @@ int do_enroll_ipcp(int argc, char ** argv) name.ap_name = NULL; name.api_id = 0; - name.ae_name = ""; - name.aei_id = 0; while (argc > 0) { if (!parse_name(argv, &name)) { diff --git a/src/tools/irm/irm_register_ipcp.c b/src/tools/irm/irm_register_ipcp.c index c69ad350..468ef28f 100644 --- a/src/tools/irm/irm_register_ipcp.c +++ b/src/tools/irm/irm_register_ipcp.c @@ -37,8 +37,6 @@ static void usage() printf("Usage: irm register_ipcp\n" " ap <application process name>\n" " [api <application process instance>]\n" - " [ae <application entity name]\n" - " [aei <application entity instance>]\n" " dif <dif name to register with>\n" " [dif <dif name to register with>]\n" " [... (maximum %d difs)]\n", MAX_DIFS); @@ -53,8 +51,6 @@ int do_register_ipcp(int argc, char ** argv) name.ap_name = NULL; name.api_id = 0; - name.ae_name = ""; - name.aei_id = 0; while (argc > 0) { if (!parse_name(argv, &name)) { diff --git a/src/tools/irm/irm_unregister_ipcp.c b/src/tools/irm/irm_unregister_ipcp.c index a2dffc6c..0b669503 100644 --- a/src/tools/irm/irm_unregister_ipcp.c +++ b/src/tools/irm/irm_unregister_ipcp.c @@ -37,8 +37,6 @@ static void usage() printf("Usage: irm unregister_ipcp\n" " ap <application process name>\n" " [api <application process instance>]\n" - " [ae <application entity name]\n" - " [aei <application entity instance>]\n" " dif <dif name to unregister from>\n" " [dif <dif name to unregister from>]\n" " [... (maximum %d difs)]\n", MAX_DIFS); @@ -53,8 +51,6 @@ int do_unregister_ipcp(int argc, char ** argv) name.ap_name = NULL; name.api_id = 0; - name.ae_name = ""; - name.aei_id = 0; while (argc > 0) { if (!parse_name(argv, &name)) { diff --git a/src/tools/irm/irm_utils.c b/src/tools/irm/irm_utils.c index 021227fd..04cb7242 100644 --- a/src/tools/irm/irm_utils.c +++ b/src/tools/irm/irm_utils.c @@ -47,10 +47,6 @@ bool parse_name(char ** argv, name->ap_name = *(argv + 1); else if (matches(*argv, "api") == 0) name->api_id = atoi(*(argv + 1)); - else if (matches(*argv, "ae") == 0) - name->ae_name = *(argv + 1); - else if (matches(*argv, "aei") == 0) - name->aei_id = atoi(*(argv + 1)); else found = false; |