extern key_data *key_newencrypted(unsigned /*e*/,
const void */*p*/, size_t /*sz*/);
-/* --- @key_mewmp@ --- *
+/* --- @key_newmp@ --- *
*
* Arguments: @unsigned e@ = other encoding flags
* @mp *m@ = pointer to the value to set
dstr */*d*/, void */*p*/),
void */*p*/);
+/* --- @key_copydata@ --- *
+ *
+ * Arguments: @key_data *k@ = key data to copy
+ * @const key_filter *kf@ = pointer to filter block
+ *
+ * Returns: Pointer to a copy of the data, or null if the root subkey
+ * didn't match the filter.
+ *
+ * Use: Copies a chunk of key data. Subkeys, whether they're
+ * structured or leaves, which don't match the filter aren't
+ * copied. The copy may or may not have structure in common
+ * with the original.
+ */
+
+extern key_data *key_copydata(key_data */*k*/, const key_filter */*kf*/);
+
/*----- Textual encoding --------------------------------------------------*/
/* --- @key_read@ --- *