2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 * Copyright 1998-2012 The OpenLDAP Foundation.
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted only as authorized by the OpenLDAP
11 * A copy of this license is available in file LICENSE in the
12 * top-level directory of the distribution or, alternatively, at
13 * <http://www.OpenLDAP.org/license.html>.
23 #include <ldap_cdefs.h>
27 /* LBER boolean, enum, integers (32 bits or larger) */
30 /* LBER tags (32 bits or larger) */
33 /* LBER socket descriptor */
36 /* LBER lengths (32 bits or larger) */
39 /* ------------------------------------------------------------ */
41 /* booleans, enumerations, and integers */
42 typedef LBER_INT_T ber_int_t;
44 /* signed and unsigned versions */
45 typedef signed LBER_INT_T ber_sint_t;
46 typedef unsigned LBER_INT_T ber_uint_t;
49 typedef unsigned LBER_TAG_T ber_tag_t;
51 /* "socket" descriptors */
52 typedef LBER_SOCKET_T ber_socket_t;
55 typedef unsigned LBER_LEN_T ber_len_t;
58 typedef signed LBER_LEN_T ber_slen_t;
62 #endif /* _LBER_TYPES_H */