summaryrefslogtreecommitdiff
path: root/rc.h
diff options
context:
space:
mode:
authorAntti-Juhani Kaijanaho <ajk@debian.org>2006-01-28 21:10:55 +0100
committerAntti-Juhani Kaijanaho <ajk@debian.org>2006-01-28 21:10:55 +0100
commit4c90b78306e1334e1bd6dcb105d9bb4d5f53a845 (patch)
tree65b3c9e54508bd4f800ae6caed260c85a29248ce /rc.h
downloaddctrl-tools-4c90b78306e1334e1bd6dcb105d9bb4d5f53a845.tar.gz
Import 1.100
Diffstat (limited to 'rc.h')
-rw-r--r--rc.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/rc.h b/rc.h
new file mode 100644
index 0000000..c080f6f
--- /dev/null
+++ b/rc.h
@@ -0,0 +1,30 @@
+/* dctrl-tools - Debian control file inspection tools
+ Copyright (C) 1999, 2003 Antti-Juhani Kaijanaho
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef RC_H__
+#define RC_H__
+
+/* Search for exename (only basename, though) in rcfname (or if it is
+ null, in default rc files) and return the found corresponding
+ default input file name, or null, if not found or other error
+ occurred. The returned pointer will be invalidated by the next
+ call to this function. */
+const char *
+find_ifile_by_exename (const char * exename, const char * rcfname);
+
+#endif