diff options
Diffstat (limited to 'src/wydawca.h')
-rw-r--r-- | src/wydawca.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wydawca.h b/src/wydawca.h index 805b72b..96fd336 100644 --- a/src/wydawca.h +++ b/src/wydawca.h @@ -272,24 +272,25 @@ enum notification_target { notify_read, /* Read recipients from the message headers */ notify_admin, /* System administrator */ notify_owner, /* Project admin */ notify_user /* User (uploader) */ }; struct notification { struct notification *next; enum notification_event ev; enum notification_target tgt; + const char *sign_keys; const char *msg; }; void register_message_template (const char *name, const char *text); void notify (struct notification *, struct file_triplet *, enum notification_event); const char *notification_event_str (enum notification_event evt); const char *notification_target_str (enum notification_target tgt); @@ -318,41 +319,44 @@ extern int dry_run_mode; /* Dry run indicator */ extern int log_to_stderr; /* Log to stderr instead of the syslog */ extern int log_facility; /* Syslog facility to use if !log_to_stderr */ extern char *syslog_tag; /* Syslog tag */ extern int syslog_include_prio;/* Syslog priority indication */ extern time_t file_sweep_time; /* Unlink stale file after this amount of time */ extern char *tar_command_name; /* Name of the tar command */ extern unsigned wydawca_stat[MAX_STAT]; extern unsigned long print_stats; extern int archive_signatures; extern char *admin_stat_message; +extern char *admin_stat_sign_key; extern char *pidfile; extern int force_startup; extern char *lockdir; extern time_t lock_expire_time; extern time_t lock_timeout; extern int enable_locking; extern int daemon_mode; extern time_t wakeup_interval; extern int foreground; extern int single_process; extern struct grecs_sockaddr listen_sockaddr; extern gl_list_t all_spool_aliases; +extern char *wydawca_gpg_homedir; + #define UPDATE_STATS(what) \ do \ { \ if (what >= MAX_STAT) abort(); \ wydawca_stat[what]++; \ } \ while (0) int stat_mask_p (unsigned long mask); struct metadef *make_stat_expansion (size_t count); void initstats (void); void logstats (void); |