diff options
author | Mauro Sardara <msardara+fdio@cisco.com> | 2017-06-05 16:48:29 +0200 |
---|---|---|
committer | Mauro Sardara <msardara+fdio@cisco.com> | 2017-06-05 17:45:15 +0200 |
commit | d22d2b4785e2f4eafc8dda2ae032931f89c7e45f (patch) | |
tree | 47fa6879217c4b08e8a78efc33b8cd007a110866 /apps/iping/iPing_Client.c | |
parent | 52ab9bf241528b0cb1d24384d22b017391be2899 (diff) |
- Added new interface between applications and library:
- Application retrieve resources using the common HTTP url format.
- Translation between network names and application names performed by the library
- Added basic error handling
- Added utils for http connections
- Added support for differetn build types (DEBUG, RELEASE, RELEASE with debug symbols, RELEASE with min size executable)
- Added support for iOS
Change-Id: I8ba2a5d8bd70a4f7721e1bbc2efe3fb81ed2c98c
Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'apps/iping/iPing_Client.c')
-rw-r--r-- | apps/iping/iPing_Client.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/apps/iping/iPing_Client.c b/apps/iping/iPing_Client.c index 85d92eb0..ea6b0711 100644 --- a/apps/iping/iPing_Client.c +++ b/apps/iping/iPing_Client.c @@ -315,12 +315,11 @@ static bool _ccnxPingClient_ParseCommandline(CCNxPingClient *client, int argc, c static struct option longopts[] = {{"ping", no_argument, NULL, 'p'}, {"flood", no_argument, NULL, 'f'}, {"count", required_argument, NULL, 'c'}, { "size", required_argument, NULL, 's' - }, {"interval", required_argument, NULL, 'i'}, {"locator", required_argument, NULL, 'l'}, {"outstanding" - , required_argument - , NULL, 'o' - }, {"help", no_argument, NULL, 'h'}, {"timeout", required_argument, NULL, 't'}, {"lifetime", required_argument - , NULL, 'e' - }, {NULL, 0, NULL, 0}}; + }, {"interval", required_argument, NULL, 'i'}, {"locator", required_argument, NULL, 'l'}, + {"outstanding", required_argument, NULL, 'o' + }, {"help", no_argument, NULL, 'h'}, {"timeout", required_argument, NULL, 't'}, + {"lifetime", required_argument, NULL, 'e' + }, {NULL, 0, NULL, 0}}; client->payloadSize = ccnxPing_DefaultPayloadSize; |