summaryrefslogtreecommitdiff
path: root/nss/prototypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'nss/prototypes.h')
-rw-r--r--nss/prototypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nss/prototypes.h b/nss/prototypes.h
index 4989fd9..23c7c33 100644
--- a/nss/prototypes.h
+++ b/nss/prototypes.h
@@ -123,7 +123,9 @@ nss_status_t _nss_ldap_endspent(void);
#ifdef NSS_FLAVOUR_SOLARIS
+/* helper marcos to do casts */
#define NSS_ARGS(args) ((nss_XbyY_args_t *)args)
+#define LDAP_BE(be) ((struct nss_ldap_backend*)(be))
/* these are the constructors we provide */
nss_backend_t *_nss_ldap_ethers_constr(const char *db_name,const char *src_name,const char *cfg_args);