about summary refs log tree commit diff
path: root/src/fix-ng/primops.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/fix-ng/primops.hh')
-rw-r--r--src/fix-ng/primops.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/fix-ng/primops.hh b/src/fix-ng/primops.hh
index 41b572c688d9..e48883b0bb01 100644
--- a/src/fix-ng/primops.hh
+++ b/src/fix-ng/primops.hh
@@ -19,4 +19,13 @@ Expr primImport(EvalState & state, Expr arg);
 Expr primDerivation(EvalState & state, Expr args);
 
 
+/* Return the base name of the given string, i.e., everything
+   following the last slash. */
+Expr primBaseNameOf(EvalState & state, Expr arg);
+
+
+/* Convert the argument (which can be a path or a uri) to a string. */
+Expr primToString(EvalState & state, Expr arg);
+
+
 #endif /* !__PRIMOPS_H */