diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-04-07 00:31:01 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-04-07 00:35:27 -0400 |
commit | 749f6041a00b218a7d1fe668fa5efd455563e92e (patch) | |
tree | 1784754588354c765304e1360a6ac2747bb75ef1 /razor.h | |
parent | 6f98c9947e0f2768f0ee44fabc352f8187889952 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 * |