1 /* back-relay.h - relay backend header file */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 * Copyright 2004-2011 The OpenLDAP Foundation.
6 * Portions Copyright 2004 Pierangelo Masarati.
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted only as authorized by the OpenLDAP
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>.
18 * This work was initially developed by Pierangelo Masarati for inclusion
19 * in OpenLDAP Software.
25 #include "proto-back-relay.h"
29 typedef enum relay_operation_e {
30 relay_op_entry_get = op_last,
31 relay_op_entry_release,
32 relay_op_has_subordinates,
36 typedef struct relay_back_info {
38 struct berval ri_realsuffix;
42 /* Pad relay_back_info if needed to create valid OpExtra key addresses */
43 #define RELAY_INFO_SIZE \
44 (sizeof(relay_back_info) > (size_t) relay_op_last ? \
45 sizeof(relay_back_info) : (size_t) relay_op_last )
49 #endif /* SLAPD_RELAY_H */