Added NDN_ERROR_unrecognized_ndn_KeyLocatorType
diff --git a/ndn-cpp/c/errors.c b/ndn-cpp/c/errors.c
index 0280130..438c9c3 100644
--- a/ndn-cpp/c/errors.c
+++ b/ndn-cpp/c/errors.c
@@ -48,6 +48,8 @@
return "DynamicUCharArray realloc failed";
case NDN_ERROR_unrecognized_ndn_ExcludeType:
return "unrecognized ndn_ExcludeType";
+ case NDN_ERROR_unrecognized_ndn_KeyLocatorType:
+ return "unrecognized ndn_KeyLocatorType";
default:
return "unrecognized ndn_Error code";
}
diff --git a/ndn-cpp/c/errors.h b/ndn-cpp/c/errors.h
index 3b53804..67b6061 100644
--- a/ndn-cpp/c/errors.h
+++ b/ndn-cpp/c/errors.h
@@ -31,7 +31,8 @@
NDN_ERROR_findElementEnd_unrecognized_state,
NDN_ERROR_DynamicUCharArray_realloc_function_pointer_not_supplied,
NDN_ERROR_DynamicUCharArray_realloc_failed,
- NDN_ERROR_unrecognized_ndn_ExcludeType
+ NDN_ERROR_unrecognized_ndn_ExcludeType,
+ NDN_ERROR_unrecognized_ndn_KeyLocatorType
} ndn_Error;
/**