Deleted Added
full compact
ldap.h (132943) ldap.h (157001)
1/*
1/*
2 * Copyright (c) 2001-2002 Sendmail, Inc. and its suppliers.
2 * Copyright (c) 2001-2003, 2005 Sendmail, Inc. and its suppliers.
3 * All rights reserved.
4 *
5 * By using this file, you agree to the terms and conditions set
6 * forth in the LICENSE file which can be found at the top level of
7 * the sendmail distribution.
8 *
3 * All rights reserved.
4 *
5 * By using this file, you agree to the terms and conditions set
6 * forth in the LICENSE file which can be found at the top level of
7 * the sendmail distribution.
8 *
9 * $Id: ldap.h,v 1.27 2003/12/20 09:23:47 gshapiro Exp $
9 * $Id: ldap.h,v 1.28 2005/06/23 23:11:21 ca Exp $
10 */
11
12#ifndef SM_LDAP_H
13# define SM_LDAP_H
14
15# include <sm/conf.h>
16# include <sm/rpool.h>
17

--- 21 unchanged lines hidden (view full) ---

39# define SM_LDAP_ATTR_DN 2
40# define SM_LDAP_ATTR_FILTER 3
41# define SM_LDAP_ATTR_URL 4
42
43/* sm_ldap_results() flags */
44# define SM_LDAP_SINGLEMATCH 0x0001
45# define SM_LDAP_MATCHONLY 0x0002
46# define SM_LDAP_USE_ALLATTR 0x0004
10 */
11
12#ifndef SM_LDAP_H
13# define SM_LDAP_H
14
15# include <sm/conf.h>
16# include <sm/rpool.h>
17

--- 21 unchanged lines hidden (view full) ---

39# define SM_LDAP_ATTR_DN 2
40# define SM_LDAP_ATTR_FILTER 3
41# define SM_LDAP_ATTR_URL 4
42
43/* sm_ldap_results() flags */
44# define SM_LDAP_SINGLEMATCH 0x0001
45# define SM_LDAP_MATCHONLY 0x0002
46# define SM_LDAP_USE_ALLATTR 0x0004
47# define SM_LDAP_SINGLEDN 0x0008
47
48struct sm_ldap_struct
49{
50 /* needed for ldap_open or ldap_init */
51 char *ldap_uri;
52 char *ldap_host;
53 int ldap_port;
54 int ldap_version;

--- 73 unchanged lines hidden ---
48
49struct sm_ldap_struct
50{
51 /* needed for ldap_open or ldap_init */
52 char *ldap_uri;
53 char *ldap_host;
54 int ldap_port;
55 int ldap_version;

--- 73 unchanged lines hidden ---