X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fman%2Fman3%2Flber-decode.3;h=d265ec4e47c9f907d15c58c74ec11db789363328;hb=c3932ca2c0a741cd2e693bcf5a044747a732757e;hp=8b4cfde74294da2c75e616fba1fd99232034feb8;hpb=b43ad1dd0eac7f09ef5a6d205cd7f614411bee0c;p=openldap diff --git a/doc/man/man3/lber-decode.3 b/doc/man/man3/lber-decode.3 index 8b4cfde742..d265ec4e47 100644 --- a/doc/man/man3/lber-decode.3 +++ b/doc/man/man3/lber-decode.3 @@ -1,6 +1,6 @@ .TH LBER_DECODE 3 "RELEASEDATE" "OpenLDAP LDVERSION" .\" $OpenLDAP$ -.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved. +.\" Copyright 1998-2006 The OpenLDAP Foundation All Rights Reserved. .\" Copying restrictions apply. See COPYRIGHT/LICENSE. .SH NAME ber_get_next, ber_skip_tag, ber_peek_tag, ber_scanf, ber_get_int, @@ -8,6 +8,8 @@ ber_get_enum, ber_get_stringb, ber_get_stringa, ber_get_stringal, ber_get_stringbv, ber_get_null, ber_get_boolean, ber_get_bitstring, ber_first_element, ber_next_element \- LBER simplified Basic Encoding Rules library routines for decoding +.SH LIBRARY +OpenLDAP LBER (liblber, -llber) .SH SYNOPSIS .B #include .LP @@ -102,6 +104,14 @@ returned in the parameter. The caller should free the returned string using .BR ber_memfree (). .TP +.B A +Octet string. A variant of "\fBa\fP". A char ** should be supplied. +Memory is allocated, filled with the contents of the octet string, +null-terminated, and returned in the parameter, unless a zero-length +string would result; in that case, the arg is set to NULL. +The caller should free the returned string using +.BR ber_memfree (). +.TP .B s Octet string. A char * buffer should be supplied, followed by a pointer to a ber_len_t initialized to the size of the buffer. Upon return, the @@ -334,7 +344,7 @@ as follows. .fi .SH ERRORS If an error occurs during decoding, generally these routines return -LBER_ERROR (\-1). +LBER_ERROR ((ber_tag_t)\-1). .LP .SH NOTES .LP @@ -348,7 +358,7 @@ which must be freed by the caller using supplied deallocation routines. .BR lber-sockbuf (3), .BR lber-types (3) .SH ACKNOWLEDGEMENTS -.B OpenLDAP +.B OpenLDAP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). -.B OpenLDAP +.B OpenLDAP is derived from University of Michigan LDAP 3.3 Release.