summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-18 17:31:39 +0200
committerVolker Lendecke <vl@samba.org>2010-08-22 22:42:21 +0200
commit265f0b7745b811d6ba1575eb277213f707215a3b (patch)
treedcc65cedbccb261c89f6e7a6c23e1471948a8074
parent6ff012a777889de5066fa77de9ed766f8421b1d5 (diff)
downloadsamba-265f0b7745b811d6ba1575eb277213f707215a3b.tar.gz
samba-265f0b7745b811d6ba1575eb277213f707215a3b.tar.bz2
samba-265f0b7745b811d6ba1575eb277213f707215a3b.zip
s3: Rename auth.c:backends to auth_backends
-rw-r--r--source3/auth/auth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/auth/auth.c b/source3/auth/auth.c
index ed8888ff93..d92d327721 100644
--- a/source3/auth/auth.c
+++ b/source3/auth/auth.c
@@ -24,13 +24,13 @@
static_decl_auth;
-static struct auth_init_function_entry *backends = NULL;
+static struct auth_init_function_entry *auth_backends = NULL;
static struct auth_init_function_entry *auth_find_backend_entry(const char *name);
NTSTATUS smb_register_auth(int version, const char *name, auth_init_function init)
{
- struct auth_init_function_entry *entry = backends;
+ struct auth_init_function_entry *entry = auth_backends;
if (version != AUTH_INTERFACE_VERSION) {
DEBUG(0,("Can't register auth_method!\n"
@@ -54,14 +54,14 @@ NTSTATUS smb_register_auth(int version, const char *name, auth_init_function ini
entry->name = smb_xstrdup(name);
entry->init = init;
- DLIST_ADD(backends, entry);
+ DLIST_ADD(auth_backends, entry);
DEBUG(5,("Successfully added auth method '%s'\n", name));
return NT_STATUS_OK;
}
static struct auth_init_function_entry *auth_find_backend_entry(const char *name)
{
- struct auth_init_function_entry *entry = backends;
+ struct auth_init_function_entry *entry = auth_backends;
while(entry) {
if (strcmp(entry->name, name)==0) return entry;