summaryrefslogtreecommitdiffabout
path: root/src/wydawca.c
authorSergey Poznyakoff <gray@gnu.org.ua>2009-04-20 12:05:56 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2009-04-20 13:24:02 (GMT)
commit3a6373d888021388473bd96c000a8fdab8aedaa5 (patch) (side-by-side diff)
treeacff526d947280ced0912c49af1308031e672158 /src/wydawca.c
parentdf8c51d2db6f5d16b97ae2f2b62bd625e5a96833 (diff)
downloadwydawca-3a6373d888021388473bd96c000a8fdab8aedaa5.tar.gz
wydawca-3a6373d888021388473bd96c000a8fdab8aedaa5.tar.bz2
Switch to the Grecs submodule.
* gconf: Remove * Makefile.am (ACLOCAL_AMFLAGS): Add -I grecs/am. (SUBDIRS): Replace gconf with grecs (make-ChangeLog): Remove spurious rule. * bootstrap.conf: Init submodules. * configure.ac: Call GRECS_SETUP (AC_CONFIG_FILES): Add grecs/Makefile, grecs/src/Makefile. * src/wydawca.h: Include grecs.h * src/Makefile.am (LDADD,INCLUDES): Refer to grecs. * tests/Makefile.am: Likewise. * src/cmdline.opt, src/config.c, src/diskio.c, src/tcpwrap.c, src/wydawca.c: Use grecs. * README-hacking: Update
Diffstat (limited to 'src/wydawca.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/wydawca.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wydawca.c b/src/wydawca.c
index d210717..509947b 100644
--- a/src/wydawca.c
+++ b/src/wydawca.c
@@ -46,7 +46,7 @@ int single_process;
time_t wakeup_interval;
gl_list_t all_spool_aliases;
-struct gconf_sockaddr listen_sockaddr;
+struct grecs_sockaddr listen_sockaddr;
unsigned wydawca_stat[MAX_STAT];
@@ -215,7 +215,7 @@ logstats ()
void
-gconf_print_diag (gconf_locus_t *locus, int err, int errcode, const char *msg)
+grecs_print_diag (grecs_locus_t *locus, int err, int errcode, const char *msg)
{
if (locus)
{
@@ -310,9 +310,9 @@ main (int argc, char **argv)
collect_uids (argc, argv);
if (preprocess_only)
- exit (gconf_preproc_run (conffile, gconf_preprocessor) ? EX_CONFIG : 0);
+ exit (grecs_preproc_run (conffile, grecs_preprocessor) ? EX_CONFIG : 0);
- if (gconf_parse (conffile))
+ if (grecs_parse (conffile))
exit (EX_CONFIG);
if (lint_mode)
@@ -330,7 +330,7 @@ main (int argc, char **argv)
if (log_to_stderr == -1)
log_to_stderr = (!daemon_mode || foreground) && isatty (0);
- gconf_log_to_stderr = log_to_stderr;
+ grecs_log_to_stderr = log_to_stderr;
if (!log_to_stderr)
{
openlog (syslog_tag, LOG_PID, log_facility);

Return to:

Send suggestions and report system problems to the System administrator.