2 * WLDAP32 - LDAP support for Wine
4 * Copyright 2005 Hans Leidekker
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 #define LBER_ERROR (~0U)
30 BerElement
*ber_alloc_t( INT options
)
35 BERVAL
*ber_bvdup( BERVAL
*berval
)
40 void ber_bvecfree( PBERVAL
*berval
)
44 void ber_bvfree( BERVAL
*berval
)
48 ULONG
ber_first_element( BerElement
*berelement
, ULONG
*len
, CHAR
**opaque
)
53 INT
ber_flatten( BerElement
*berelement
, PBERVAL
*berval
)
58 void ber_free( BerElement
*berelement
, INT buf
)
62 BerElement
*ber_init( BERVAL
*berval
)
67 ULONG
ber_next_element( BerElement
*berelement
, ULONG
*len
, CHAR
*opaque
)
72 ULONG
ber_peek_tag( BerElement
*berelement
, ULONG
*len
)
77 INT
ber_printf( BerElement
*berelement
, PCHAR fmt
, ... )
82 ULONG
ber_skip_tag( BerElement
*berelement
, ULONG
*len
)
87 INT
ber_scanf( BerElement
*berelement
, PCHAR fmt
, ... )
92 #endif /* HAVE_LDAP */