;
; ***** BEGIN LICENSE BLOCK *****
; Version: MPL 1.1/GPL 2.0/LGPL 2.1
; 
; The contents of this file are subject to the Mozilla Public License Version 
; 1.1 (the "License"); you may not use this file except in compliance with 
; the License. You may obtain a copy of the License at 
; http://www.mozilla.org/MPL/
; 
; Software distributed under the License is distributed on an "AS IS" basis,
; WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
; for the specific language governing rights and limitations under the
; License.
; 
; The Original Code is Mozilla Communicator client code.
; 
; The Initial Developer of the Original Code is
; Netscape Communications Corporation.
; Portions created by the Initial Developer are Copyright (C) 1996-1999
; the Initial Developer. All Rights Reserved.
; 
; Contributor(s):
; 
; Alternatively, the contents of this file may be used under the terms of
; either of the GNU General Public License Version 2 or later (the "GPL"),
; or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
; in which case the provisions of the GPL or the LGPL are applicable instead
; of those above. If you wish to allow use of your version of this file only
; under the terms of either the GPL or the LGPL, and not to allow others to
; use your version of this file under the terms of the MPL, indicate your
; decision by deleting the provisions above and replace them with the notice
; and other provisions required by the GPL or the LGPL. If you do not delete
; the provisions above, a recipient may use your version of this file under
; the terms of any one of the MPL, the GPL or the LGPL.
; 
; ***** END LICENSE BLOCK ***** 

LIBRARY         NSLDAP
DESCRIPTION     'Lightweight Directory Access Protocol Client API for 16-bit Windows'
EXETYPE         WINDOWS
CODE            PRELOAD MOVEABLE DISCARDABLE
DATA            PRELOAD MOVEABLE SINGLE

HEAPSIZE        4096

EXPORTS
; we need to manually assign ordinal numbers so we can add new routines
; and not disturb the ordinals and thus not require callers to relink.
; 
; exports list (generated by genexports.pl)
; 

	LDAP_ABANDON=_ldap_abandon		@10
	LDAP_ADD=_ldap_add		@11
	LDAP_UNBIND=_ldap_unbind		@13

; 	LDAP_ENABLE_CACHE=_ldap_enable_cache		@14
; 	LDAP_DISABLE_CACHE=_ldap_disable_cache		@15
; 	LDAP_DESTROY_CACHE=_ldap_destroy_cache		@16
; 	LDAP_FLUSH_CACHE=_ldap_flush_cache		@17
; 	LDAP_UNCACHE_ENTRY=_ldap_uncache_entry		@18

	LDAP_COMPARE=_ldap_compare		@19
	LDAP_DELETE=_ldap_delete		@20
	LDAP_RESULT2ERROR=_ldap_result2error		@21
	LDAP_ERR2STRING=_ldap_err2string		@22
	LDAP_MODIFY=_ldap_modify		@23
	LDAP_MODRDN=_ldap_modrdn		@24
	LDAP_OPEN=_ldap_open		@25
	LDAP_FIRST_ENTRY=_ldap_first_entry		@26
	LDAP_NEXT_ENTRY=_ldap_next_entry		@27
	LDAP_GET_DN=_ldap_get_dn		@30
	LDAP_DN2UFN=_ldap_dn2ufn		@31
	LDAP_FIRST_ATTRIBUTE=_ldap_first_attribute		@32
	LDAP_NEXT_ATTRIBUTE=_ldap_next_attribute		@33
	LDAP_GET_VALUES=_ldap_get_values		@34
	LDAP_GET_VALUES_LEN=_ldap_get_values_len		@35
	LDAP_COUNT_ENTRIES=_ldap_count_entries		@36
	LDAP_COUNT_VALUES=_ldap_count_values		@37
	LDAP_VALUE_FREE=_ldap_value_free		@38
	LDAP_EXPLODE_DN=_ldap_explode_dn		@39
	LDAP_RESULT=_ldap_result		@40
	LDAP_MSGFREE=_ldap_msgfree		@41
	LDAP_SEARCH=_ldap_search		@43
	LDAP_ADD_S=_ldap_add_s		@44
	LDAP_BIND_S=_ldap_bind_s		@45
	LDAP_UNBIND_S=_ldap_unbind_s		@46
	LDAP_DELETE_S=_ldap_delete_s		@47
	LDAP_MODIFY_S=_ldap_modify_s		@48
	LDAP_MODRDN_S=_ldap_modrdn_s		@49
	LDAP_SEARCH_S=_ldap_search_s		@50
	LDAP_SEARCH_ST=_ldap_search_st		@51
	LDAP_COMPARE_S=_ldap_compare_s		@52
	LDAP_UFN_SEARCH_C=_ldap_ufn_search_c		@53
	LDAP_UFN_SEARCH_S=_ldap_ufn_search_s		@54
	LDAP_INIT_GETFILTER=_ldap_init_getfilter		@55
	LDAP_GETFILTER_FREE=_ldap_getfilter_free		@56
	LDAP_GETFIRSTFILTER=_ldap_getfirstfilter		@57
	LDAP_GETNEXTFILTER=_ldap_getnextfilter		@58
	LDAP_SIMPLE_BIND=_ldap_simple_bind		@59
	LDAP_SIMPLE_BIND_S=_ldap_simple_bind_s		@60
	LDAP_BIND=_ldap_bind		@61
	LDAP_FRIENDLY_NAME=_ldap_friendly_name		@62
	LDAP_FREE_FRIENDLYMAP=_ldap_free_friendlymap		@63
	LDAP_UFN_SEARCH_CT=_ldap_ufn_search_ct		@64

