Add copyright notice and a few comments here and there

This commit is contained in:
Kurt Zeilenga 1999-08-04 23:59:13 +00:00
parent dce3f6e5bc
commit 9ea7a42b99
15 changed files with 59 additions and 0 deletions

View File

@ -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_

View File

@ -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

View File

@ -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

View File

@ -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) ) )

View File

@ -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>

View File

@ -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

View File

@ -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_

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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.