aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/config/configuration.h
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2020-09-23 17:50:52 +0200
committerJordan Augé <jordan.auge+fdio@cisco.com>2020-09-28 18:25:30 +0200
commit32dccec98e4c7d7e4ce902e19ba8d1b29b823758 (patch)
tree95c5dec2083a3774c13bd5f896743cd6c5c42a7a /hicn-light/src/hicn/config/configuration.h
parent7356408ca1554468c9d7b9840aaaee28b4341c8d (diff)
[HICN-570] Message buffer (incl. CS and PIT changes)
Change-Id: I4c508e4b04dee3acbfc3da1d26e1770cb826f22b Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'hicn-light/src/hicn/config/configuration.h')
-rw-r--r--hicn-light/src/hicn/config/configuration.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/hicn-light/src/hicn/config/configuration.h b/hicn-light/src/hicn/config/configuration.h
index 86efa5236..fa1b0410c 100644
--- a/hicn-light/src/hicn/config/configuration.h
+++ b/hicn-light/src/hicn/config/configuration.h
@@ -26,7 +26,8 @@
#ifndef configuration_h
#define configuration_h
-#include <hicn/utils/commands.h>
+#include "../core/msgbuf.h"
+#include "../utils/commands.h"
typedef struct configuration_s configuration_t;
@@ -67,8 +68,7 @@ void configuration_free(configuration_t * config);
void configuration_setup_all_listeners(configuration_t *config, uint16_t port,
const char *localPath);
-void configuration_receive_command(configuration_t *config, command_type_t command,
- uint8_t * packet, unsigned ingress_id);
+ssize_t configuration_receive_command(configuration_t *config, msgbuf_t * msgbuf);
/**
* Returns the configured size of the content store
@@ -84,7 +84,7 @@ void configuration_receive_command(configuration_t *config, command_type_t comma
* <#example#>
* @endcode
*/
-size_t configuration_content_store_get_size(configuration_t *config);
+size_t configuration_cs_get_size(configuration_t *config);
/**
* Sets the size of the content store (in objects, not bytes)
@@ -98,7 +98,7 @@ size_t configuration_content_store_get_size(configuration_t *config);
* <#example#>
* @endcode
*/
-void configuration_content_store_set_size(configuration_t *config, size_t size);
+void configuration_cs_set_size(configuration_t *config, size_t size);
strategy_type_t configuration_get_strategy(configuration_t *config, const char *prefix);