[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/include il_system.h,1.12,1.13
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/include il_system.h,1.12,1.13 |
Date: |
Sun, 15 Dec 2002 20:17:29 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/include
In directory subversions:/tmp/cvs-serv11000/include
Modified Files:
il_system.h
Log Message:
Centralize the path-searching code to make it easier to vary
the install location on systems such as Win32.
Index: il_system.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/il_system.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** il_system.h 6 Nov 2002 03:17:41 -0000 1.12
--- il_system.h 16 Dec 2002 01:17:26 -0000 1.13
***************
*** 179,182 ****
--- 179,200 ----
void ILCacheFlush(void *buf, long length);
+ /*
+ * Get the location of a standard library directory. e.g.
"${prefix}/lib/tail".
+ * Returns NULL if not found. Use "ILFree" to free the return value.
+ */
+ char *ILGetStandardLibraryPath(const char *tail);
+
+ /*
+ * Get the location of a standard program directory. e.g. "${prefix}/bin".
+ * Returns NULL if not found. Use "ILFree" to free the return value.
+ */
+ char *ILGetStandardProgramPath(void);
+
+ /*
+ * Search a path variable for a particular file. Returns NULL if not
+ * found. Use "ILFree" to free the return value.
+ */
+ char *ILSearchPath(const char *path, const char *name, int isExe);
+
#ifdef __cplusplus
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/include il_system.h,1.12,1.13,
Rhys Weatherley <address@hidden> <=