Add basic pages for BER types and memory allocators.

This commit is contained in:
Kurt Zeilenga 2000-07-13 22:56:16 +00:00
parent da85564c0d
commit 19e45aee80
4 changed files with 112 additions and 19 deletions

View file

@ -1,4 +1,4 @@
.TH LBER_DECODE 3 "12 May 2000" "OpenLDAP LDVERSION"
.TH LBER_DECODE 3 "12 July 2000" "OpenLDAP LDVERSION"
.\" $OpenLDAP$
.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved.
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
@ -349,20 +349,13 @@ Some routines may dynamically allocate memory
which must be freed by the caller using supplied deallocation routines.
.SH SEE ALSO
.BR lber-encode (3)
.BR lber-memory (3)
.BR lber-types (3)
.BR ldap-parse (3)
.BR ldap-sync (3)
.BR ldap-async (3)
.LP
Yeong, W., Howes, T., and Hardcastle-Kille, S.,
"Lightweight Directory Access Protocol", OSI-DS-26, April 1992.
.LP
Information Processing - Open Systems Interconnection - Model and Notation -
Service Definition - Specification of Basic Encoding Rules for Abstract
Syntax Notation One, International Organization for Standardization,
International Standard 8825.
.SH AUTHOR
Tim Howes, University of Michigan
The OpenLDAP Project <http://www.openldap.org/>
.SH ACKNOWLEDGEMENTS
.B OpenLDAP
is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).

View file

@ -317,20 +317,13 @@ The return values for all of these functions are declared in the
<lber.h> header file.
.SH SEE ALSO
.BR lber-decode (3)
.BR lber-memory (3)
.BR lber-types (3)
.BR ldap-async (3)
.BR ldap-sync (3)
.BR ldap-parse (3)
.LP
Yeong, W., Howes, T., and Hardcastle-Kille, S.,
"Lightweight Directory Access Protocol", OSI-DS-26, April 1992.
.LP
Information Processing - Open Systems Interconnection - Model and Notation -
Service Definition - Specification of Basic Encoding Rules for Abstract
Syntax Notation One, International Organization for Standardization,
International Standard 8825.
.SH AUTHOR
Tim Howes, University of Michigan
The OpenLDAP Project <http://www.openldap.org/>
.SH ACKNOWLEDGEMENTS
.B OpenLDAP
is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).

View file

@ -0,0 +1,60 @@
.TH LBER_MEMORY 3 "12 July 2000" "OpenLDAP LDVERSION"
.\" $OpenLDAP$
.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved.
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
.SH NAME
ber_memalloc, ber_memcalloc, ber_memrealloc, ber_memfree \- LBER memory allocators
.SH SYNOPSIS
.nf
.ft B
#include <lber.h>
.ft
.fi
.LP
.nf
.ft B
void * ber_memalloc(
ber_len_t bytes )
.ft
.fi
.LP
.nf
.ft B
void * ber_memcalloc(
ber_len_t nelems, ber_len_t bytes )
.ft
.fi
.LP
.nf
.ft B
void * ber_memrealloc(
void \(**ptr,
ber_len_t bytes);
.ft
.fi
.LP
.nf
.ft B
void * ber_memfree(
void \(**ptr );
.ft
.fi
.SH DESCRIPTION
.LP
These routines are used to allocate/deallocate memory used/returned
by the Lightweight BER library as required by
.BR lber-encode (3)
and
.BR lber-decode (3).
.SH SEE ALSO
.BR lber-decode (3)
.BR lber-encode (3)
.BR lber-types (3)
.LP
.SH AUTHOR
The OpenLDAP Project <http://www.openldap.org/>
.SH ACKNOWLEDGEMENTS
.B OpenLDAP
is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
.B OpenLDAP
is derived from University of Michigan LDAP 3.3 Release.

47
doc/man/man3/lber-types.3 Normal file
View file

@ -0,0 +1,47 @@
.TH LBER_TYPES 3 "12 July 2000" "OpenLDAP LDVERSION"
.\" $OpenLDAP$
.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved.
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
.SH NAME
ber_int_t, ber_len_t, ber_tag_t \- LBER types
.SH SYNOPSIS
.nf
.ft B
#include <lber.h>
.ft
.fi
.LP
.nf
.ft B
typedef impl_int_t ber_int_t;
typedef impl_len_t ber_len_t;
typedef impl_tag_t ber_tag_t;
.ft
.fi
.SH DESCRIPTION
.LP
The are basic types defined for use with the Lightweight BER library.
.LP
.B ber_int_t
is a signed integer of at least 32 bits.
.LP
.B ber_len_t
is a unsigned integer of at least 32 bits used to represent a length.
It is commonly equivalent to a
.BR size_t .
.LP
.B ber_len_t
is a unsigned integer of at least 32 bits used to represent a
BER tag. It is commonly equivalent to a
.BR unsigned\ long .
.SH SEE ALSO
.BR lber-encode (3)
.BR lber-decode (3)
.LP
.SH AUTHOR
The OpenLDAP Project <http://www.openldap.org/>
.SH ACKNOWLEDGEMENTS
.B OpenLDAP
is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
.B OpenLDAP
is derived from University of Michigan LDAP 3.3 Release.