Buffer traits: add `platform`
[platform/core/system/dlog.git] / include / buffer_traits.h
index c7fe8f7..b05cc7b 100644 (file)
@@ -54,6 +54,14 @@ char * log_name_by_id(log_id_t id);
 bool is_core_buffer(log_id_t id);
 
 /**
+ * @brief Is platform buffer
+ * @details Returns whether given buffer is meant for platform use
+ * @param[in] id The ID of the buffer
+ * @return boolean
+ */
+bool is_platform_buffer(log_id_t id);
+
+/**
  * @brief Is buffer valid
  * @details Returns whether given buffer ID represents an actual buffer
  * @param[in] id The ID of the buffer