mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Add copyright notice and a few comments here and there
This commit is contained in:
parent
dce3f6e5bc
commit
9ea7a42b99
@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||||
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||||
|
*/
|
||||||
/* back-ldbm.h - ldap ldbm back-end header file */
|
/* back-ldbm.h - ldap ldbm back-end header file */
|
||||||
|
|
||||||
#ifndef _BACK_LDBM_H_
|
#ifndef _BACK_LDBM_H_
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||||
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||||
|
*/
|
||||||
#ifndef _LDBM_EXTERNAL_H
|
#ifndef _LDBM_EXTERNAL_H
|
||||||
#define _LDBM_EXTERNAL_H
|
#define _LDBM_EXTERNAL_H
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||||
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||||
|
*/
|
||||||
#ifndef _PROTO_BACK_LDBM
|
#ifndef _PROTO_BACK_LDBM
|
||||||
#define _PROTO_BACK_LDBM
|
#define _PROTO_BACK_LDBM
|
||||||
|
|
||||||
|
@ -295,6 +295,7 @@ open_listener(
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SO_REUSEADDR
|
#ifdef SO_REUSEADDR
|
||||||
|
/* enable address reuse */
|
||||||
tmp = 1;
|
tmp = 1;
|
||||||
if ( setsockopt( l.sl_sd, SOL_SOCKET, SO_REUSEADDR,
|
if ( setsockopt( l.sl_sd, SOL_SOCKET, SO_REUSEADDR,
|
||||||
(char *) &tmp, sizeof(tmp) ) == -1 )
|
(char *) &tmp, sizeof(tmp) ) == -1 )
|
||||||
@ -308,6 +309,7 @@ open_listener(
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef SO_KEEPALIVE
|
#ifdef SO_KEEPALIVE
|
||||||
|
/* enable keep alives */
|
||||||
tmp = 1;
|
tmp = 1;
|
||||||
if ( setsockopt( l.sl_sd, SOL_SOCKET, SO_KEEPALIVE,
|
if ( setsockopt( l.sl_sd, SOL_SOCKET, SO_KEEPALIVE,
|
||||||
(char *) &tmp, sizeof(tmp) ) == -1 )
|
(char *) &tmp, sizeof(tmp) ) == -1 )
|
||||||
@ -321,6 +323,7 @@ open_listener(
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef TCP_NODELAY
|
#ifdef TCP_NODELAY
|
||||||
|
/* enable no delay */
|
||||||
tmp = 1;
|
tmp = 1;
|
||||||
if ( setsockopt( l.sl_sd, IPPROTO_TCP, TCP_NODELAY,
|
if ( setsockopt( l.sl_sd, IPPROTO_TCP, TCP_NODELAY,
|
||||||
(char *)&tmp, sizeof(tmp) ) )
|
(char *)&tmp, sizeof(tmp) ) )
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||||
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||||
|
*/
|
||||||
#include "portable.h"
|
#include "portable.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||||
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||||
|
*/
|
||||||
#ifndef _PROTO_SLAP
|
#ifndef _PROTO_SLAP
|
||||||
#define _PROTO_SLAP
|
#define _PROTO_SLAP
|
||||||
|
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
/* slap.h - stand alone ldap server include file */
|
/* slap.h - stand alone ldap server include file */
|
||||||
|
/*
|
||||||
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||||
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef _SLDAPD_H_
|
#ifndef _SLDAPD_H_
|
||||||
#define _SLDAPD_H_
|
#define _SLDAPD_H_
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||||
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||||
|
*/
|
||||||
#include "portable.h"
|
#include "portable.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||||
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||||
|
*/
|
||||||
#include "portable.h"
|
#include "portable.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||||
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||||
|
*/
|
||||||
#include "portable.h"
|
#include "portable.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||||
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||||
|
*/
|
||||||
#include "portable.h"
|
#include "portable.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||||
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||||
|
*/
|
||||||
#include "portable.h"
|
#include "portable.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||||
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||||
|
*/
|
||||||
#include "portable.h"
|
#include "portable.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||||
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||||
|
*/
|
||||||
#include "portable.h"
|
#include "portable.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
||||||
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||||
|
*/
|
||||||
/*
|
/*
|
||||||
* Mimic unused interfaces of slapd...
|
* Mimic unused interfaces of slapd...
|
||||||
* needed for linking.
|
* needed for linking.
|
||||||
|
Loading…
Reference in New Issue
Block a user