Code style: replace tabs with spaces
diff --git a/ndn-cpp/c/data.h b/ndn-cpp/c/data.h
index 7d25bac..c8d97fc 100644
--- a/ndn-cpp/c/data.h
+++ b/ndn-cpp/c/data.h
@@ -4,20 +4,20 @@
  */
 
 #ifndef NDN_DATA_H
-#define	NDN_DATA_H
+#define NDN_DATA_H
 
 #include "name.h"
 #include "publisher-public-key-digest.h"
 #include "key.h"
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 extern "C" {
 #endif
 
 struct ndn_Signature {
   unsigned char *digestAlgorithm;      /**< pointer to pre-allocated buffer.  0 for none.
                                         *   If none, default is 2.16.840.1.101.3.4.2.1 (sha-256). */
-  unsigned int digestAlgorithmLength; /**< length of digestAlgorithm.  0 for none */
+  unsigned int digestAlgorithmLength;  /**< length of digestAlgorithm.  0 for none */
   unsigned char *witness;              /**< pointer to pre-allocated buffer.  0 for none. */
   unsigned int witnessLength;          /**< length of witness.  0 for none */
   unsigned char *signature;
@@ -47,7 +47,7 @@
   double timestampMilliseconds;    /**< milliseconds since 1/1/1970. -1 for none */
   int type;                        /**< default is ndn_ContentType_DATA. -1 for none */
   int freshnessSeconds;            /**< -1 for none */
-	unsigned char *finalBlockID;	   /**< pointer to pre-allocated buffer.  0 for none */
+  unsigned char *finalBlockID;     /**< pointer to pre-allocated buffer.  0 for none */
   unsigned int finalBlockIDLength; /**< length of finalBlockID.  0 for none */
   struct ndn_KeyLocator keyLocator;
 };
@@ -89,7 +89,7 @@
   self->contentLength = 0;
 }
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 }
 #endif
 
diff --git a/ndn-cpp/c/encoding/binary-xml-data.c b/ndn-cpp/c/encoding/binary-xml-data.c
index 385d229..776ca74 100644
--- a/ndn-cpp/c/encoding/binary-xml-data.c
+++ b/ndn-cpp/c/encoding/binary-xml-data.c
@@ -27,7 +27,7 @@
       (encoder, ndn_BinaryXml_DTag_SignatureBits, signature->signature, signature->signatureLength))
     return error;
   
-	if (error = ndn_BinaryXmlEncoder_writeElementClose(encoder))
+  if (error = ndn_BinaryXmlEncoder_writeElementClose(encoder))
     return error;
   
   return 0;    
@@ -90,7 +90,7 @@
   if (error = ndn_encodeBinaryXmlKeyLocator(&signedInfo->keyLocator, encoder))
     return error;
   
-	if (error = ndn_BinaryXmlEncoder_writeElementClose(encoder))
+  if (error = ndn_BinaryXmlEncoder_writeElementClose(encoder))
     return error;
   
   return 0;  
@@ -148,7 +148,7 @@
       (encoder, ndn_BinaryXml_DTag_Content, data->content, data->contentLength))
     return error;
   
-	if (error = ndn_BinaryXmlEncoder_writeElementClose(encoder))
+  if (error = ndn_BinaryXmlEncoder_writeElementClose(encoder))
     return error;
   
   return 0;
diff --git a/ndn-cpp/c/encoding/binary-xml-data.h b/ndn-cpp/c/encoding/binary-xml-data.h
index ebe2370..32c0cfb 100644
--- a/ndn-cpp/c/encoding/binary-xml-data.h
+++ b/ndn-cpp/c/encoding/binary-xml-data.h
@@ -4,14 +4,14 @@
  */
 
 #ifndef NDN_BINARY_XML_DATA_H
-#define	NDN_BINARY_XML_DATA_H
+#define NDN_BINARY_XML_DATA_H
 
 #include "../errors.h"
 #include "../data.h"
 #include "binary-xml-encoder.h"
 #include "binary-xml-decoder.h"
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 extern "C" {
 #endif
 
@@ -19,7 +19,7 @@
 
 ndn_Error ndn_decodeBinaryXmlData(struct ndn_Data *data, struct ndn_BinaryXmlDecoder *decoder);
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 }
 #endif
 
diff --git a/ndn-cpp/c/encoding/binary-xml-decoder.c b/ndn-cpp/c/encoding/binary-xml-decoder.c
index 7e2140d..a6d7bfa 100644
--- a/ndn-cpp/c/encoding/binary-xml-decoder.c
+++ b/ndn-cpp/c/encoding/binary-xml-decoder.c
@@ -56,12 +56,12 @@
   unsigned int value = 0;
   int gotFirstOctet = 0;
   
-	while (1) {
+  while (1) {
     if (self->offset >= self->inputLength)
       return NDN_ERROR_read_past_the_end_of_the_input;
     
-		unsigned int octet = unsafeReadOctet(self);
-		
+    unsigned int octet = unsafeReadOctet(self);
+    
     if (!gotFirstOctet) {
       if (octet == 0)
         return NDN_ERROR_the_first_header_octet_may_not_be_zero;
@@ -69,17 +69,17 @@
       gotFirstOctet = 1;
     }
     
-		if (octet & ndn_BinaryXml_TT_FINAL) {
+    if (octet & ndn_BinaryXml_TT_FINAL) {
       // Finished.
-			*type = octet & ndn_BinaryXml_TT_MASK;
-			value = (value << ndn_BinaryXml_TT_VALUE_BITS) | ((octet >> ndn_BinaryXml_TT_BITS) & ndn_BinaryXml_TT_VALUE_MASK);
+      *type = octet & ndn_BinaryXml_TT_MASK;
+      value = (value << ndn_BinaryXml_TT_VALUE_BITS) | ((octet >> ndn_BinaryXml_TT_BITS) & ndn_BinaryXml_TT_VALUE_MASK);
       break;
-		}
-		
-    value = (value << ndn_BinaryXml_REGULAR_VALUE_BITS) | (octet & ndn_BinaryXml_REGULAR_VALUE_MASK);		
-	}
+    }
+    
+    value = (value << ndn_BinaryXml_REGULAR_VALUE_BITS) | (octet & ndn_BinaryXml_REGULAR_VALUE_MASK);    
+  }
 
-	*valueOut = value;
+  *valueOut = value;
   return 0;
 }
 
diff --git a/ndn-cpp/c/encoding/binary-xml-decoder.h b/ndn-cpp/c/encoding/binary-xml-decoder.h
index 87e1b7a..bd1197b 100644
--- a/ndn-cpp/c/encoding/binary-xml-decoder.h
+++ b/ndn-cpp/c/encoding/binary-xml-decoder.h
@@ -4,11 +4,11 @@
  */
 
 #ifndef NDN_BINARYXMLDECODER_H
-#define	NDN_BINARYXMLDECODER_H
+#define NDN_BINARYXMLDECODER_H
 
 #include "../errors.h"
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 extern "C" {
 #endif
 
@@ -173,7 +173,7 @@
   self->offset = offset;
 }
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 }
 #endif
 
diff --git a/ndn-cpp/c/encoding/binary-xml.h b/ndn-cpp/c/encoding/binary-xml.h
index eb5d2b4..37abe96 100644
--- a/ndn-cpp/c/encoding/binary-xml.h
+++ b/ndn-cpp/c/encoding/binary-xml.h
@@ -4,14 +4,14 @@
  */
 
 #ifndef NDN_BINARYXML_H
-#define	NDN_BINARYXML_H
+#define NDN_BINARYXML_H
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 extern "C" {
 #endif
 
 enum {
-  ndn_BinaryXml_EXT = 0x00, 	
+  ndn_BinaryXml_EXT = 0x00,   
   ndn_BinaryXml_TAG = 0x01, 
   ndn_BinaryXml_DTAG = 0x02, 
   ndn_BinaryXml_ATTR = 0x03, 
@@ -40,14 +40,14 @@
   ndn_BinaryXml_DTag_ContentHash = 22,
   ndn_BinaryXml_DTag_Count = 24,
   ndn_BinaryXml_DTag_Header = 25,
-  ndn_BinaryXml_DTag_Interest = 26,	/* 20090915 */
+  ndn_BinaryXml_DTag_Interest = 26,  /* 20090915 */
   ndn_BinaryXml_DTag_Key = 27,
   ndn_BinaryXml_DTag_KeyLocator = 28,
   ndn_BinaryXml_DTag_KeyName = 29,
   ndn_BinaryXml_DTag_Length = 30,
   ndn_BinaryXml_DTag_Link = 31,
   ndn_BinaryXml_DTag_LinkAuthenticator = 32,
-  ndn_BinaryXml_DTag_NameComponentCount = 33,	/* DeprecatedInInterest */
+  ndn_BinaryXml_DTag_NameComponentCount = 33,  /* DeprecatedInInterest */
   ndn_BinaryXml_DTag_RootDigest = 36,
   ndn_BinaryXml_DTag_Signature = 37,
   ndn_BinaryXml_DTag_Start = 38,
@@ -70,7 +70,7 @@
   ndn_BinaryXml_DTag_PublisherCertificateDigest = 61,
   ndn_BinaryXml_DTag_PublisherIssuerKeyDigest = 62,
   ndn_BinaryXml_DTag_PublisherIssuerCertificateDigest = 63,
-  ndn_BinaryXml_DTag_ContentObject = 64,	/* 20090915 */
+  ndn_BinaryXml_DTag_ContentObject = 64,  /* 20090915 */
   ndn_BinaryXml_DTag_WrappedKey = 65,
   ndn_BinaryXml_DTag_WrappingKeyIdentifier = 66,
   ndn_BinaryXml_DTag_WrapAlgorithm = 67,
@@ -137,7 +137,7 @@
   ndn_BinaryXml_DTag_CCNProtocolDataUnit = 17702112
 };
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 }
 #endif
 
