1N/A * Copyright (c) 2001 by Sun Microsystems, Inc. 1N/A * All rights reserved. 1N/A * Copyright (c) 1990 Regents of the University of Michigan. 1N/A * All rights reserved. 1N/A * Redistribution and use in source and binary forms are permitted 1N/A * provided that this notice is preserved and that due credit is given 1N/A * to the University of Michigan at Ann Arbor. The name of the University 1N/A * may not be used to endorse or promote products derived from this 1N/A * software without specific prior written permission. This software 1N/A * is provided ``as is'' without express or implied warranty. 1N/A#
pragma ident "%Z%%M% %I% %E% SMI" 1N/A#
endif /* LDAP_SSL */ 1N/A/* OPTIONS to use with ldap_set_option and ldap_get_option */ 1N/A/* int, control how aliases are handled during search */ 1N/A/* int, protocol version, default 2 */ 1N/A/* List of ldap controls to be sent with each request */ 1N/A/* List of ldap controls that affect the session */ 1N/A/* The hostname of the default ldap server */ 1N/A/* The code of the most recent ldap error that occured for this session */ 1N/A/* The message returned with the most recent ldap error */ 1N/A/* The Matching DN in case of a naming error */ 1N/A/* The timeout while trying to connect to a server */ 1N/A/* The Filter List Desc used by UFN functions */ 1N/A/* #define LDAP_OPT_FILTERDESC 0x80 */ 1N/A/* Used for NO limitation is TIMELIMIT or SIZELIMIT */ 1N/A/* Begin LDAP Display Template Definitions */ 1N/A * general types of items (confined to most significant byte) 1N/A * syntax options (confined to second most significant byte) 1N/A * display template item syntax ids (defined by common agreement) 1N/A * these are the valid values for the ti_syntaxid of the tmplitem 1N/A * struct (defined below). A general type is encoded in the 1N/A * most-significant 8 bits, and some options are encoded in the next 1N/A * 8 bits. The lower 16 bits are reserved for the distinct types. 1N/A * display options for output routines (used by entry2text and friends) 1N/A * use calculated label width (based on length of longest label in 1N/A * template) instead of contant width 1N/A * perform search actions (applies to ldap_entry2text_search only) 1N/A * include additional info. relevant to "non leaf" entries only 1N/A * used by ldap_entry2html and ldap_entry2html_search to include "Browse" 1N/A * and "Move Up" HREFs 1N/A * display template item options (may not apply to all types) 1N/A * if this bit is set in ti_options, it applies. 1N/A * LDAP API Information structure 1N/A * LDAP API Feature Information 1N/A * display template item structure 1N/A * object class array structure 1N/A * display template global options 1N/A * if this bit is set in dt_options, it applies. 1N/A * users should be allowed to try to add objects of these entries 1N/A * users should be allowed to do "modify RDN" operation of these entries 1N/A * this template is an alternate view, not a primary view 1N/A * display template structure 1N/A * buffer size needed for entry2text and vals2text 1N/A/* END Display Template Definitions */ 1N/A/* BEGIN Search Prefrences Definitions */ 1N/A /* max 32 matchtypes for now */ 1N/A * global search object options 1N/A/* END Search Prefrences Definitions */ 1N/A * Structure for LDAP modifications 1N/A * The following field is commented out since no functions use it in 1N/A * the library and also not part of c-api draft. 1N/A/* struct ldapmod *mod_next */ 1N/Atypedef struct ldap LDAP;
/* Opaque LDAP connection handle */ 1N/A/* Call back to get info needed for re-bind */ 1N/A * structures for ldap getfilter routines 1N/A * Simple Page control OID 1N/A * Server Sort Control 1N/A * structure for a sort-key 1N/A * Virtual List View (vlv) control 1N/A * structure that describes a VirtualListViewRequest control. 1N/A * note that ldvlist_index and ldvlist_size are only relevant to 1N/A * ldap_create_virtuallist_control() if ldvlist_attrvalue is NULL. 1N/A * ldapv3 LDAPControl 1N/A * the "ldctl_value" field of this structure used to be a pointer to 1N/A * struct berval. To make this structure compliant to the latest c-api 1N/A * draft, it is changed to "struct berval ldctl_value" 1N/A * specific LDAP instantiations of BER types we know about 1N/A/* Tag for modrdn request */ 1N/A/* Tags for Extensible filter match */ 1N/A/* tags for EXTENDED OPERATIONS */ 1N/A/* tags for Virtual List View control */ 1N/A/* tag for sort control */ 1N/A/* possible operations a client can invoke */ 1N/A/* New in ldapv3 application + constructed */ 1N/A/* version 3.0 compatibility stuff */ 1N/A/* possible result types a server can return */ 1N/A/* new in ldapv3, application + constructed */ 1N/A/* new in ldapv3, application + constructed */ 1N/A/* authentication methods available */ 1N/A/* New with ldapv3 */ 1N/A/* 3.0 compatibility auth methods */ 1N/A/* 3.0 compatibility filter types */ 1N/A/* substring filter component types */ 1N/A/* 3.0 compatibility substring filter component types */ 1N/A/* Used when parsing URL, if scope not found. *LDAP_SCOPE_BASE is to use then */ 1N/A/* ldap_result number of messages that should be returned */ 1N/A/* default limit on nesting of referrals */ 1N/A/* SASL mechanisms */ 1N/A/* Next ones are not supported so far by SunDS 2.0 */ 1N/A * structure for ldap friendly mapping routines 1N/A * Structures for URL handling 1N/A * possible error codes we can return 1N/A/* Not used in ldapv3 */ 1N/A/* Following in not used in ldapv3 */ 1N/A/* Following is new in ldapv3 */ 1N/A/* Reserved for API */ 1N/A/* New code with ldapv3 ? */ 1N/A/* debugging stuff */ 1N/A/* More values for http gateway */ 1N/A#
else /* LDAP_SYSLOG */ 1N/A#
endif /* !WINSOCK */ 1N/A#
endif /* LDAP_SYSLOG */ 1N/A#
else /* LDAP_DEBUG */ 1N/A#
endif /* LDAP_DEBUG */ 1N/A#
endif /* LDAP_SSL */ 1N/A#
endif /* LDAP_CHARSET_8859 */ 1N/A#
endif /* STR_TRANSLATION */ 1N/A/* Begin Display Template Prototypes */ 1N/A#
else /* NEEDPROTOS */ 1N/A#
endif /* LDAP_REFERRALS */ 1N/A * Simple bind functions 1N/A * Kerberos functions 1N/A#
endif /* !NO_CACHE */ 1N/A/* DEPRECATED : use ldap_rename instead */ 1N/A/* DEPRECATED : use ldap_rename_s instead */ 1N/A/* DEPRECATED : use ldap_rename instead */ 1N/A/* DEPRECATED : use ldap_rename_s instead */ 1N/A/* DEPRECATED : use ldap_init instead */ 1N/A/* DEPRECATED : use ldap_ssl_init instead */ 1N/A * Reference functions 1N/A * Attribute parsing functions 1N/A * Attribute Value functions 1N/A * Functions to free LDAPFiltDesc and LDAPmod 1N/A * Friendly name functions 1N/A * Connectionless LDAP functions 1N/A * in Character Set functions 1N/A#
endif /* LDAP_CHARSET_8859 */ 1N/A#
endif /* STR_TRANSLATION */ 1N/A * Diplay Template functions 1N/A * Search Preferences functions 1N/A * Simple Page Control functions 1N/A * Server Side Sort control functions 1N/A * Virtual List View control functions 1N/A#
endif /* NEEDPROTOS */