3 * Copyright 1998-2001 The OpenLDAP Foundation, Redwood City, California, USA
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted only as authorized by the OpenLDAP
8 * Public License. A copy of this license is available at
9 * http://www.OpenLDAP.org/license.html or in file LICENSE in the
10 * top-level directory of the distribution.
20 #include <ldap_cdefs.h>
24 /* LBER boolean, enum, integers (32 bits or larger) */
27 /* LBER tags (32 bits or larger) */
30 /* LBER socket descriptor */
33 /* LBER lengths (32 bits or larger) */
36 /* ------------------------------------------------------------ */
38 /* booleans, enumerations, and integers */
39 typedef LBER_INT_T ber_int_t;
41 /* signed and unsigned versions */
42 typedef signed LBER_INT_T ber_sint_t;
43 typedef unsigned LBER_INT_T ber_uint_t;
46 typedef unsigned LBER_TAG_T ber_tag_t;
48 /* "socket" descriptors */
49 typedef LBER_SOCKET_T ber_socket_t;
52 typedef unsigned LBER_LEN_T ber_len_t;
55 typedef signed LBER_LEN_T ber_slen_t;
59 #endif /* _LBER_TYPES_H */