src/path.h

/* [<][>]
[^][v][top][bottom][index][help] */

FUNCTIONS

This source file includes following functions.

   1 /*
   2  * path.c  --- path string functions
   3  *
   4  */
   5 /*
   6  * Copyright (C) 1996-1999  Hirotsugu Kakugawa. 
   7  * All rights reserved.
   8  *
   9  * This file is part of the VFlib Library.  This library is free
  10  * software; you can redistribute it and/or modify it under the terms of
  11  * the GNU Library General Public License as published by the Free
  12  * Software Foundation; either version 2 of the License, or (at your
  13  * option) any later version.  This library is distributed in the hope
  14  * that it will be useful, but WITHOUT ANY WARRANTY; without even the
  15  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  16  * PURPOSE.  See the GNU Library General Public License for more details.
  17  * You should have received a copy of the GNU Library General Public
  18  * License along with this library; if not, write to the Free Software
  19  * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  20  */
  21 
  22 
  23 #ifndef __VFLIB_PATH_H__
  24 #define __VFLIB_PATH_H__
  25 
  26 extern char  *vf_path_core_subst_ext(char *f, char *ext);
  27 extern char  *vf_path_base(char *f);
  28 extern char  *vf_path_base_core(char *f);
  29 extern int    vf_path_absolute(char *f);
  30 extern int    vf_path_file_read_ok(char *f);
  31 extern int    vf_path_directory_read_ok(char *f);
  32 extern int    vf_path_terminated_by_delim(char *f);
  33 extern int    vf_path_terminated_by_2delims(char *f);
  34 extern void   vf_path_del_terminating_2delims(char *f);
  35 extern int    vf_path_cons_path(char *path, int n, char *dir, char *file);
  36 extern int    vf_path_cons_path2(char *path, int n, 
  37                                  char *dir, char *file, char *ext);
  38 extern int    vf_path_concat(char *path, int n, char *f);
  39 extern char  *vf_path_runtime_dir(char *subdir, char *envname);
  40 extern char  *vf_path_find_runtime_file(char *subdir, char *file,
  41                                         char *envname);
  42 
  43 #endif /*__VFLIB_PATH_H__*/

/* [<][>][^][v][top][bottom][index][help] */