3 * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
6 * Redistribution and use in source and binary forms are permitted only
7 * as authorized by the OpenLDAP Public License. A copy of this
8 * license is available at http://www.OpenLDAP.org/license.html or
9 * in file LICENSE in the top-level directory of the distribution.
13 * LBER types for Windows NT
16 #ifndef _LBER_TYPES_H_NT
17 #define _LBER_TYPES_H_NT
26 * typedef unsigned int size_t;
27 * typedef unsigned int SOCKET;
29 * we use native C types to avoid sucking in system headers
32 /* LBER boolean, enum, integers - 32 bits or larger*/
33 #define LBER_INT_T int
35 /* LBER tags - 32 bits or larger */
36 #define LBER_TAG_T long
38 /* LBER socket descriptor */
39 #define LBER_SOCKET_T unsigned int
41 /* LBER lengths - 32 bits or larger*/
42 #define LBER_LEN_T int
44 #endif /* _LBER_TYPES_H_NT */