]> git.sur5r.net Git - openldap/blob - servers/slapd/back-relay/back-relay.h
6446ad667e874ade60d9d4654e40a73c92d7b6bd
[openldap] / servers / slapd / back-relay / back-relay.h
1 /* back-relay.h - relay backend header file */
2 /* $OpenLDAP$ */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4  *
5  * Copyright 2004-2008 The OpenLDAP Foundation.
6  * Portions Copyright 2004 Pierangelo Masarati.
7  * All rights reserved.
8  *
9  * Redistribution and use in source and binary forms, with or without
10  * modification, are permitted only as authorized by the OpenLDAP
11  * Public License.
12  *
13  * A copy of this license is available in the file LICENSE in the
14  * top-level directory of the distribution or, alternatively, at
15  * <http://www.OpenLDAP.org/license.html>.
16  */
17 /* ACKNOWLEDGEMENTS:
18  * This work was initially developed by Pierangelo Masarati for inclusion
19  * in OpenLDAP Software.
20  */
21
22 #ifndef SLAPD_RELAY_H
23 #define SLAPD_RELAY_H
24
25 #include "proto-back-relay.h"
26
27 /* String rewrite library */
28
29 LDAP_BEGIN_DECL
30
31 typedef struct relay_back_info {
32         BackendDB       *ri_bd;
33         struct berval   ri_realsuffix;
34         int             ri_massage;
35 } relay_back_info;
36
37 LDAP_END_DECL
38
39 #endif /* SLAPD_RELAY_H */