; 	LDAP_SET_CACHE_OPTIONS=_ldap_set_cache_options		@65
; 	LDAP_UNCACHE_REQUEST=_ldap_uncache_request		@66

	LDAP_MODRDN2=_ldap_modrdn2		@67
	LDAP_MODRDN2_S=_ldap_modrdn2_s		@68
	LDAP_UFN_SETFILTER=_ldap_ufn_setfilter		@69
	LDAP_UFN_SETPREFIX=_ldap_ufn_setprefix		@70
	LDAP_UFN_TIMEOUT=_ldap_ufn_timeout		@71
	LDAP_INIT_GETFILTER_BUF=_ldap_init_getfilter_buf		@72
	LDAP_SETFILTERAFFIXES=_ldap_setfilteraffixes		@73
	LDAP_SORT_ENTRIES=_ldap_sort_entries		@74
	LDAP_SORT_VALUES=_ldap_sort_values		@75
	LDAP_SORT_STRCASECMP=_ldap_sort_strcasecmp		@76
	LDAP_COUNT_VALUES_LEN=_ldap_count_values_len		@77
	LDAP_NAME2TEMPLATE=_ldap_name2template		@78
	LDAP_VALUE_FREE_LEN=_ldap_value_free_len		@79

;  manually comment and uncomment these five as necessary
; 	LDAP_KERBEROS_BIND1=_ldap_kerberos_bind1		@80
; 	LDAP_KERBEROS_BIND2=_ldap_kerberos_bind2		@81
; 	LDAP_KERBEROS_BIND_S=_ldap_kerberos_bind_s		@82
; 	LDAP_KERBEROS_BIND1_S=_ldap_kerberos_bind1_s		@83
; 	LDAP_KERBEROS_BIND2_S=_ldap_kerberos_bind2_s		@84

	LDAP_INIT=_ldap_init		@85
	LDAP_IS_DNS_DN=_ldap_is_dns_dn		@86
	LDAP_EXPLODE_DNS=_ldap_explode_dns		@87
	LDAP_MODS_FREE=_ldap_mods_free		@88

	LDAP_IS_LDAP_URL=_ldap_is_ldap_url		@89
	LDAP_FREE_URLDESC=_ldap_free_urldesc		@90
	LDAP_URL_PARSE=_ldap_url_parse		@91
	LDAP_URL_SEARCH=_ldap_url_search		@92
	LDAP_URL_SEARCH_S=_ldap_url_search_s		@93
	LDAP_URL_SEARCH_ST=_ldap_url_search_st		@94
	LDAP_SET_REBIND_PROC=_ldap_set_rebind_proc		@95
	BER_SKIP_TAG=_ber_skip_tag		@100
	BER_PEEK_TAG=_ber_peek_tag		@101
	BER_GET_INT=_ber_get_int		@102
	BER_GET_STRINGB=_ber_get_stringb		@103
	BER_GET_STRINGA=_ber_get_stringa		@104
	BER_GET_STRINGAL=_ber_get_stringal		@105
	BER_GET_BITSTRINGA=_ber_get_bitstringa		@106
	BER_GET_NULL=_ber_get_null		@107
	BER_GET_BOOLEAN=_ber_get_boolean		@108
	BER_FIRST_ELEMENT=_ber_first_element		@109
	BER_NEXT_ELEMENT=_ber_next_element		@110
	BER_SCANF=_ber_scanf		@111
	BER_BVFREE=_ber_bvfree		@112
	BER_BVECFREE=_ber_bvecfree		@113
	BER_PUT_INT=_ber_put_int		@114
	BER_PUT_OSTRING=_ber_put_ostring		@115
	BER_PUT_STRING=_ber_put_string		@116
	BER_PUT_BITSTRING=_ber_put_bitstring		@117
	BER_PUT_NULL=_ber_put_null		@118
	BER_PUT_BOOLEAN=_ber_put_boolean		@119
	BER_START_SEQ=_ber_start_seq		@120
	BER_START_SET=_ber_start_set		@121
	BER_PUT_SEQ=_ber_put_seq		@122
	BER_PUT_SET=_ber_put_set		@123
	BER_PRINTF=_ber_printf		@124
	BER_READ=_ber_read		@125
	BER_WRITE=_ber_write		@126
	BER_FREE=_ber_free		@127
	BER_FLUSH=_ber_flush		@128
	BER_ALLOC=_ber_alloc		@129
	BER_DUP=_ber_dup		@130
	BER_GET_NEXT=_ber_get_next		@131
	BER_GET_TAG=_ber_get_tag		@132
	BER_PUT_ENUM=_ber_put_enum		@133
	DER_ALLOC=_der_alloc		@134
	BER_ALLOC_T=_ber_alloc_t		@135
	BER_BVDUP=_ber_bvdup		@136
	BER_INIT_W_NULLCHAR=_ber_init_w_nullchar		@137
	BER_RESET=_ber_reset		@138
	BER_GET_OPTION=_ber_get_option		@139
	BER_SET_OPTION=_ber_set_option		@140
	BER_SOCKBUF_ALLOC=_ber_sockbuf_alloc		@141
	BER_SOCKBUF_GET_OPTION=_ber_sockbuf_get_option		@142
	BER_SOCKBUF_SET_OPTION=_ber_sockbuf_set_option		@143
	BER_INIT=_ber_init		@144
	BER_FLATTEN=_ber_flatten		@145
	BER_SPECIAL_ALLOC=_ber_special_alloc		@146
	BER_SPECIAL_FREE=_ber_special_free		@147
	BER_GET_NEXT_BUFFER=_ber_get_next_buffer		@148
	BER_ERR_PRINT=_ber_err_print		@149
	BER_SOCKBUF_FREE=_ber_sockbuf_free		@150
	BER_GET_NEXT_BUFFER_EXT=_ber_get_next_buffer_ext		@151
	BER_SVECFREE=_ber_svecfree		@152

	LDAP_MEMFREE=_ldap_memfree		@200
	LDAP_BER_FREE=_ldap_ber_free		@201

	LDAP_INIT_SEARCHPREFS=_ldap_init_searchprefs		@300
	LDAP_INIT_SEARCHPREFS_BUF=_ldap_init_searchprefs_buf		@301
	LDAP_FREE_SEARCHPREFS=_ldap_free_searchprefs		@302
	LDAP_FIRST_SEARCHOBJ=_ldap_first_searchobj		@303
	LDAP_NEXT_SEARCHOBJ=_ldap_next_searchobj		@304
	LDAP_BUILD_FILTER=_ldap_build_filter		@305

	LDAP_INIT_TEMPLATES=_ldap_init_templates		@400
	LDAP_INIT_TEMPLATES_BUF=_ldap_init_templates_buf		@401
	LDAP_FREE_TEMPLATES=_ldap_free_templates		@402
	LDAP_FIRST_DISPTMPL=_ldap_first_disptmpl		@403
	LDAP_NEXT_DISPTMPL=_ldap_next_disptmpl		@404
	LDAP_OC2TEMPLATE=_ldap_oc2template		@405
	LDAP_TMPLATTRS=_ldap_tmplattrs		@406
	LDAP_FIRST_TMPLROW=_ldap_first_tmplrow		@407
	LDAP_NEXT_TMPLROW=_ldap_next_tmplrow		@408
	LDAP_FIRST_TMPLCOL=_ldap_first_tmplcol		@409
	LDAP_NEXT_TMPLCOL=_ldap_next_tmplcol		@410
	LDAP_ENTRY2TEXT_SEARCH=_ldap_entry2text_search		@411
	LDAP_ENTRY2TEXT=_ldap_entry2text		@412
	LDAP_VALS2TEXT=_ldap_vals2text		@413
	LDAP_ENTRY2HTML=_ldap_entry2html		@414
	LDAP_ENTRY2HTML_SEARCH=_ldap_entry2html_search		@415
	LDAP_VALS2HTML=_ldap_vals2html		@416
	LDAP_TMPLERR2STRING=_ldap_tmplerr2string		@417
	LDAP_SET_OPTION=_ldap_set_option		@418
	LDAP_GET_OPTION=_ldap_get_option		@419
	LDAP_CHARRAY_MERGE=_ldap_charray_merge		@420
	LDAP_GET_LDERRNO=_ldap_get_lderrno		@430
	LDAP_SET_LDERRNO=_ldap_set_lderrno		@431
	LDAP_PERROR=_ldap_perror		@432
	LDAP_SET_FILTER_ADDITIONS=_ldap_set_filter_additions		@433
	LDAP_CREATE_FILTER=_ldap_create_filter		@434
	LDAP_VERSION=_ldap_version		@440
	LDAP_MULTISORT_ENTRIES=_ldap_multisort_entries		@441
	LDAP_MSGID=_ldap_msgid		@442
	LDAP_EXPLODE_RDN=_ldap_explode_rdn		@443
	LDAP_MSGTYPE=_ldap_msgtype		@444
	LDAP_CACHE_FLUSH=_ldap_cache_flush		@445
	LDAP_STR2CHARRAY=_ldap_str2charray		@446
	LDAP_CHARRAY_ADD=_ldap_charray_add		@447
	LDAP_CHARRAY_DUP=_ldap_charray_dup		@448
	LDAP_CHARRAY_FREE=_ldap_charray_free		@449

