summaryrefslogtreecommitdiff
path: root/razor.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-04-07 00:31:01 -0400
committerKristian Høgsberg <krh@redhat.com>2008-04-07 00:35:27 -0400
commit749f6041a00b218a7d1fe668fa5efd455563e92e (patch)
tree1784754588354c765304e1360a6ac2747bb75ef1 /razor.h
parent6f98c9947e0f2768f0ee44fabc352f8187889952 (diff)
Create the new repo file O_EXCL to prevent racing with another razor process.
And remember to clean it up on exit paths.
Diffstat (limited to 'razor.h')
-rw-r--r--razor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/razor.h b/razor.h
index cc6a869..62e8e5f 100644
--- a/razor.h
+++ b/razor.h
@@ -26,6 +26,7 @@ extern const char * const razor_version_relations[];
struct razor_set *razor_set_create(void);
struct razor_set *razor_set_open(const char *filename);
void razor_set_destroy(struct razor_set *set);
+int razor_set_write_to_fd(struct razor_set *set, int fd);
int razor_set_write(struct razor_set *set, const char *filename);
struct razor_package *