]> git.sur5r.net Git - openldap/blobdiff - include/lber.h
Do not require ac/string.h for lber_pvt.h
[openldap] / include / lber.h
index 73b83b5c29477c45cb8c82878e759f349e3e4a9f..04b841464dba139ed8c0ec48d08a6c4b722e86ff 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2015 The OpenLDAP Foundation.
+ * Copyright 1998-2018 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -173,7 +173,7 @@ typedef struct sockbuf Sockbuf;
 
 typedef struct sockbuf_io Sockbuf_IO;
 
-/* Structure for LBER IO operarion descriptor */
+/* Structure for LBER IO operation descriptor */
 typedef struct sockbuf_io_desc {
        int                     sbiod_level;
        Sockbuf                 *sbiod_sb;
@@ -255,6 +255,11 @@ ber_peek_tag LDAP_P((
        BerElement *ber,
        ber_len_t *len ));
 
+LBER_F( ber_tag_t )
+ber_skip_raw LDAP_P((
+       BerElement *ber,
+       struct berval *bv ));
+
 LBER_F( ber_tag_t )
 ber_skip_element LDAP_P((
        BerElement *ber,
@@ -275,6 +280,11 @@ ber_get_enum LDAP_P((
        BerElement *ber,
        ber_int_t *num ));
 
+LBER_F( int )
+ber_decode_int LDAP_P((
+       const struct berval *bv,
+       ber_int_t *num ));
+
 LBER_F( ber_tag_t )
 ber_get_stringb LDAP_P((
        BerElement *ber,