summaryrefslogtreecommitdiff
path: root/popt/findme.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-16 17:20:16 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-16 17:20:16 +0200
commitc8bff39df639c70afc94b1795c94629ee8b7b482 (patch)
tree6331eaa4d41b0b907b44d862697c9c5ea17eaaae /popt/findme.h
parentec1c854f2175823bd1ad39c2e272d1b3fab80bf1 (diff)
downloadsamba-c8bff39df639c70afc94b1795c94629ee8b7b482.tar.gz
samba-c8bff39df639c70afc94b1795c94629ee8b7b482.tar.bz2
samba-c8bff39df639c70afc94b1795c94629ee8b7b482.zip
Use a single copy of popt in samba3 and samba4.
Diffstat (limited to 'popt/findme.h')
-rw-r--r--popt/findme.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/popt/findme.h b/popt/findme.h
new file mode 100644
index 0000000000..a016b867ea
--- /dev/null
+++ b/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