Pathnames detection generalized, no longer 'configuration' specific.
[udpgate.git] / src / pathname.h
similarity index 77%
rename from src/configuration-pathname.h
rename to src/pathname.h
index 102624e..4673dab 100644 (file)
@@ -17,8 +17,8 @@
  */
 
 
-#ifndef _UDPGATE_CONFIGURATION_PATHNAME_H
-#define _UDPGATE_CONFIGURATION_PATHNAME_H 1
+#ifndef _UDPGATE_PATHNAME_H
+#define _UDPGATE_PATHNAME_H 1
 
 
 #include <glib/gtypes.h>
 
 G_BEGIN_DECLS
 
-G_CONST_RETURN gchar *configuration_pathname(void);
+G_CONST_RETURN gchar *vpathname_find(const gchar **static_pathname_pointer,va_list ap);
+G_CONST_RETURN gchar *pathname_find(const gchar **static_pathname_pointer,...);
 
 G_END_DECLS
 
 
-#endif /* _UDPGATE_CONFIGURATION_PATHNAME_H */
+#endif /* _UDPGATE_PATHNAME_H */