source: trunk/gsdl/lib/fileutil.h@ 224

Last change on this file since 224 was 224, checked in by rjmcnab, 25 years ago

Added more options for filename_cat.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 804 bytes
Line 
1/**********************************************************************
2 *
3 * fileutil.h -- a few useful file utilities
4 * Copyright (C) 1999 The New Zealand Digital Library Project
5 *
6 * PUT COPYRIGHT NOTICE HERE
7 *
8 * $Id: fileutil.h 224 1999-04-06 22:16:50Z rjmcnab $
9 *
10 *********************************************************************/
11
12
13#ifndef FILEUTIL_H
14#define FILEUTIL_H
15
16#include "text_t.h"
17
18
19// returns the proper concatenation of the two paths
20text_t filename_cat (text_t path1, text_t path2);
21text_t filename_cat (text_t path1, text_t path2, text_t path3);
22text_t filename_cat (text_t path1, text_t path2, text_t path3, text_t path4);
23text_t filename_cat (text_t path1, text_t path2, text_t path3, text_t path4,
24 text_t path5);
25
26// returns true if filename can be opened
27bool file_exists (const text_t &filename);
28
29
30#endif
Note: See TracBrowser for help on using the repository browser.