* kdbus_meta_append_data() - append given raw data to metadata object
* @meta: Metadata object
* @type: KDBUS_ITEM_* type
- * @data: pointer to data to copy from
+ * @data: pointer to data to copy from. If it is NULL
+ * then just make space in the metadata buffer.
* @len: number of bytes to copy
*
* Return: 0 on success, negative errno on failure.
/**
* struct kdbus_meta - metadata buffer
* @attached: Flags for already attached data
- * @domain: Domain the metadata belongs to
+ * @domain: Domain the metadata belongs to
* @data: Allocated buffer
* @size: Number of bytes used
* @allocated_size: Size of buffer
+ * @creds_item_off The offset of the creds item in the @data
+ * buffer field, if the user requested this
+ * metainfo in its attach flags. 0 if unused.
+ * @auxgrps_item_off The offset of the auxgroups item in the
+ * @data buffer field, if the user requested
+ * this metainfo. 0 if unused.
*
* Used to collect and store connection metadata in a pre-compiled
* buffer containing struct kdbus_item.