/* ***************************************************************************** * * $RCSfile: lockutil.h,v $ * $Date: 1999/04/05 19:06:12 $ * $Source: /home/richard/Xml/RCS/lockutil.h,v $ * $Revision: 1.2 $ * $Author: richard $ * ***************************************************************************** * * Copyright 1998, Brown University and Richard Goerwitz * ***************************************************************************** */ #ifndef LOCKUTIL_H_INCLUDED #define LOCKUTIL_H_INCLUDED /* name of a file that's guaranteed to have no data, and always be there */ #define DUMMY_FILE_NAME "/dev/null" extern FILE *fopen_and_readlock (char *); extern FILE *fopen_and_writelock (char *); extern int fclose_and_unlock (FILE *); #endif /* LOCKUTIL_H_INCLUDED */