summaryrefslogtreecommitdiff
path: root/tests/test_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_common.c')
-rw-r--r--tests/test_common.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_common.c b/tests/test_common.c
index 89856d4..4831815 100644
--- a/tests/test_common.c
+++ b/tests/test_common.c
@@ -2,7 +2,7 @@
test_common.c - simple test for the common module
This file is part of the nss-pam-ldapd library.
- Copyright (C) 2008 Arthur de Jong
+ Copyright (C) 2008, 2009 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -32,6 +32,9 @@ const char **base_get_var(int UNUSED(map)) {return NULL;}
int *scope_get_var(int UNUSED(map)) {return NULL;}
const char **filter_get_var(int UNUSED(map)) {return NULL;}
const char **attmap_get_var(int UNUSED(map),const char UNUSED(*name)) {return NULL;}
+const char *attmap_get_value(MYLDAP_ENTRY UNUSED(*entry),const char UNUSED(*attr),char UNUSED(*buffer),size_t UNUSED(buflen)) {return "";}
+void *attmap_add_attributes(void UNUSED(*set),const char UNUSED(*attr)) {return NULL;}
+const char *attmap_set_mapping(const char UNUSED(**var),const char UNUSED(*value)) {return NULL;}
static void test_isvalidname(void)
{