summaryrefslogtreecommitdiff
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-08-02 21:10:31 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-10-05 12:25:47 +0200
commitc7b56ca556f4ffd3e6fe941356c6abc4d16967d4 (patch)
tree46c7ebfedef3fcbbe72e731704af89ab4358a260 /src/calcurse.h
parent9dcb377a641841d66ed8c9c4b0ac960f609ff65a (diff)
downloadcalcurse-c7b56ca556f4ffd3e6fe941356c6abc4d16967d4.zip
Add a copy file routine
Add io_file_cp() which can be used to copy an existing source file to another location. We will need this for our new hash-based note file names. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index b1b8e75..8b82422 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -693,6 +693,7 @@ void io_set_lock (void);
unsigned io_dump_pid (char *);
unsigned io_get_pid (char *);
int io_file_is_empty (char *);
+int io_file_cp (const char *, const char *);
/* keys.c */
void keys_init (void);