]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/srchpref.c
Improved ldap_int_strtok. If strtok_r does not exists, it will be worked
[openldap] / libraries / libldap / srchpref.c
index 8e6fd26e30b73c18fd95f24bb588ecf315fc3cd2..1af1c227a4e7802a10c25d6c68b7113940a1e196 100644 (file)
@@ -1,4 +1,8 @@
 /*
+ * 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 <stdio.h>
 #include <stdlib.h>
-#include <ctype.h>
 
+#include <ac/ctype.h>
 #include <ac/string.h>
-#include <ac/unistd.h>
 #include <ac/time.h>
+#include <ac/unistd.h>
 
 #ifdef HAVE_SYS_FILE_H
 #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 ));