2004-03-17 09:03:21 +08:00
|
|
|
/* back-relay.h - relay backend header file */
|
|
|
|
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
*
|
2006-01-04 07:11:52 +08:00
|
|
|
* Copyright 2004-2006 The OpenLDAP Foundation.
|
2004-03-17 09:03:21 +08:00
|
|
|
* Portions Copyright 2004 Pierangelo Masarati.
|
|
|
|
* 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 Pierangelo Masarati for inclusion
|
|
|
|
* in OpenLDAP Software.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SLAPD_RELAY_H
|
|
|
|
#define SLAPD_RELAY_H
|
|
|
|
|
2004-11-11 08:39:19 +08:00
|
|
|
#include "proto-back-relay.h"
|
2004-03-17 09:03:21 +08:00
|
|
|
|
|
|
|
/* String rewrite library */
|
|
|
|
|
|
|
|
LDAP_BEGIN_DECL
|
|
|
|
|
|
|
|
typedef struct relay_back_info {
|
|
|
|
BackendDB *ri_bd;
|
2004-03-17 20:21:40 +08:00
|
|
|
struct berval ri_realsuffix;
|
|
|
|
int ri_massage;
|
2004-03-17 09:03:21 +08:00
|
|
|
} relay_back_info;
|
|
|
|
|
|
|
|
LDAP_END_DECL
|
|
|
|
|
|
|
|
#endif /* SLAPD_RELAY_H */
|