Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include
File: lber.h
/* $OpenLDAP$ */
[0] Fix | Delete
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
[1] Fix | Delete
*
[2] Fix | Delete
* Copyright 1998-2018 The OpenLDAP Foundation.
[3] Fix | Delete
* All rights reserved.
[4] Fix | Delete
*
[5] Fix | Delete
* Redistribution and use in source and binary forms, with or without
[6] Fix | Delete
* modification, are permitted only as authorized by the OpenLDAP
[7] Fix | Delete
* Public License.
[8] Fix | Delete
*
[9] Fix | Delete
* A copy of this license is available in file LICENSE in the
[10] Fix | Delete
* top-level directory of the distribution or, alternatively, at
[11] Fix | Delete
* <http://www.OpenLDAP.org/license.html>.
[12] Fix | Delete
*/
[13] Fix | Delete
/* Portions Copyright (c) 1990 Regents of the University of Michigan.
[14] Fix | Delete
* All rights reserved.
[15] Fix | Delete
*
[16] Fix | Delete
* Redistribution and use in source and binary forms are permitted
[17] Fix | Delete
* provided that this notice is preserved and that due credit is given
[18] Fix | Delete
* to the University of Michigan at Ann Arbor. The name of the University
[19] Fix | Delete
* may not be used to endorse or promote products derived from this
[20] Fix | Delete
* software without specific prior written permission. This software
[21] Fix | Delete
* is provided ``as is'' without express or implied warranty.
[22] Fix | Delete
*/
[23] Fix | Delete
[24] Fix | Delete
#ifndef _LBER_H
[25] Fix | Delete
#define _LBER_H
[26] Fix | Delete
[27] Fix | Delete
#include <lber_types.h>
[28] Fix | Delete
#include <string.h>
[29] Fix | Delete
[30] Fix | Delete
LDAP_BEGIN_DECL
[31] Fix | Delete
[32] Fix | Delete
/*
[33] Fix | Delete
* ber_tag_t represents the identifier octets at the beginning of BER
[34] Fix | Delete
* elements. OpenLDAP treats them as mere big-endian unsigned integers.
[35] Fix | Delete
*
[36] Fix | Delete
* Actually the BER identifier octets look like this:
[37] Fix | Delete
*
[38] Fix | Delete
* Bits of 1st octet:
[39] Fix | Delete
* ______
[40] Fix | Delete
* 8 7 | CLASS
[41] Fix | Delete
* 0 0 = UNIVERSAL
[42] Fix | Delete
* 0 1 = APPLICATION
[43] Fix | Delete
* 1 0 = CONTEXT-SPECIFIC
[44] Fix | Delete
* 1 1 = PRIVATE
[45] Fix | Delete
* _____
[46] Fix | Delete
* | 6 | DATA-TYPE
[47] Fix | Delete
* 0 = PRIMITIVE
[48] Fix | Delete
* 1 = CONSTRUCTED
[49] Fix | Delete
* ___________
[50] Fix | Delete
* | 5 ... 1 | TAG-NUMBER
[51] Fix | Delete
*
[52] Fix | Delete
* For ASN.1 tag numbers >= 0x1F, TAG-NUMBER above is 0x1F and the next
[53] Fix | Delete
* BER octets contain the actual ASN.1 tag number: Big-endian, base
[54] Fix | Delete
* 128, 8.bit = 1 in all but the last octet, minimum number of octets.
[55] Fix | Delete
*/
[56] Fix | Delete
[57] Fix | Delete
/* BER classes and mask (in 1st identifier octet) */
[58] Fix | Delete
#define LBER_CLASS_UNIVERSAL ((ber_tag_t) 0x00U)
[59] Fix | Delete
#define LBER_CLASS_APPLICATION ((ber_tag_t) 0x40U)
[60] Fix | Delete
#define LBER_CLASS_CONTEXT ((ber_tag_t) 0x80U)
[61] Fix | Delete
#define LBER_CLASS_PRIVATE ((ber_tag_t) 0xc0U)
[62] Fix | Delete
#define LBER_CLASS_MASK ((ber_tag_t) 0xc0U)
[63] Fix | Delete
[64] Fix | Delete
/* BER encoding type and mask (in 1st identifier octet) */
[65] Fix | Delete
#define LBER_PRIMITIVE ((ber_tag_t) 0x00U)
[66] Fix | Delete
#define LBER_CONSTRUCTED ((ber_tag_t) 0x20U)
[67] Fix | Delete
#define LBER_ENCODING_MASK ((ber_tag_t) 0x20U)
[68] Fix | Delete
[69] Fix | Delete
#define LBER_BIG_TAG_MASK ((ber_tag_t) 0x1fU)
[70] Fix | Delete
#define LBER_MORE_TAG_MASK ((ber_tag_t) 0x80U)
[71] Fix | Delete
[72] Fix | Delete
/*
[73] Fix | Delete
* LBER_ERROR and LBER_DEFAULT are values that can never appear
[74] Fix | Delete
* as valid BER tags, so it is safe to use them to report errors.
[75] Fix | Delete
* Valid tags have (tag & (ber_tag_t) 0xFF) != 0xFF.
[76] Fix | Delete
*/
[77] Fix | Delete
#define LBER_ERROR ((ber_tag_t) -1)
[78] Fix | Delete
#define LBER_DEFAULT ((ber_tag_t) -1)
[79] Fix | Delete
[80] Fix | Delete
/* general BER types we know about */
[81] Fix | Delete
#define LBER_BOOLEAN ((ber_tag_t) 0x01UL)
[82] Fix | Delete
#define LBER_INTEGER ((ber_tag_t) 0x02UL)
[83] Fix | Delete
#define LBER_BITSTRING ((ber_tag_t) 0x03UL)
[84] Fix | Delete
#define LBER_OCTETSTRING ((ber_tag_t) 0x04UL)
[85] Fix | Delete
#define LBER_NULL ((ber_tag_t) 0x05UL)
[86] Fix | Delete
#define LBER_ENUMERATED ((ber_tag_t) 0x0aUL)
[87] Fix | Delete
#define LBER_SEQUENCE ((ber_tag_t) 0x30UL) /* constructed */
[88] Fix | Delete
#define LBER_SET ((ber_tag_t) 0x31UL) /* constructed */
[89] Fix | Delete
[90] Fix | Delete
/* LBER BerElement options */
[91] Fix | Delete
#define LBER_USE_DER 0x01
[92] Fix | Delete
[93] Fix | Delete
/* get/set options for BerElement */
[94] Fix | Delete
#define LBER_OPT_BER_OPTIONS 0x01
[95] Fix | Delete
#define LBER_OPT_BER_DEBUG 0x02
[96] Fix | Delete
#define LBER_OPT_BER_REMAINING_BYTES 0x03
[97] Fix | Delete
#define LBER_OPT_BER_TOTAL_BYTES 0x04
[98] Fix | Delete
#define LBER_OPT_BER_BYTES_TO_WRITE 0x05
[99] Fix | Delete
#define LBER_OPT_BER_MEMCTX 0x06
[100] Fix | Delete
[101] Fix | Delete
#define LBER_OPT_DEBUG_LEVEL LBER_OPT_BER_DEBUG
[102] Fix | Delete
#define LBER_OPT_REMAINING_BYTES LBER_OPT_BER_REMAINING_BYTES
[103] Fix | Delete
#define LBER_OPT_TOTAL_BYTES LBER_OPT_BER_TOTAL_BYTES
[104] Fix | Delete
#define LBER_OPT_BYTES_TO_WRITE LBER_OPT_BER_BYTES_TO_WRITE
[105] Fix | Delete
[106] Fix | Delete
#define LBER_OPT_LOG_PRINT_FN 0x8001
[107] Fix | Delete
#define LBER_OPT_MEMORY_FNS 0x8002
[108] Fix | Delete
#define LBER_OPT_ERROR_FN 0x8003
[109] Fix | Delete
#define LBER_OPT_LOG_PRINT_FILE 0x8004
[110] Fix | Delete
[111] Fix | Delete
/* get/set Memory Debug options */
[112] Fix | Delete
#define LBER_OPT_MEMORY_INUSE 0x8005 /* for memory debugging */
[113] Fix | Delete
#define LBER_OPT_LOG_PROC 0x8006 /* for external logging function */
[114] Fix | Delete
[115] Fix | Delete
typedef int* (*BER_ERRNO_FN) LDAP_P(( void ));
[116] Fix | Delete
[117] Fix | Delete
typedef void (*BER_LOG_PRINT_FN) LDAP_P(( LDAP_CONST char *buf ));
[118] Fix | Delete
[119] Fix | Delete
typedef void* (BER_MEMALLOC_FN) LDAP_P(( ber_len_t size, void *ctx ));
[120] Fix | Delete
typedef void* (BER_MEMCALLOC_FN) LDAP_P(( ber_len_t n, ber_len_t size, void *ctx ));
[121] Fix | Delete
typedef void* (BER_MEMREALLOC_FN) LDAP_P(( void *p, ber_len_t size, void *ctx ));
[122] Fix | Delete
typedef void (BER_MEMFREE_FN) LDAP_P(( void *p, void *ctx ));
[123] Fix | Delete
[124] Fix | Delete
typedef struct lber_memory_fns {
[125] Fix | Delete
BER_MEMALLOC_FN *bmf_malloc;
[126] Fix | Delete
BER_MEMCALLOC_FN *bmf_calloc;
[127] Fix | Delete
BER_MEMREALLOC_FN *bmf_realloc;
[128] Fix | Delete
BER_MEMFREE_FN *bmf_free;
[129] Fix | Delete
} BerMemoryFunctions;
[130] Fix | Delete
[131] Fix | Delete
/* LBER Sockbuf_IO options */
[132] Fix | Delete
#define LBER_SB_OPT_GET_FD 1
[133] Fix | Delete
#define LBER_SB_OPT_SET_FD 2
[134] Fix | Delete
#define LBER_SB_OPT_HAS_IO 3
[135] Fix | Delete
#define LBER_SB_OPT_SET_NONBLOCK 4
[136] Fix | Delete
#define LBER_SB_OPT_GET_SSL 7
[137] Fix | Delete
#define LBER_SB_OPT_DATA_READY 8
[138] Fix | Delete
#define LBER_SB_OPT_SET_READAHEAD 9
[139] Fix | Delete
#define LBER_SB_OPT_DRAIN 10
[140] Fix | Delete
#define LBER_SB_OPT_NEEDS_READ 11
[141] Fix | Delete
#define LBER_SB_OPT_NEEDS_WRITE 12
[142] Fix | Delete
#define LBER_SB_OPT_GET_MAX_INCOMING 13
[143] Fix | Delete
#define LBER_SB_OPT_SET_MAX_INCOMING 14
[144] Fix | Delete
[145] Fix | Delete
/* Only meaningful ifdef LDAP_PF_LOCAL_SENDMSG */
[146] Fix | Delete
#define LBER_SB_OPT_UNGET_BUF 15
[147] Fix | Delete
[148] Fix | Delete
/* Largest option used by the library */
[149] Fix | Delete
#define LBER_SB_OPT_OPT_MAX 15
[150] Fix | Delete
[151] Fix | Delete
/* LBER IO operations stacking levels */
[152] Fix | Delete
#define LBER_SBIOD_LEVEL_PROVIDER 10
[153] Fix | Delete
#define LBER_SBIOD_LEVEL_TRANSPORT 20
[154] Fix | Delete
#define LBER_SBIOD_LEVEL_APPLICATION 30
[155] Fix | Delete
[156] Fix | Delete
/* get/set options for Sockbuf */
[157] Fix | Delete
#define LBER_OPT_SOCKBUF_DESC 0x1000
[158] Fix | Delete
#define LBER_OPT_SOCKBUF_OPTIONS 0x1001
[159] Fix | Delete
#define LBER_OPT_SOCKBUF_DEBUG 0x1002
[160] Fix | Delete
[161] Fix | Delete
/* on/off values */
[162] Fix | Delete
LBER_V( char ) ber_pvt_opt_on;
[163] Fix | Delete
#define LBER_OPT_ON ((void *) &ber_pvt_opt_on)
[164] Fix | Delete
#define LBER_OPT_OFF ((void *) 0)
[165] Fix | Delete
[166] Fix | Delete
#define LBER_OPT_SUCCESS (0)
[167] Fix | Delete
#define LBER_OPT_ERROR (-1)
[168] Fix | Delete
[169] Fix | Delete
typedef struct berelement BerElement;
[170] Fix | Delete
typedef struct sockbuf Sockbuf;
[171] Fix | Delete
[172] Fix | Delete
typedef struct sockbuf_io Sockbuf_IO;
[173] Fix | Delete
[174] Fix | Delete
/* Structure for LBER IO operation descriptor */
[175] Fix | Delete
typedef struct sockbuf_io_desc {
[176] Fix | Delete
int sbiod_level;
[177] Fix | Delete
Sockbuf *sbiod_sb;
[178] Fix | Delete
Sockbuf_IO *sbiod_io;
[179] Fix | Delete
void *sbiod_pvt;
[180] Fix | Delete
struct sockbuf_io_desc *sbiod_next;
[181] Fix | Delete
} Sockbuf_IO_Desc;
[182] Fix | Delete
[183] Fix | Delete
/* Structure for LBER IO operation functions */
[184] Fix | Delete
struct sockbuf_io {
[185] Fix | Delete
int (*sbi_setup)( Sockbuf_IO_Desc *sbiod, void *arg );
[186] Fix | Delete
int (*sbi_remove)( Sockbuf_IO_Desc *sbiod );
[187] Fix | Delete
int (*sbi_ctrl)( Sockbuf_IO_Desc *sbiod, int opt, void *arg);
[188] Fix | Delete
[189] Fix | Delete
ber_slen_t (*sbi_read)( Sockbuf_IO_Desc *sbiod, void *buf,
[190] Fix | Delete
ber_len_t len );
[191] Fix | Delete
ber_slen_t (*sbi_write)( Sockbuf_IO_Desc *sbiod, void *buf,
[192] Fix | Delete
ber_len_t len );
[193] Fix | Delete
[194] Fix | Delete
int (*sbi_close)( Sockbuf_IO_Desc *sbiod );
[195] Fix | Delete
};
[196] Fix | Delete
[197] Fix | Delete
/* Helper macros for LBER IO functions */
[198] Fix | Delete
#define LBER_SBIOD_READ_NEXT( sbiod, buf, len ) \
[199] Fix | Delete
( (sbiod)->sbiod_next->sbiod_io->sbi_read( (sbiod)->sbiod_next, \
[200] Fix | Delete
buf, len ) )
[201] Fix | Delete
#define LBER_SBIOD_WRITE_NEXT( sbiod, buf, len ) \
[202] Fix | Delete
( (sbiod)->sbiod_next->sbiod_io->sbi_write( (sbiod)->sbiod_next, \
[203] Fix | Delete
buf, len ) )
[204] Fix | Delete
#define LBER_SBIOD_CTRL_NEXT( sbiod, opt, arg ) \
[205] Fix | Delete
( (sbiod)->sbiod_next ? \
[206] Fix | Delete
( (sbiod)->sbiod_next->sbiod_io->sbi_ctrl( \
[207] Fix | Delete
(sbiod)->sbiod_next, opt, arg ) ) : 0 )
[208] Fix | Delete
[209] Fix | Delete
/* structure for returning a sequence of octet strings + length */
[210] Fix | Delete
typedef struct berval {
[211] Fix | Delete
ber_len_t bv_len;
[212] Fix | Delete
char *bv_val;
[213] Fix | Delete
} BerValue;
[214] Fix | Delete
[215] Fix | Delete
typedef BerValue *BerVarray; /* To distinguish from a single bv */
[216] Fix | Delete
[217] Fix | Delete
/* this should be moved to lber-int.h */
[218] Fix | Delete
[219] Fix | Delete
/*
[220] Fix | Delete
* in bprint.c:
[221] Fix | Delete
*/
[222] Fix | Delete
LBER_F( void )
[223] Fix | Delete
ber_error_print LDAP_P((
[224] Fix | Delete
LDAP_CONST char *data ));
[225] Fix | Delete
[226] Fix | Delete
LBER_F( void )
[227] Fix | Delete
ber_bprint LDAP_P((
[228] Fix | Delete
LDAP_CONST char *data, ber_len_t len ));
[229] Fix | Delete
[230] Fix | Delete
LBER_F( void )
[231] Fix | Delete
ber_dump LDAP_P((
[232] Fix | Delete
BerElement *ber, int inout ));
[233] Fix | Delete
[234] Fix | Delete
/*
[235] Fix | Delete
* in decode.c:
[236] Fix | Delete
*/
[237] Fix | Delete
typedef int (*BERDecodeCallback) LDAP_P((
[238] Fix | Delete
BerElement *ber,
[239] Fix | Delete
void *data,
[240] Fix | Delete
int mode ));
[241] Fix | Delete
[242] Fix | Delete
LBER_F( ber_tag_t )
[243] Fix | Delete
ber_get_tag LDAP_P((
[244] Fix | Delete
BerElement *ber ));
[245] Fix | Delete
[246] Fix | Delete
LBER_F( ber_tag_t )
[247] Fix | Delete
ber_skip_tag LDAP_P((
[248] Fix | Delete
BerElement *ber,
[249] Fix | Delete
ber_len_t *len ));
[250] Fix | Delete
[251] Fix | Delete
LBER_F( ber_tag_t )
[252] Fix | Delete
ber_peek_tag LDAP_P((
[253] Fix | Delete
BerElement *ber,
[254] Fix | Delete
ber_len_t *len ));
[255] Fix | Delete
[256] Fix | Delete
LBER_F( ber_tag_t )
[257] Fix | Delete
ber_skip_element LDAP_P((
[258] Fix | Delete
BerElement *ber,
[259] Fix | Delete
struct berval *bv ));
[260] Fix | Delete
[261] Fix | Delete
LBER_F( ber_tag_t )
[262] Fix | Delete
ber_peek_element LDAP_P((
[263] Fix | Delete
LDAP_CONST BerElement *ber,
[264] Fix | Delete
struct berval *bv ));
[265] Fix | Delete
[266] Fix | Delete
LBER_F( ber_tag_t )
[267] Fix | Delete
ber_get_int LDAP_P((
[268] Fix | Delete
BerElement *ber,
[269] Fix | Delete
ber_int_t *num ));
[270] Fix | Delete
[271] Fix | Delete
LBER_F( ber_tag_t )
[272] Fix | Delete
ber_get_enum LDAP_P((
[273] Fix | Delete
BerElement *ber,
[274] Fix | Delete
ber_int_t *num ));
[275] Fix | Delete
[276] Fix | Delete
LBER_F( ber_tag_t )
[277] Fix | Delete
ber_get_stringb LDAP_P((
[278] Fix | Delete
BerElement *ber,
[279] Fix | Delete
char *buf,
[280] Fix | Delete
ber_len_t *len ));
[281] Fix | Delete
[282] Fix | Delete
#define LBER_BV_ALLOC 0x01 /* allocate/copy result, otherwise in-place */
[283] Fix | Delete
#define LBER_BV_NOTERM 0x02 /* omit NUL-terminator if parsing in-place */
[284] Fix | Delete
#define LBER_BV_STRING 0x04 /* fail if berval contains embedded \0 */
[285] Fix | Delete
/* LBER_BV_STRING currently accepts a terminating \0 in the berval, because
[286] Fix | Delete
* Active Directory sends that in at least the diagonsticMessage field.
[287] Fix | Delete
*/
[288] Fix | Delete
[289] Fix | Delete
LBER_F( ber_tag_t )
[290] Fix | Delete
ber_get_stringbv LDAP_P((
[291] Fix | Delete
BerElement *ber,
[292] Fix | Delete
struct berval *bv,
[293] Fix | Delete
int options ));
[294] Fix | Delete
[295] Fix | Delete
LBER_F( ber_tag_t )
[296] Fix | Delete
ber_get_stringa LDAP_P((
[297] Fix | Delete
BerElement *ber,
[298] Fix | Delete
char **buf ));
[299] Fix | Delete
[300] Fix | Delete
LBER_F( ber_tag_t )
[301] Fix | Delete
ber_get_stringal LDAP_P((
[302] Fix | Delete
BerElement *ber,
[303] Fix | Delete
struct berval **bv ));
[304] Fix | Delete
[305] Fix | Delete
LBER_F( ber_tag_t )
[306] Fix | Delete
ber_get_bitstringa LDAP_P((
[307] Fix | Delete
BerElement *ber,
[308] Fix | Delete
char **buf,
[309] Fix | Delete
ber_len_t *len ));
[310] Fix | Delete
[311] Fix | Delete
LBER_F( ber_tag_t )
[312] Fix | Delete
ber_get_null LDAP_P((
[313] Fix | Delete
BerElement *ber ));
[314] Fix | Delete
[315] Fix | Delete
LBER_F( ber_tag_t )
[316] Fix | Delete
ber_get_boolean LDAP_P((
[317] Fix | Delete
BerElement *ber,
[318] Fix | Delete
ber_int_t *boolval ));
[319] Fix | Delete
[320] Fix | Delete
LBER_F( ber_tag_t )
[321] Fix | Delete
ber_first_element LDAP_P((
[322] Fix | Delete
BerElement *ber,
[323] Fix | Delete
ber_len_t *len,
[324] Fix | Delete
char **last ));
[325] Fix | Delete
[326] Fix | Delete
LBER_F( ber_tag_t )
[327] Fix | Delete
ber_next_element LDAP_P((
[328] Fix | Delete
BerElement *ber,
[329] Fix | Delete
ber_len_t *len,
[330] Fix | Delete
LDAP_CONST char *last ));
[331] Fix | Delete
[332] Fix | Delete
LBER_F( ber_tag_t )
[333] Fix | Delete
ber_scanf LDAP_P((
[334] Fix | Delete
BerElement *ber,
[335] Fix | Delete
LDAP_CONST char *fmt,
[336] Fix | Delete
... ));
[337] Fix | Delete
[338] Fix | Delete
LBER_F( int )
[339] Fix | Delete
ber_decode_oid LDAP_P((
[340] Fix | Delete
struct berval *in,
[341] Fix | Delete
struct berval *out ));
[342] Fix | Delete
[343] Fix | Delete
/*
[344] Fix | Delete
* in encode.c
[345] Fix | Delete
*/
[346] Fix | Delete
LBER_F( int )
[347] Fix | Delete
ber_encode_oid LDAP_P((
[348] Fix | Delete
struct berval *in,
[349] Fix | Delete
struct berval *out ));
[350] Fix | Delete
[351] Fix | Delete
typedef int (*BEREncodeCallback) LDAP_P((
[352] Fix | Delete
BerElement *ber,
[353] Fix | Delete
void *data ));
[354] Fix | Delete
[355] Fix | Delete
LBER_F( int )
[356] Fix | Delete
ber_put_enum LDAP_P((
[357] Fix | Delete
BerElement *ber,
[358] Fix | Delete
ber_int_t num,
[359] Fix | Delete
ber_tag_t tag ));
[360] Fix | Delete
[361] Fix | Delete
LBER_F( int )
[362] Fix | Delete
ber_put_int LDAP_P((
[363] Fix | Delete
BerElement *ber,
[364] Fix | Delete
ber_int_t num,
[365] Fix | Delete
ber_tag_t tag ));
[366] Fix | Delete
[367] Fix | Delete
LBER_F( int )
[368] Fix | Delete
ber_put_ostring LDAP_P((
[369] Fix | Delete
BerElement *ber,
[370] Fix | Delete
LDAP_CONST char *str,
[371] Fix | Delete
ber_len_t len,
[372] Fix | Delete
ber_tag_t tag ));
[373] Fix | Delete
[374] Fix | Delete
LBER_F( int )
[375] Fix | Delete
ber_put_berval LDAP_P((
[376] Fix | Delete
BerElement *ber,
[377] Fix | Delete
struct berval *bv,
[378] Fix | Delete
ber_tag_t tag ));
[379] Fix | Delete
[380] Fix | Delete
LBER_F( int )
[381] Fix | Delete
ber_put_string LDAP_P((
[382] Fix | Delete
BerElement *ber,
[383] Fix | Delete
LDAP_CONST char *str,
[384] Fix | Delete
ber_tag_t tag ));
[385] Fix | Delete
[386] Fix | Delete
LBER_F( int )
[387] Fix | Delete
ber_put_bitstring LDAP_P((
[388] Fix | Delete
BerElement *ber,
[389] Fix | Delete
LDAP_CONST char *str,
[390] Fix | Delete
ber_len_t bitlen,
[391] Fix | Delete
ber_tag_t tag ));
[392] Fix | Delete
[393] Fix | Delete
LBER_F( int )
[394] Fix | Delete
ber_put_null LDAP_P((
[395] Fix | Delete
BerElement *ber,
[396] Fix | Delete
ber_tag_t tag ));
[397] Fix | Delete
[398] Fix | Delete
LBER_F( int )
[399] Fix | Delete
ber_put_boolean LDAP_P((
[400] Fix | Delete
BerElement *ber,
[401] Fix | Delete
ber_int_t boolval,
[402] Fix | Delete
ber_tag_t tag ));
[403] Fix | Delete
[404] Fix | Delete
LBER_F( int )
[405] Fix | Delete
ber_start_seq LDAP_P((
[406] Fix | Delete
BerElement *ber,
[407] Fix | Delete
ber_tag_t tag ));
[408] Fix | Delete
[409] Fix | Delete
LBER_F( int )
[410] Fix | Delete
ber_start_set LDAP_P((
[411] Fix | Delete
BerElement *ber,
[412] Fix | Delete
ber_tag_t tag ));
[413] Fix | Delete
[414] Fix | Delete
LBER_F( int )
[415] Fix | Delete
ber_put_seq LDAP_P((
[416] Fix | Delete
BerElement *ber ));
[417] Fix | Delete
[418] Fix | Delete
LBER_F( int )
[419] Fix | Delete
ber_put_set LDAP_P((
[420] Fix | Delete
BerElement *ber ));
[421] Fix | Delete
[422] Fix | Delete
LBER_F( int )
[423] Fix | Delete
ber_printf LDAP_P((
[424] Fix | Delete
BerElement *ber,
[425] Fix | Delete
LDAP_CONST char *fmt,
[426] Fix | Delete
... ));
[427] Fix | Delete
[428] Fix | Delete
[429] Fix | Delete
/*
[430] Fix | Delete
* in io.c:
[431] Fix | Delete
*/
[432] Fix | Delete
[433] Fix | Delete
LBER_F( ber_slen_t )
[434] Fix | Delete
ber_skip_data LDAP_P((
[435] Fix | Delete
BerElement *ber,
[436] Fix | Delete
ber_len_t len ));
[437] Fix | Delete
[438] Fix | Delete
LBER_F( ber_slen_t )
[439] Fix | Delete
ber_read LDAP_P((
[440] Fix | Delete
BerElement *ber,
[441] Fix | Delete
char *buf,
[442] Fix | Delete
ber_len_t len ));
[443] Fix | Delete
[444] Fix | Delete
LBER_F( ber_slen_t )
[445] Fix | Delete
ber_write LDAP_P((
[446] Fix | Delete
BerElement *ber,
[447] Fix | Delete
LDAP_CONST char *buf,
[448] Fix | Delete
ber_len_t len,
[449] Fix | Delete
int zero )); /* nonzero is unsupported from OpenLDAP 2.4.18 */
[450] Fix | Delete
[451] Fix | Delete
LBER_F( void )
[452] Fix | Delete
ber_free LDAP_P((
[453] Fix | Delete
BerElement *ber,
[454] Fix | Delete
int freebuf ));
[455] Fix | Delete
[456] Fix | Delete
LBER_F( void )
[457] Fix | Delete
ber_free_buf LDAP_P(( BerElement *ber ));
[458] Fix | Delete
[459] Fix | Delete
LBER_F( int )
[460] Fix | Delete
ber_flush2 LDAP_P((
[461] Fix | Delete
Sockbuf *sb,
[462] Fix | Delete
BerElement *ber,
[463] Fix | Delete
int freeit ));
[464] Fix | Delete
#define LBER_FLUSH_FREE_NEVER (0x0) /* traditional behavior */
[465] Fix | Delete
#define LBER_FLUSH_FREE_ON_SUCCESS (0x1) /* traditional behavior */
[466] Fix | Delete
#define LBER_FLUSH_FREE_ON_ERROR (0x2)
[467] Fix | Delete
#define LBER_FLUSH_FREE_ALWAYS (LBER_FLUSH_FREE_ON_SUCCESS|LBER_FLUSH_FREE_ON_ERROR)
[468] Fix | Delete
[469] Fix | Delete
LBER_F( int )
[470] Fix | Delete
ber_flush LDAP_P((
[471] Fix | Delete
Sockbuf *sb,
[472] Fix | Delete
BerElement *ber,
[473] Fix | Delete
int freeit )); /* DEPRECATED */
[474] Fix | Delete
[475] Fix | Delete
LBER_F( BerElement * )
[476] Fix | Delete
ber_alloc LDAP_P(( void )); /* DEPRECATED */
[477] Fix | Delete
[478] Fix | Delete
LBER_F( BerElement * )
[479] Fix | Delete
der_alloc LDAP_P(( void )); /* DEPRECATED */
[480] Fix | Delete
[481] Fix | Delete
LBER_F( BerElement * )
[482] Fix | Delete
ber_alloc_t LDAP_P((
[483] Fix | Delete
int beroptions ));
[484] Fix | Delete
[485] Fix | Delete
LBER_F( BerElement * )
[486] Fix | Delete
ber_dup LDAP_P((
[487] Fix | Delete
BerElement *ber ));
[488] Fix | Delete
[489] Fix | Delete
LBER_F( ber_tag_t )
[490] Fix | Delete
ber_get_next LDAP_P((
[491] Fix | Delete
Sockbuf *sb,
[492] Fix | Delete
ber_len_t *len,
[493] Fix | Delete
BerElement *ber ));
[494] Fix | Delete
[495] Fix | Delete
LBER_F( void )
[496] Fix | Delete
ber_init2 LDAP_P((
[497] Fix | Delete
BerElement *ber,
[498] Fix | Delete
struct berval *bv,
[499] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function