aboutsummaryrefslogtreecommitdiffstats
path: root/jnlib/mischelp.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-08-24 09:34:39 +0000
committerWerner Koch <[email protected]>2007-08-24 09:34:39 +0000
commit503f91e0aea99fe09064e29ec9df1ded1a3bd3c3 (patch)
treee3dd4b252d6d05a5aa15aea799ab9447ea74ccbd /jnlib/mischelp.h
parentAdd new features to kbxutil. (diff)
downloadgnupg-503f91e0aea99fe09064e29ec9df1ded1a3bd3c3.tar.gz
gnupg-503f91e0aea99fe09064e29ec9df1ded1a3bd3c3.zip
tryu harder to ignore duplicate specified keyrings and -boxes.
Documentation updates.
Diffstat (limited to 'jnlib/mischelp.h')
-rw-r--r--jnlib/mischelp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/jnlib/mischelp.h b/jnlib/mischelp.h
index a00764106..2f003e1ce 100644
--- a/jnlib/mischelp.h
+++ b/jnlib/mischelp.h
@@ -1,6 +1,6 @@
/* mischelp.h - Miscellaneous helper macros and functions
* Copyright (C) 1999, 2000, 2001, 2002, 2003,
- * 2006 Free Software Foundation, Inc.
+ * 2006, 2007 Free Software Foundation, Inc.
*
* This file is part of JNLIB.
*
@@ -22,6 +22,11 @@
#define LIBJNLIB_MISCHHELP_H
+/* Check whether the files NAME1 and NAME2 are identical. This is for
+ example achieved by comparing the inode numbers of the files. */
+int same_file_p (const char *name1, const char *name2);
+
+
#ifndef HAVE_TIMEGM
#include <time.h>
time_t timegm (struct tm *tm);