;  Windows ordinals 450-469 are reserved for SSL routines

	LDAP_CHARRAY_INLIST=_ldap_charray_inlist		@470
	LDAP_CHARRAY_POSITION=_ldap_charray_position		@471
	LDAP_RENAME=_ldap_rename		@472
	LDAP_RENAME_S=_ldap_rename_s		@473
	LDAP_UTF8LEN=_ldap_utf8len		@474
	LDAP_UTF8NEXT=_ldap_utf8next		@475
	LDAP_UTF8PREV=_ldap_utf8prev		@476
	LDAP_UTF8COPY=_ldap_utf8copy		@477
	LDAP_UTF8CHARACTERS=_ldap_utf8characters		@478
	LDAP_UTF8STRTOK_R=_ldap_utf8strtok_r		@479
	LDAP_UTF8ISALNUM=_ldap_utf8isalnum		@480
	LDAP_UTF8ISALPHA=_ldap_utf8isalpha		@481
	LDAP_UTF8ISDIGIT=_ldap_utf8isdigit		@482
	LDAP_UTF8ISXDIGIT=_ldap_utf8isxdigit		@483
	LDAP_UTF8ISSPACE=_ldap_utf8isspace		@484
	LDAP_CONTROL_FREE=_ldap_control_free		@485
	LDAP_CONTROLS_FREE=_ldap_controls_free		@486
	LDAP_SASL_BIND=_ldap_sasl_bind		@487
	LDAP_SASL_BIND_S=_ldap_sasl_bind_s		@488
	LDAP_PARSE_SASL_BIND_RESULT=_ldap_parse_sasl_bind_result		@489
