2001-02-13 Werner Koch <wk@gnupg.org>
+ * rungpg.c (struct reap_s): Replaced pid_t by int.
+
+ * types.h: Add ulong typedef.
+
* rungpg.c (do_reaping,_gpgme_gpg_housecleaning): New.
(_gpgme_gpg_release): Reap children.
* io.h, posix-io.c (_gpgme_io_kill): New.
#include "gpgme.h" /* external objects and prototypes */
+#ifndef HAVE_BYTE_TYPEDEF
typedef unsigned char byte;
+#endif
+#ifndef HAVE_ULONG_TYPEDEF
+typedef unsigned long ulong;
+#endif
typedef enum {
printf ("Verification Status: %s\n", status_string (status));
for(idx=0; (s=gpgme_get_sig_status (ctx, idx, &status, &created)); idx++ ) {
- printf ("sig %d: created: %lu status: %s\n", idx, (ulong)created,
+ printf ("sig %d: created: %lu status: %s\n", idx, (unsigned long)created,
status_string(status) );
printf ("sig %d: fpr/keyid=`%s'\n", idx, s );
if ( !gpgme_get_sig_key (ctx, idx, &key) ) {