summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-27 18:10:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:54 -0500
commit61ffa08f4c95e29d301de9fbabd6e71c2dbc1056 (patch)
tree5639bb3b7628532080737e4e1b1ff0b835ee4977 /source4/param
parent4fb038b0b8e7a4bb69ac0d9022684eeaca8a491a (diff)
downloadsamba-61ffa08f4c95e29d301de9fbabd6e71c2dbc1056.tar.gz
samba-61ffa08f4c95e29d301de9fbabd6e71c2dbc1056.tar.bz2
samba-61ffa08f4c95e29d301de9fbabd6e71c2dbc1056.zip
r24712: No longer expose the 'BOOL' data type in any interfaces.
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/loadparm.h2
-rw-r--r--source4/param/share.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/loadparm.h b/source4/param/loadparm.h
index fa9b78f6a6..93649af0c8 100644
--- a/source4/param/loadparm.h
+++ b/source4/param/loadparm.h
@@ -46,7 +46,7 @@ struct parm_struct {
parm_type type;
parm_class class;
void *ptr;
- BOOL (*special)(const char *, char **);
+ bool (*special)(const char *, char **);
const struct enum_list *enum_list;
unsigned int flags;
union {
diff --git a/source4/param/share.h b/source4/param/share.h
index cbbf8dc044..4e16f03715 100644
--- a/source4/param/share.h
+++ b/source4/param/share.h
@@ -52,7 +52,7 @@ struct share_ops {
NTSTATUS (*init)(TALLOC_CTX *, const struct share_ops*, struct share_context **);
const char *(*string_option)(struct share_config *, const char *, const char *);
int (*int_option)(struct share_config *, const char *, int);
- BOOL (*bool_option)(struct share_config *, const char *, BOOL);
+ bool (*bool_option)(struct share_config *, const char *, bool);
const char **(*string_list_option)(TALLOC_CTX *, struct share_config *, const char *);
NTSTATUS (*list_all)(TALLOC_CTX *, struct share_context *, int *, const char ***);
NTSTATUS (*get_config)(TALLOC_CTX *, struct share_context *, const char *, struct share_config **);