;  LDAPv3 simple paging controls are not supported by Netscape at this time.
;  490	ldap_create_page_control
;  491	ldap_parse_page_control
	LDAP_CREATE_SORT_CONTROL=_ldap_create_sort_control		@492
	LDAP_PARSE_SORT_CONTROL=_ldap_parse_sort_control		@493
;  an LDAPv3 language control was proposed but then retracted.
;  494	ldap_create_language_control
	LDAP_GET_LANG_VALUES=_ldap_get_lang_values		@495
	LDAP_GET_LANG_VALUES_LEN=_ldap_get_lang_values_len		@496
	LDAP_FREE_SORT_KEYLIST=_ldap_free_sort_keylist		@497
	LDAP_CREATE_SORT_KEYLIST=_ldap_create_sort_keylist		@498
	LDAP_UTF8GETCC=_ldap_utf8getcc		@499
	LDAP_GET_ENTRY_CONTROLS=_ldap_get_entry_controls		@500
	LDAP_CREATE_PERSISTENTSEARCH_CONTROL=_ldap_create_persistentsearch_control		@501
	LDAP_PARSE_ENTRYCHANGE_CONTROL=_ldap_parse_entrychange_control		@502
	LDAP_PARSE_RESULT=_ldap_parse_result		@503
	LDAP_PARSE_EXTENDED_RESULT=_ldap_parse_extended_result		@504
	LDAP_PARSE_REFERENCE=_ldap_parse_reference		@505
	LDAP_ABANDON_EXT=_ldap_abandon_ext		@506
	LDAP_ADD_EXT=_ldap_add_ext		@507
	LDAP_ADD_EXT_S=_ldap_add_ext_s		@508
	LDAP_MODIFY_EXT=_ldap_modify_ext		@509
	LDAP_MODIFY_EXT_S=_ldap_modify_ext_s		@510
	LDAP_FIRST_MESSAGE=_ldap_first_message		@511
	LDAP_NEXT_MESSAGE=_ldap_next_message		@512
	LDAP_COMPARE_EXT=_ldap_compare_ext		@513
	LDAP_COMPARE_EXT_S=_ldap_compare_ext_s		@514
	LDAP_DELETE_EXT=_ldap_delete_ext		@515
	LDAP_DELETE_EXT_S=_ldap_delete_ext_s		@516
	LDAP_SEARCH_EXT=_ldap_search_ext		@517
	LDAP_SEARCH_EXT_S=_ldap_search_ext_s		@518
	LDAP_EXTENDED_OPERATION=_ldap_extended_operation		@519
	LDAP_EXTENDED_OPERATION_S=_ldap_extended_operation_s		@520
	LDAP_FIRST_REFERENCE=_ldap_first_reference		@521
	LDAP_NEXT_REFERENCE=_ldap_next_reference		@522
	LDAP_COUNT_REFERENCES=_ldap_count_references		@523
	LDAP_COUNT_MESSAGES=_ldap_count_messages		@524
	LDAP_CREATE_VIRTUALLIST_CONTROL=_ldap_create_virtuallist_control		@525
	LDAP_PARSE_VIRTUALLIST_CONTROL=_ldap_parse_virtuallist_control		@526
	LDAP_CREATE_PROXYAUTH_CONTROL=_ldap_create_proxyauth_control		@527
	LDAP_UNBIND_EXT=_ldap_unbind_ext		@528
	LDAP_X_HOSTLIST_FIRST=_ldap_x_hostlist_first		@529
	LDAP_X_HOSTLIST_NEXT=_ldap_x_hostlist_next		@530
	LDAP_X_HOSTLIST_STATUSFREE=_ldap_x_hostlist_statusfree		@531
	LDAP_X_MALLOC=_ldap_x_malloc		@532
	LDAP_X_CALLOC=_ldap_x_calloc		@533
	LDAP_X_REALLOC=_ldap_x_realloc		@534
	LDAP_X_FREE=_ldap_x_free		@535
	LDAP_CREATE_PROXIEDAUTH_CONTROL=_ldap_create_proxiedauth_control		@536
	LDAP_MEMCACHE_INIT=_ldap_memcache_init		@1000
	LDAP_MEMCACHE_SET=_ldap_memcache_set		@1001
	LDAP_MEMCACHE_GET=_ldap_memcache_get		@1002
	LDAP_MEMCACHE_FLUSH=_ldap_memcache_flush		@1003
	LDAP_MEMCACHE_DESTROY=_ldap_memcache_destroy		@1004
	LDAP_MEMCACHE_UPDATE=_ldap_memcache_update		@1005
	LDAP_KEYSORT_ENTRIES=_ldap_keysort_entries		@1006
; 
; end of generated exports list.
