summaryrefslogtreecommitdiff
path: root/lib/popt/findme.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/popt/findme.h')
-rw-r--r--lib/popt/findme.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/popt/findme.h b/lib/popt/findme.h
new file mode 100644
index 0000000000..a016b867ea
--- /dev/null
+++ b/lib/popt/findme.h
@@ -0,0 +1,20 @@
+/** \ingroup popt
+ * \file popt/findme.h
+ */
+
+/* (C) 1998-2000 Red Hat, Inc. -- Licensing details are in the COPYING
+ file accompanying popt source distributions, available from
+ ftp://ftp.rpm.org/pub/rpm/dist. */
+
+#ifndef H_FINDME
+#define H_FINDME
+
+/**
+ * Return absolute path to executable by searching PATH.
+ * @param argv0 name of executable
+ * @return (malloc'd) absolute path to executable (or NULL)
+ */
+/*@null@*/ const char * findProgramPath(/*@null@*/ const char * argv0)
+ /*@*/;
+
+#endif