1999-08-30 21:17:01 -04:00
|
|
|
/* $OpenLDAP$ */
|
2003-11-26 02:16:36 -05:00
|
|
|
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
|
*
|
2022-01-07 13:40:00 -05:00
|
|
|
* Copyright 1998-2022 The OpenLDAP Foundation.
|
1999-06-18 19:53:05 -04:00
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
2001-05-28 23:29:53 -04:00
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
|
* modification, are permitted only as authorized by the OpenLDAP
|
2003-11-26 02:16:36 -05:00
|
|
|
* Public License.
|
|
|
|
|
*
|
|
|
|
|
* A copy of this license is available in file LICENSE in the
|
|
|
|
|
* top-level directory of the distribution or, alternatively, at
|
|
|
|
|
* <http://www.OpenLDAP.org/license.html>.
|
1999-06-18 19:53:05 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* LBER types
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef _LBER_TYPES_H
|
|
|
|
|
#define _LBER_TYPES_H
|
|
|
|
|
|
1999-11-23 18:07:00 -05:00
|
|
|
#include <ldap_cdefs.h>
|
|
|
|
|
|
1999-11-16 21:04:06 -05:00
|
|
|
LDAP_BEGIN_DECL
|
|
|
|
|
|
1999-10-29 23:26:56 -04:00
|
|
|
/* LBER boolean, enum, integers (32 bits or larger) */
|
1999-06-18 19:53:05 -04:00
|
|
|
#undef LBER_INT_T
|
|
|
|
|
|
1999-10-29 23:26:56 -04:00
|
|
|
/* LBER tags (32 bits or larger) */
|
1999-06-18 19:53:05 -04:00
|
|
|
#undef LBER_TAG_T
|
|
|
|
|
|
|
|
|
|
/* LBER socket descriptor */
|
|
|
|
|
#undef LBER_SOCKET_T
|
|
|
|
|
|
1999-10-29 23:26:56 -04:00
|
|
|
/* LBER lengths (32 bits or larger) */
|
1999-06-18 19:53:05 -04:00
|
|
|
#undef LBER_LEN_T
|
|
|
|
|
|
1999-11-16 21:04:06 -05:00
|
|
|
/* ------------------------------------------------------------ */
|
|
|
|
|
|
|
|
|
|
/* booleans, enumerations, and integers */
|
|
|
|
|
typedef LBER_INT_T ber_int_t;
|
|
|
|
|
|
|
|
|
|
/* signed and unsigned versions */
|
|
|
|
|
typedef signed LBER_INT_T ber_sint_t;
|
|
|
|
|
typedef unsigned LBER_INT_T ber_uint_t;
|
|
|
|
|
|
|
|
|
|
/* tags */
|
|
|
|
|
typedef unsigned LBER_TAG_T ber_tag_t;
|
|
|
|
|
|
|
|
|
|
/* "socket" descriptors */
|
|
|
|
|
typedef LBER_SOCKET_T ber_socket_t;
|
|
|
|
|
|
|
|
|
|
/* lengths */
|
|
|
|
|
typedef unsigned LBER_LEN_T ber_len_t;
|
|
|
|
|
|
|
|
|
|
/* signed lengths */
|
|
|
|
|
typedef signed LBER_LEN_T ber_slen_t;
|
|
|
|
|
|
|
|
|
|
LDAP_END_DECL
|
|
|
|
|
|
1999-06-18 19:53:05 -04:00
|
|
|
#endif /* _LBER_TYPES_H */
|