summaryrefslogtreecommitdiff
path: root/ctdb/include
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_client.h2
-rw-r--r--ctdb/include/ctdb_protocol.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/ctdb/include/ctdb_client.h b/ctdb/include/ctdb_client.h
index f04e24e72a4..5401f82c58e 100644
--- a/ctdb/include/ctdb_client.h
+++ b/ctdb/include/ctdb_client.h
@@ -388,7 +388,7 @@ int ctdb_ctrl_get_ifaces(struct ctdb_context *ctdb,
int ctdb_ctrl_set_iface_link(struct ctdb_context *ctdb,
struct timeval timeout, uint32_t destnode,
TALLOC_CTX *mem_ctx,
- const struct ctdb_control_iface_info *info);
+ const struct ctdb_iface *info);
int ctdb_ctrl_modflags(struct ctdb_context *ctdb,
struct timeval timeout,
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h
index a850e5c6850..90a9fed98fd 100644
--- a/ctdb/include/ctdb_protocol.h
+++ b/ctdb/include/ctdb_protocol.h
@@ -988,7 +988,7 @@ struct ctdb_transdb {
#define CTDB_PUBLIC_IP_FLAGS_ONLY_AVAILABLE 0x00010000
-struct ctdb_control_iface_info {
+struct ctdb_iface {
char name[CTDB_IFACE_SIZE+2];
uint16_t link_state;
uint32_t references;
@@ -998,12 +998,12 @@ struct ctdb_control_public_ip_info {
struct ctdb_public_ip ip;
uint32_t active_idx;
uint32_t num;
- struct ctdb_control_iface_info ifaces[1];
+ struct ctdb_iface ifaces[1];
};
struct ctdb_control_get_ifaces {
uint32_t num;
- struct ctdb_control_iface_info ifaces[1];
+ struct ctdb_iface ifaces[1];
};
/**