summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-05-27 11:38:18 -0400
committerNeil Moore <neil@s-z.org>2014-05-27 12:07:48 -0400
commitb6e3c3094cb829c04b85ceb4be1e5306485d03ce (patch)
treee536bf86b6f6844c6e069a46ac71ec8b8aae450d /crawl-ref/source/files.h
parentc5af6dabdc7ad82ab8c02263b25a7576451feac1 (diff)
downloadcrawl-ref-b6e3c3094cb829c04b85ceb4be1e5306485d03ce.tar.gz
crawl-ref-b6e3c3094cb829c04b85ceb4be1e5306485d03ce.zip
Function to open and lock new files only.
Currently unused, but there are plans.
Diffstat (limited to 'crawl-ref/source/files.h')
-rw-r--r--crawl-ref/source/files.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/files.h b/crawl-ref/source/files.h
index e722ef93ed..da13114b87 100644
--- a/crawl-ref/source/files.h
+++ b/crawl-ref/source/files.h
@@ -97,6 +97,7 @@ void save_ghost(bool force = false);
bool load_ghost(bool creating_level);
FILE *lk_open(const char *mode, const string &file);
+FILE *lk_open_exclusive(const string &file);
void lk_close(FILE *handle, const string &file);
// file locking stuff