lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1335 - nss-pam-ldapd-solaris/nss

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1335 - nss-pam-ldapd-solaris/nss



Author: arthur
Date: Fri Dec 17 21:13:39 2010
New Revision: 1335
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1335

Log:
move LDAP_BE() definition

Modified:
   nss-pam-ldapd-solaris/nss/common.h
   nss-pam-ldapd-solaris/nss/prototypes.h

Modified: nss-pam-ldapd-solaris/nss/common.h
==============================================================================
--- nss-pam-ldapd-solaris/nss/common.h  Thu Dec 16 23:45:08 2010        (r1334)
+++ nss-pam-ldapd-solaris/nss/common.h  Fri Dec 17 21:13:39 2010        (r1335)
@@ -118,9 +118,6 @@
 /* destructor for LDAP backends */
 nss_status_t nss_ldap_destructor(nss_backend_t *be,void UNUSED(*args));
 
-/* easy way to get fp from back-end */
-#define LDAP_BE(be) ((struct nss_ldap_backend*)(be))
-
 #endif /* NSS_FLAVOUR_SOLARIS */
 
 /* The following macros to automatically generate get..byname(),

Modified: nss-pam-ldapd-solaris/nss/prototypes.h
==============================================================================
--- nss-pam-ldapd-solaris/nss/prototypes.h      Thu Dec 16 23:45:08 2010        
(r1334)
+++ nss-pam-ldapd-solaris/nss/prototypes.h      Fri Dec 17 21:13:39 2010        
(r1335)
@@ -123,7 +123,9 @@
 
 #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);
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits