summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-11-04 23:56:06 +0100
committerCarl Hetherington <cth@carlh.net>2025-11-09 00:34:26 +0100
commit06a52e28b747983c99211469bf13a7c19e9d1644 (patch)
tree8016f2bbfb01452fdb4444d2e49f34892e2e14ba /src/dcp.h
parentca23cd312a0f5f5ee5aa8665b2a2346d6f990b5c (diff)
Allow saving of CPL/PKL with original filenames.v1.10.38
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dcp.h b/src/dcp.h
index e1e2ce9c..d9a8c0c6 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -152,9 +152,13 @@ public:
/** Write all the XML files for this DCP.
* @param signer Signer to use
* @param name_format Name format to use for the CPL and PKL filenames
+ * @param filenames ORIGINAL to use original CPL and PKL filenames where available, NEW to
+ * always use name_format
+ * @param group_id Group UUID to write to PKL (or none to not write a GroupID tag)
*/
void write_xml(
std::shared_ptr<const CertificateChain> signer = std::shared_ptr<const CertificateChain>(),
+ Filenames filenames = Filenames::NEW,
NameFormat name_format = NameFormat("%t"),
boost::optional<std::string> group_id = boost::none
);