]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/messages.c
ITS#6595
[openldap] / libraries / libldap / messages.c
index 808a39509bf3ddb63d901c9c95f7962101d7c599..98631d83a35800ed11de765f057f63074a8e954c 100644 (file)
@@ -1,10 +1,17 @@
+/* messages.c */
 /* $OpenLDAP$ */
-/*
- * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
- */
-/*
- *  messages.c
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 1998-2010 The OpenLDAP Foundation.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in the file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
  */
 
 #include "portable.h"
@@ -53,3 +60,9 @@ ldap_count_messages( LDAP *ld, LDAPMessage *chain )
 
        return( i );
 }
+
+BerElement*
+ldap_get_message_ber( LDAPMessage *ld )
+{
+       return ld->lm_ber;
+}