aboutsummaryrefslogtreecommitdiff
path: root/src/tcpwrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tcpwrap.c')
-rw-r--r--src/tcpwrap.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/tcpwrap.c b/src/tcpwrap.c
index eccf21b..ac92b62 100644
--- a/src/tcpwrap.c
+++ b/src/tcpwrap.c
@@ -28,6 +28,6 @@ int allow_severity = LOG_INFO;
static int
-cb_syslog_priority (enum gconf_callback_command cmd,
- gconf_locus_t *locus,
+cb_syslog_priority (enum grecs_callback_command cmd,
+ grecs_locus_t *locus,
void *varptr,
- gconf_value_t *value,
+ grecs_value_t *value,
void *cb_data)
@@ -38,3 +38,3 @@ cb_syslog_priority (enum gconf_callback_command cmd,
if (mu_string_to_syslog_priority (value->v.string, varptr))
- gconf_error (locus, 0, _("Unknown syslog priority `%s'"),
+ grecs_error (locus, 0, _("Unknown syslog priority `%s'"),
value->v.string);
@@ -43,9 +43,9 @@ cb_syslog_priority (enum gconf_callback_command cmd,
-struct gconf_keyword tcpwrapper_kw[] = {
+struct grecs_keyword tcpwrapper_kw[] = {
{ "enable", NULL,
N_("Enable TCP wrapper access control. Default is \"yes\"."),
- gconf_type_bool, &tcpwrap_enable },
+ grecs_type_bool, &tcpwrap_enable },
{ "daemon", N_("name"),
N_("Set daemon name for TCP wrapper lookups. Default is program name."),
- gconf_type_string, &tcpwrap_daemon },
+ grecs_type_string, &tcpwrap_daemon },
{ "allow-table", N_("file"),
@@ -53,3 +53,3 @@ struct gconf_keyword tcpwrapper_kw[] = {
"(default: /etc/hosts.allow)."),
- gconf_type_string, &hosts_allow_table },
+ grecs_type_string, &hosts_allow_table },
{ "deny-table", N_("file"),
@@ -57,9 +57,9 @@ struct gconf_keyword tcpwrapper_kw[] = {
"(default: /etc/hosts.deny)."),
- gconf_type_string, &hosts_deny_table },
+ grecs_type_string, &hosts_deny_table },
{ "allow-syslog-priority", N_("prio"),
N_("Log host allows at this syslog priority."),
- gconf_type_string, &allow_severity, 0, cb_syslog_priority },
+ grecs_type_string, &allow_severity, 0, cb_syslog_priority },
{ "deny-syslog-priority", N_("prio"),
N_("Log host denies at this syslog priority."),
- gconf_type_string, &deny_severity, 0, cb_syslog_priority },
+ grecs_type_string, &deny_severity, 0, cb_syslog_priority },
{ NULL }

Return to:

Send suggestions and report system problems to the System administrator.