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