]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
Centralize replacement of "$$s"
[lyx.git] / src / support / filetools.h
index 92c6eb57e7ec8b50edac51e06051cfb282e40067..c13b5b3fc4eb0d3724ae0a61f2c540a966b55a3e 100644 (file)
@@ -125,8 +125,7 @@ enum quote_style {
  *  command will still fail, but the error message will make some sort of
  *  sense ;-)
  */
-std::string const libScriptSearch(std::string const & command,
-               quote_style style = quote_shell);
+std::string const libScriptSearch(std::string const & command);
 
 enum latex_path_extension {
        PROTECT_EXTENSION,
@@ -292,6 +291,8 @@ typedef std::pair<int, std::string> cmd_ret;
 
 cmd_ret const runCommand(std::string const & cmd);
 
+int fileLock(const char * lock_file);
+void fileUnlock(int fd, const char * lock_file);
 
 } // namespace support
 } // namespace lyx