pkg: update to newest ccn-lite version

This commit is contained in:
Oleg Hahm 2016-07-19 20:35:42 +02:00
parent 32479b58f0
commit bf65a08d63
2 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,6 @@
PKG_NAME=ccn-lite PKG_NAME=ccn-lite
PKG_URL=https://github.com/cn-uofbasel/ccn-lite/ PKG_URL=https://github.com/cn-uofbasel/ccn-lite/
PKG_VERSION=1ae5bddc68334bc062c148b877894ba8155112c4 PKG_VERSION=0b1de2da1ef407ee5793c0e7eda420391ae056dc
.PHONY: all .PHONY: all

View File

@ -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 * 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 * General Public License v2.1. See the file LICENSE in the top level
@ -146,6 +146,16 @@ extern "C" {
*/ */
#define CCNL_MSG_AGEING (0x1702) #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 * Struct holding CCN-Lite's central relay information
*/ */