home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ldapsdk.zip / include / lber_types.h.in < prev    next >
Text File  |  2001-06-02  |  1KB  |  60 lines

  1. /* $OpenLDAP: pkg/ldap/include/lber_types.h.in,v 1.2.6.3 2001/06/02 00:33:02 kurt Exp $ */
  2. /*
  3.  * Copyright 1998-2001 The OpenLDAP Foundation, Redwood City, California, USA
  4.  * All rights reserved.
  5.  *
  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.
  11.  */
  12.  
  13. /*
  14.  * LBER types
  15.  */
  16.  
  17. #ifndef _LBER_TYPES_H
  18. #define _LBER_TYPES_H
  19.  
  20. #include <ldap_cdefs.h>
  21.  
  22. LDAP_BEGIN_DECL
  23.  
  24. /* LBER boolean, enum, integers (32 bits or larger) */
  25. #undef LBER_INT_T
  26.  
  27. /* LBER tags (32 bits or larger) */
  28. #undef LBER_TAG_T
  29.  
  30. /* LBER socket descriptor */
  31. #undef LBER_SOCKET_T
  32.  
  33. /* LBER lengths (32 bits or larger) */
  34. #undef LBER_LEN_T
  35.  
  36. /* ------------------------------------------------------------ */
  37.  
  38. /* booleans, enumerations, and integers */
  39. typedef LBER_INT_T ber_int_t;
  40.  
  41. /* signed and unsigned versions */
  42. typedef signed LBER_INT_T ber_sint_t;
  43. typedef unsigned LBER_INT_T ber_uint_t;
  44.  
  45. /* tags */
  46. typedef unsigned LBER_TAG_T ber_tag_t;
  47.  
  48. /* "socket" descriptors */
  49. typedef LBER_SOCKET_T ber_socket_t;
  50.  
  51. /* lengths */
  52. typedef unsigned LBER_LEN_T ber_len_t;
  53.  
  54. /* signed lengths */
  55. typedef signed LBER_LEN_T ber_slen_t;
  56.  
  57. LDAP_END_DECL
  58.  
  59. #endif /* _LBER_TYPES_H */
  60.