mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Remove lint
Add copyrights
This commit is contained in:
parent
4dfc7fc674
commit
b1639dadd6
27 changed files with 75 additions and 40 deletions
|
|
@ -164,5 +164,9 @@ CFG=build - Win32 DLL Debug
|
|||
|
||||
!ENDIF
|
||||
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\build.mak
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
||||
|
|
|
|||
|
|
@ -356,6 +356,9 @@ Package=<5>
|
|||
|
||||
Package=<4>
|
||||
{{{
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name setup
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
|
@ -368,6 +371,9 @@ Package=<5>
|
|||
|
||||
Package=<4>
|
||||
{{{
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name setup
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
|
@ -380,6 +386,9 @@ Package=<5>
|
|||
|
||||
Package=<4>
|
||||
{{{
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name setup
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
|
@ -392,6 +401,9 @@ Package=<5>
|
|||
|
||||
Package=<4>
|
||||
{{{
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name setup
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
|
@ -404,6 +416,9 @@ Package=<5>
|
|||
|
||||
Package=<4>
|
||||
{{{
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name setup
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
|
@ -416,6 +431,9 @@ Package=<5>
|
|||
|
||||
Package=<4>
|
||||
{{{
|
||||
Begin Project Dependency
|
||||
Project_Dep_Name setup
|
||||
End Project Dependency
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/*
|
||||
* Copyright (c) 1991, 1992 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/*
|
||||
* Copyright (c) 1994 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/*
|
||||
* Copyright (c) 1991, 1992, 1993
|
||||
* Regents of the University of Michigan. All rights reserved.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/*
|
||||
* Copyright (c) 1992, 1993, 1994 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/*
|
||||
* Copyright (c) 1993, 1994 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/*
|
||||
* Copyright (c) 1992, 1993 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/*
|
||||
* Copyright (c) 1991,1993 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/*
|
||||
* Copyright (c) 1991, 1993
|
||||
* Regents of the University of Michigan. All rights reserved.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
#include "portable.h"
|
||||
|
||||
#if defined(HAVE_KERBEROS) && !defined(openbsd)
|
||||
|
|
|
|||
|
|
@ -1,12 +1,7 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted only
|
||||
* as authorized by the OpenLDAP Public License. A copy of this
|
||||
* license is available at http://www.OpenLDAP.org/license.html or
|
||||
* in file LICENSE in the top-level directory of the distribution.
|
||||
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/*
|
||||
* Copyright (c) 1991, 1992, 1993
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
/*
|
||||
* Copyright (c) 1992, 1993 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ typedef int (*BERTranslateProc) LDAP_P((
|
|||
/* LBER BerElement options */
|
||||
#define LBER_USE_DER 0x01
|
||||
#define LBER_USE_INDEFINITE_LEN 0x02
|
||||
#define LBER_TRANSLATE_STRINGS 0x04
|
||||
#define LBER_TRANSLATE_STRINGS 0x04 /* deprecated */
|
||||
|
||||
/* get/set options for BerElement */
|
||||
#define LBER_OPT_BER_OPTIONS 0x01
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ lutil_detach LDAP_P((
|
|||
LIBLUTIL_F( int )
|
||||
lutil_entropy LDAP_P((
|
||||
char *buf,
|
||||
int nbytes ));
|
||||
ber_len_t nbytes ));
|
||||
|
||||
/* passwd.c */
|
||||
struct berval; /* avoid pulling in lber.h */
|
||||
|
|
@ -65,7 +65,7 @@ lutil_passwd LDAP_P((
|
|||
const char **methods ));
|
||||
|
||||
LIBLUTIL_F( struct berval * )
|
||||
lutil_passwd_generate LDAP_P(( int ));
|
||||
lutil_passwd_generate LDAP_P(( ber_len_t ));
|
||||
|
||||
LIBLUTIL_F( struct berval * )
|
||||
lutil_passwd_hash LDAP_P((
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
/* testavl.c - Test Tim Howes AVL code */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
*/
|
||||
|
||||
#include "portable.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -12,9 +12,6 @@
|
|||
#include <ac/stdarg.h>
|
||||
#include <ac/string.h>
|
||||
|
||||
#undef LDAP_F_PRE
|
||||
#define LDAP_F_PRE LDAP_F_EXPORT
|
||||
|
||||
#include "lber-int.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -26,9 +26,6 @@
|
|||
#include <ac/string.h>
|
||||
#include <ac/socket.h>
|
||||
|
||||
#undef LDAP_F_PRE
|
||||
#define LDAP_F_PRE LDAP_F_EXPORT
|
||||
|
||||
#include "lber-int.h"
|
||||
|
||||
static ber_len_t ber_getnint LDAP_P((
|
||||
|
|
|
|||
|
|
@ -26,9 +26,6 @@
|
|||
#include <ac/socket.h>
|
||||
#include <ac/string.h>
|
||||
|
||||
#undef LDAP_F_PRE
|
||||
#define LDAP_F_PRE LDAP_F_EXPORT
|
||||
|
||||
#include "lber-int.h"
|
||||
|
||||
static int ber_put_len LDAP_P((
|
||||
|
|
|
|||
|
|
@ -32,9 +32,6 @@
|
|||
#include <io.h>
|
||||
#endif
|
||||
|
||||
#undef LDAP_F_PRE
|
||||
#define LDAP_F_PRE LDAP_F_EXPORT
|
||||
|
||||
#include "lber-int.h"
|
||||
|
||||
static ber_slen_t BerRead LDAP_P((
|
||||
|
|
|
|||
|
|
@ -8,9 +8,6 @@
|
|||
#include <ac/stdlib.h>
|
||||
#include <ac/string.h>
|
||||
|
||||
#undef LDAP_F_PRE
|
||||
#define LDAP_F_PRE LDAP_F_EXPORT
|
||||
|
||||
#include "lber-int.h"
|
||||
|
||||
#if LDAP_MEMORY_DEBUG
|
||||
|
|
|
|||
|
|
@ -8,9 +8,6 @@
|
|||
#include <ac/stdlib.h>
|
||||
#include <ac/string.h>
|
||||
|
||||
#undef LDAP_F_PRE
|
||||
#define LDAP_F_PRE LDAP_F_EXPORT
|
||||
|
||||
#include "lber-int.h"
|
||||
|
||||
struct lber_options ber_int_options = {
|
||||
|
|
|
|||
|
|
@ -27,9 +27,6 @@
|
|||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
#undef LDAP_F_PRE
|
||||
#define LDAP_F_PRE LDAP_F_EXPORT
|
||||
|
||||
#include "lber-int.h"
|
||||
|
||||
#ifdef LDAP_TEST
|
||||
|
|
|
|||
|
|
@ -33,9 +33,8 @@
|
|||
* This routinue should be extended to support additional sources
|
||||
* of entropy.
|
||||
*/
|
||||
int lutil_entropy( char *buf, int nbytes )
|
||||
int lutil_entropy( char *buf, ber_len_t nbytes )
|
||||
{
|
||||
if( nbytes < 0 ) return -1;
|
||||
if( nbytes == 0 ) return 0;
|
||||
|
||||
#ifdef URANDOM_DEVICE
|
||||
|
|
@ -91,7 +90,7 @@ int lutil_entropy( char *buf, int nbytes )
|
|||
* access to this counter may not be atomic.
|
||||
*/
|
||||
static int counter = 0;
|
||||
int n;
|
||||
ber_len_t n;
|
||||
|
||||
struct rdata_s {
|
||||
int counter;
|
||||
|
|
|
|||
|
|
@ -250,7 +250,7 @@ lutil_passwd(
|
|||
|
||||
}
|
||||
|
||||
struct berval * lutil_passwd_generate( int len )
|
||||
struct berval * lutil_passwd_generate( ber_len_t len )
|
||||
{
|
||||
struct berval *pw;
|
||||
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ ldbm_back_exop_passwd(
|
|||
Debug( LDAP_DEBUG_TRACE, "passwd: \"%s\"%s\n",
|
||||
dn, id ? " (proxy)" : "", 0 );
|
||||
|
||||
if( dn == NULL || dn[0] == NULL ) {
|
||||
if( dn == NULL || dn[0] == '\0' ) {
|
||||
*text = ch_strdup("No password is associated with the Root DSE");
|
||||
rc = LDAP_OPERATIONS_ERROR;
|
||||
goto done;
|
||||
|
|
|
|||
|
|
@ -335,10 +335,6 @@ int slapd_daemon_init( char *urls )
|
|||
int i, rc;
|
||||
char **u;
|
||||
|
||||
#ifndef HAVE_TLS
|
||||
assert( tls_port == 0 );
|
||||
#endif
|
||||
|
||||
Debug( LDAP_DEBUG_ARGS, "daemon_init: %s\n",
|
||||
urls ? urls : "<null>", 0, 0 );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue