aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-06-21 18:44:48 +0000
committerWerner Koch <[email protected]>2007-06-21 18:44:48 +0000
commit0b66f30d66fadbfd1a949edbe765043b06c5931b (patch)
treee2e33a51151de2deac0d4e43cd7bc38429fe2965 /common/util.h
parent[w32] gpg-agent is now started automagically by gpgsm. (diff)
downloadgnupg-0b66f30d66fadbfd1a949edbe765043b06c5931b.tar.gz
gnupg-0b66f30d66fadbfd1a949edbe765043b06c5931b.zip
Implemented the --gen-key command as we can't use the gpgsm-gencert.sh under Windows.
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/util.h b/common/util.h
index 42df1274f..39858216f 100644
--- a/common/util.h
+++ b/common/util.h
@@ -46,7 +46,6 @@
#define asprintf estream_asprintf
#define vasprintf estream_vasprintf
-
/* GCC attributes. */
#if __GNUC__ >= 4
# define GNUPG_GCC_A_SENTINEL(a) __attribute__ ((sentinel(a)))
@@ -246,5 +245,10 @@ ttyname (int fd)
#define xtoi_4(p) ((xtoi_2(p) * 256) + xtoi_2((p)+2))
+/*-- Forward declaration of the commonly used server control structure. */
+/* (We need it here as it is used by some callback prototypes.) */
+struct server_control_s;
+typedef struct server_control_s *ctrl_t;
+
#endif /*GNUPG_COMMON_UTIL_H*/