diff --git a/ndn-cpp/c/errors.h b/ndn-cpp/c/errors.h
index 7400bf1..1f9de76 100644
--- a/ndn-cpp/c/errors.h
+++ b/ndn-cpp/c/errors.h
@@ -5,9 +5,9 @@
  */
 
 #ifndef NDN_ERRORS_H
-#define	NDN_ERRORS_H
+#define NDN_ERRORS_H
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 extern "C" {
 #endif
 
@@ -50,7 +50,7 @@
  */
 char *ndn_getErrorString(int error);
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 }
 #endif
 
diff --git a/ndn-cpp/c/util/ndn_memory.h b/ndn-cpp/c/util/ndn_memory.h
index 00202a6..b40f9ef 100644
--- a/ndn-cpp/c/util/ndn_memory.h
+++ b/ndn-cpp/c/util/ndn_memory.h
@@ -8,11 +8,11 @@
  */
 
 #ifndef NDN_MEMORY_H
-#define	NDN_MEMORY_H
+#define NDN_MEMORY_H
 
 #include "../../../config.h"
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 extern "C" {
 #endif
 
@@ -55,7 +55,7 @@
 void ndn_memset(unsigned char *dest, int val, unsigned int len);
 #endif
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 }
 #endif
 
diff --git a/ndn-cpp/c/util/ndn_realloc.h b/ndn-cpp/c/util/ndn_realloc.h
index db9470d..bca997a 100644
--- a/ndn-cpp/c/util/ndn_realloc.h
+++ b/ndn-cpp/c/util/ndn_realloc.h
@@ -4,9 +4,9 @@
  */
 
 #ifndef NDN_NDN_REALLOC_H
-#define	NDN_NDN_REALLOC_H
+#define NDN_NDN_REALLOC_H
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 extern "C" {
 #endif
 
@@ -19,7 +19,7 @@
  */
 unsigned char *ndn_realloc(unsigned char *array, unsigned int length);
 
-#ifdef	__cplusplus
+#ifdef __cplusplus
 }
 #endif
 
diff --git a/ndn-cpp/common.hpp b/ndn-cpp/common.hpp
index 18c8069..c20f3d6 100644
--- a/ndn-cpp/common.hpp
+++ b/ndn-cpp/common.hpp
@@ -37,7 +37,7 @@
  */
 static inline void setVector(std::vector<unsigned char> &vec, const unsigned char *value, unsigned int valueLength) 
 {
-	vec.clear();
+  vec.clear();
   if (value)
     vec.insert(vec.begin(), value, value + valueLength);  
 }
diff --git a/ndn-cpp/data.hpp b/ndn-cpp/data.hpp
index 0b0dd3e..5bf1e60 100644
--- a/ndn-cpp/data.hpp
+++ b/ndn-cpp/data.hpp
@@ -4,7 +4,7 @@
  */
 
 #ifndef NDN_DATA_HPP
-#define	NDN_DATA_HPP
+#define NDN_DATA_HPP
 
 #include "name.hpp"
 #include "publisher-public-key-digest.hpp"
diff --git a/ndn-cpp/encoding/binary-xml-decoder.hpp b/ndn-cpp/encoding/binary-xml-decoder.hpp
index 2848457..d4304b0 100644
--- a/ndn-cpp/encoding/binary-xml-decoder.hpp
+++ b/ndn-cpp/encoding/binary-xml-decoder.hpp
@@ -4,7 +4,7 @@
  */
 
 #ifndef NDN_BINARYXMLDECODER_HPP
-#define	NDN_BINARYXMLDECODER_HPP
+#define NDN_BINARYXMLDECODER_HPP
 
 #include <stdexcept>
 #include "../c/errors.h"
diff --git a/ndn-cpp/face.hpp b/ndn-cpp/face.hpp
index fe700ef..a730161 100644
--- a/ndn-cpp/face.hpp
+++ b/ndn-cpp/face.hpp
@@ -4,7 +4,7 @@
  */
 
 #ifndef NDN_FACE_HPP
-#define	NDN_FACE_HPP
+#define NDN_FACE_HPP
 
 #include "closure.hpp"
 #include "interest.hpp"