/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
+/* Portions
* Copyright (c) 1993, 1994 Regents of the University of Michigan.
* All rights reserved.
*
#include <sys/file.h>
#endif
-#include "lber.h"
-#include "ldap.h"
+#include "ldap-int.h"
#include "srchpref.h"
-int next_line_tokens LDAP_P(( char **bufp, long *blenp, char ***toksp ));
-void free_strarray LDAP_P(( char **sap ));
+#include "ldap-int.h"
+
static void free_searchobj LDAP_P(( struct ldap_searchobj *so ));
static int read_next_searchobj LDAP_P(( char **bufp, long *blenp,
struct ldap_searchobj **sop, int soversion ));
-static char *sobjoptions[] = {
+static const char *const sobjoptions[] = {
"internal",
NULL
};
-static unsigned long sobjoptvals[] = {
+static const unsigned long sobjoptvals[] = {
LDAP_SEARCHOBJ_OPT_INTERNAL,
};