path: root/src/gpg.c
authorSergey Poznyakoff <>2009-02-23 22:49:40 (GMT)
committer Sergey Poznyakoff <>2009-02-23 22:57:16 (GMT)
commit4213ec5ef9695aa504938c0e764ba9a4f08921b2 (patch) (side-by-side diff)
tree88ac2b2eb01337f0924d687df38b2a163bc94e11 /src/gpg.c
parent337a06f32fb530e0e0884fef2f5f630cca9911a1 (diff)
Initial implementation of daemon mode.
* gconf/gconf-gram.y (string_to_sockaddr_: Take struct gconf_sockaddr as the first argument. * gconf/gconf.h (struct gconf_sockaddr): New data type. * src/job.c, src/net.c, src/pidfile.c: New files. * src/ (wydawca_SOURCES): Add job.c, net.c, pidfile.c * src/cmdline.opt: New options: --cron (change semantics), --force, --foreground, --single-process, --spool * src/wydawca.c: New daemon mode. * src/config.c: New statements: spool.alias, daemon, foreground, single-process, wakeup-interval, pidfile, listen * src/directive.c, src/diskio.c, src/gpg.c, src/mail.c, src/null.c, src/process.c, src/triplet.c, src/verify.c, src/vtab.c, src/wydawca.h: use static struct spool wherever feasible. * src/triplet.c: New meta-variable "spool" * tests/etc/wydawca.rcin: Update. * tests/ Update.
Diffstat (limited to 'src/gpg.c') (more/less context) (ignore whitespace changes)
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpg.c b/src/gpg.c
index d6e2301..6f7dfb6 100644
--- a/src/gpg.c
+++ b/src/gpg.c
@@ -203,7 +203,7 @@ gpg_sig_ok_p (gpgme_ctx_t ctx, gpgme_signature_t sig)
/* FIXME: spool currently unused */
verify_directive_signature (struct file_triplet *trp,
- struct spool *spool, const char *pubkey)
+ const struct spool *spool, const char *pubkey)
gpgme_ctx_t ctx;
gpgme_data_t key_data, directive_data, plain;
@@ -261,7 +261,7 @@ verify_directive_signature (struct file_triplet *trp,
a previous call to verify_directive_signature). */
verify_detached_signature (struct file_triplet *trp,
- struct spool *spool)
+ const struct spool *spool)
gpgme_engine_info_t info;
const char *argv[5];

Return to:

Send suggestions and report system problems to the System administrator.