| 1 |
/* @(#)pathlist.h 17.1 (ESO-IPG) 01/25/02 17:26:04 */ |
| 2 |
/*--------------------------------------------------------------------- |
| 3 |
* $Date: 2003-06-04 14:49:18 $ $Revision: 1.1.1.1 $ |
| 4 |
*--------------------------------------------------------------------- |
| 5 |
* |
| 6 |
* |
| 7 |
* Copyright (c) 1992, Visual Edge Software Ltd. |
| 8 |
* |
| 9 |
* ALL RIGHTS RESERVED. Permission to use, copy, modify, and |
| 10 |
* distribute this software and its documentation for any purpose |
| 11 |
* and without fee is hereby granted, provided that the above |
| 12 |
* copyright notice appear in all copies and that both that |
| 13 |
* copyright notice and this permission notice appear in supporting |
| 14 |
* documentation, and that the name of Visual Edge Software not be |
| 15 |
* used in advertising or publicity pertaining to distribution of |
| 16 |
* the software without specific, written prior permission. The year |
| 17 |
* included in the notice is the year of the creation of the work. |
| 18 |
*-------------------------------------------------------------------*/ |
| 19 |
|
| 20 |
#ifndef _PATHLIST_INCLUDED |
| 21 |
#define _PATHLIST_INCLUDED |
| 22 |
|
| 23 |
#include "uxproto.h" |
| 24 |
#include "dstring.h" |
| 25 |
|
| 26 |
#ifdef __cplusplus |
| 27 |
extern "C" { |
| 28 |
#endif /* __cplusplus */ |
| 29 |
|
| 30 |
|
| 31 |
typedef dstring *pathlist; |
| 32 |
|
| 33 |
extern int UxFileExists UXPROTO(( char* )); |
| 34 |
extern pathlist UxInitPath UXPROTO(( char* )); |
| 35 |
extern void UxAddPath UXPROTO(( pathlist, char* )); |
| 36 |
extern void UxResetPath UXPROTO(( pathlist, char* )); |
| 37 |
extern void UxFreePath UXPROTO(( pathlist )); |
| 38 |
extern char *UxGetPath UXPROTO(( pathlist )); |
| 39 |
extern char *UxExpandFilename UXPROTO(( pathlist, char* )); |
| 40 |
extern char *UxExpandAllFilenames UXPROTO(( pathlist, char* )); |
| 41 |
extern char *UxGetFilename UXPROTO(( char* )); |
| 42 |
|
| 43 |
#ifdef __cplusplus |
| 44 |
} /* Close scope of 'extern "C"' declaration which encloses file. */ |
| 45 |
#endif /* __cplusplus */ |
| 46 |
|
| 47 |
|
| 48 |
#endif /* _PATHLIST_INCLUDED */ |