]> git.sur5r.net Git - cc65/blobdiff - src/common/fname.h
Only for jumps, the lib uses named asm labels in branches
[cc65] / src / common / fname.h
index 671bf80432e014389a73b56f2967ddcc4fb8534c..1b94d270c8bd641d0ae6e3eef1d994d8de937dd5 100644 (file)
@@ -1,15 +1,15 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                 fname.h                                  */
+/*                                  fname.h                                  */
 /*                                                                           */
-/*                      File name handling utilities                        */
+/*                       File name handling utilities                        */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000      Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
-/* EMail:        uz@musoftware.de                                            */
+/* (C) 2000-2003 Ullrich von Bassewitz                                       */
+/*               Roemerstrasse 52                                            */
+/*               D-70794 Filderstadt                                         */
+/* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 
 
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
 
+const char* FindExt (const char* Name);
+/* Return a pointer to the file extension in Name or NULL if there is none */
+
+const char* FindName (const char* Path);
+/* Return a pointer to the file name in Path. If there is no path leading to
+** the file, the function returns Path as name.
+*/
+
 char* MakeFilename (const char* Origin, const char* Ext);
 /* Make a new file name from Origin and Ext. If Origin has an extension, it
- * is removed and Ext is appended. If Origin has no extension, Ext is simply
- * appended. The result is placed in a malloc'ed buffer and returned.
- * The function may be used to create "foo.o" from "foo.s".
- */
+** is removed and Ext is appended. If Origin has no extension, Ext is simply
+** appended. The result is placed in a malloc'ed buffer and returned.
+** The function may be used to create "foo.o" from "foo.s".
+*/
 
 
 
 /* End of fname.h */
 
 #endif
-
-
-