From bf65a08d6325090086c99c1de3f86ea6e9d0b25e Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Tue, 19 Jul 2016 20:35:42 +0200 Subject: [PATCH] pkg: update to newest ccn-lite version --- pkg/ccn-lite/Makefile | 2 +- pkg/ccn-lite/ccn-lite-riot.h | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pkg/ccn-lite/Makefile b/pkg/ccn-lite/Makefile index e43612caa6..8a038e856a 100644 --- a/pkg/ccn-lite/Makefile +++ b/pkg/ccn-lite/Makefile @@ -1,6 +1,6 @@ PKG_NAME=ccn-lite PKG_URL=https://github.com/cn-uofbasel/ccn-lite/ -PKG_VERSION=1ae5bddc68334bc062c148b877894ba8155112c4 +PKG_VERSION=0b1de2da1ef407ee5793c0e7eda420391ae056dc .PHONY: all diff --git a/pkg/ccn-lite/ccn-lite-riot.h b/pkg/ccn-lite/ccn-lite-riot.h index a756ecad19..59dae71547 100644 --- a/pkg/ccn-lite/ccn-lite-riot.h +++ b/pkg/ccn-lite/ccn-lite-riot.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015 INRIA + * Copyright (C) 2015, 2016 INRIA * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level @@ -146,6 +146,16 @@ extern "C" { */ #define CCNL_MSG_AGEING (0x1702) +/** + * Maximum number of elements that can be cached + */ +#ifndef CCNL_CACHE_SIZE +#define CCNL_CACHE_SIZE (5) +#endif +#ifdef DOXYGEN +#define CCNL_CACHE_SIZE +#endif + /** * Struct holding CCN-Lite's central relay information */