openldap/tests/modules/mod-harness/connection.c

40 lines
1 KiB
C
Raw Permalink Normal View History

2019-07-16 13:18:38 -04:00
/* connection.c - communication with test harness */
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
2024-03-26 15:45:07 -04:00
* Copyright 2007-2024 The OpenLDAP Foundation.
2019-07-16 13:18:38 -04:00
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted only as authorized by the OpenLDAP
* Public License.
*
* A copy of this license is available in the file LICENSE in the
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
/* ACKNOWLEDGEMENTS:
* This work was initially developed by Ondřej Kuzník for inclusion
* in OpenLDAP Software.
*/
#include "portable.h"
#include <stdio.h>
#include <ac/errno.h>
#include <ac/socket.h>
#include "slap.h"
#include "mod-harness.h"
void *
harness_callback( void *ctx, void *arg )
{
Debug( LDAP_DEBUG_ANY, "harness_callback: "
"not expecting to receive anything yet on this connection!\n" );
assert( slapd_shutdown );
return NULL;
}