Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-17 09:55:46

0001 /* include/lber_types.h.  Generated from lber_types.hin by configure.  */
0002 /* $OpenLDAP$ */
0003 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
0004  *
0005  * Copyright 1998-2024 The OpenLDAP Foundation.
0006  * All rights reserved.
0007  *
0008  * Redistribution and use in source and binary forms, with or without
0009  * modification, are permitted only as authorized by the OpenLDAP
0010  * Public License.
0011  *
0012  * A copy of this license is available in file LICENSE in the
0013  * top-level directory of the distribution or, alternatively, at
0014  * <http://www.OpenLDAP.org/license.html>.
0015  */
0016 
0017 /*
0018  * LBER types
0019  */
0020 
0021 #ifndef _LBER_TYPES_H
0022 #define _LBER_TYPES_H
0023 
0024 #include <ldap_cdefs.h>
0025 
0026 LDAP_BEGIN_DECL
0027 
0028 /* LBER boolean, enum, integers (32 bits or larger) */
0029 #define LBER_INT_T int
0030 
0031 /* LBER tags (32 bits or larger) */
0032 #define LBER_TAG_T long
0033 
0034 /* LBER socket descriptor */
0035 #define LBER_SOCKET_T int
0036 
0037 /* LBER lengths (32 bits or larger) */
0038 #define LBER_LEN_T long
0039 
0040 /* ------------------------------------------------------------ */
0041 
0042 /* booleans, enumerations, and integers */
0043 typedef LBER_INT_T ber_int_t;
0044 
0045 /* signed and unsigned versions */
0046 typedef signed LBER_INT_T ber_sint_t;
0047 typedef unsigned LBER_INT_T ber_uint_t;
0048 
0049 /* tags */
0050 typedef unsigned LBER_TAG_T ber_tag_t;
0051 
0052 /* "socket" descriptors */
0053 typedef LBER_SOCKET_T ber_socket_t;
0054 
0055 /* lengths */
0056 typedef unsigned LBER_LEN_T ber_len_t;
0057 
0058 /* signed lengths */
0059 typedef signed LBER_LEN_T ber_slen_t;
0060 
0061 LDAP_END_DECL
0062 
0063 #endif /* _LBER_TYPES_H */