commit | f118526c49ff225bf4343e4c950588ebaee61651 | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Sat Dec 29 17:06:00 2012 -0800 |
committer | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Sat Dec 29 17:06:00 2012 -0800 |
tree | 8266f2a0d380aaf7a7db84bd55fd211e75b0e498 | |
parent | 5f9d09eff0b36e68556958c3b141b352982f725d [diff] [blame] |
allow publishing existing content object
diff --git a/include/ccnx-tunnel.h b/include/ccnx-tunnel.h index 61ed964..e4b8b50 100644 --- a/include/ccnx-tunnel.h +++ b/include/ccnx-tunnel.h
@@ -39,6 +39,9 @@ virtual int publishData(const string &name, const unsigned char *buf, size_t len, int freshness) _OVERRIDE; + int + publishContentObject(const string &name, const Bytes &contentObject, int freshness); + virtual int sendInterest (const Interest &interest, Closure *closure);