wininet: Fix InternetGetCookie with no matching cookies.
[wine] / dlls / wldap32 / ber.c
1 /*
2  * WLDAP32 - LDAP support for Wine
3  *
4  * Copyright 2005 Hans Leidekker
5  *
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.
10  *
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.
15  *
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
19  */
20
21 #include "config.h"
22
23 #ifndef HAVE_LDAP
24
25 #include <stdarg.h>
26 #include "windef.h"
27 #include "winbase.h"
28 #include "winldap.h"
29
30 #define LBER_ERROR (~0U)
31
32 BerElement *ber_alloc_t( INT options )
33 {
34     return NULL;
35 }
36
37 BERVAL *ber_bvdup( BERVAL *berval )
38 {
39     return NULL;
40 }
41
42 void ber_bvecfree( PBERVAL *berval )
43 {
44 }
45
46 void ber_bvfree( BERVAL *berval )
47 {
48 }
49
50 ULONG ber_first_element( BerElement *berelement, ULONG *len, CHAR **opaque )
51 {
52     return LBER_ERROR;
53 }
54
55 INT ber_flatten( BerElement *berelement, PBERVAL *berval )
56 {
57     return LBER_ERROR;
58 }
59
60 void ber_free( BerElement *berelement, INT buf )
61 {
62 }
63
64 BerElement *ber_init( BERVAL *berval )
65 {
66     return NULL;
67 }
68
69 ULONG ber_next_element( BerElement *berelement, ULONG *len, CHAR *opaque )
70 {
71     return LBER_ERROR;
72 }
73
74 ULONG ber_peek_tag( BerElement *berelement, ULONG *len )
75 {
76     return LBER_ERROR;
77 }
78
79 INT ber_printf( BerElement *berelement, PCHAR fmt, ... )
80 {
81     return LBER_ERROR;
82 }
83
84 ULONG ber_skip_tag( BerElement *berelement, ULONG *len )
85 {
86     return LBER_ERROR;
87 }
88
89 INT ber_scanf( BerElement *berelement, PCHAR fmt, ... )
90 {
91     return LBER_ERROR;
92 }
93
94 #endif /* HAVE_LDAP */