cluster: the tag cman_1_0_27 has been created
Chris Feist
cfeist@fedoraproject.org
Mon Mar 16 19:15:00 GMT 2009
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=461faf8de764cd0a2e1571308b310941e612048d
Commit: 461faf8de764cd0a2e1571308b310941e612048d
Parent: 80a26988a9c5db62d84cb44b290c06867bab940b
Author: Christine Caulfield <ccaulfie@redhat.com>
AuthorDate: Fri Mar 13 12:00:36 2009 +0000
Committer: Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Fri Mar 13 12:00:36 2009 +0000
cman: Fix some handles from unsigned int to hdb_handle_t
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
cman/config/nodelist.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/cman/config/nodelist.h b/cman/config/nodelist.h
index b1eaa33..76c8349 100644
--- a/cman/config/nodelist.h
+++ b/cman/config/nodelist.h
@@ -1,5 +1,5 @@
/* These just make the access a little neater */
-static inline int objdb_get_string(OBJDB_API *corosync, unsigned int object_service_handle,
+static inline int objdb_get_string(OBJDB_API *corosync, hdb_handle_t object_service_handle,
char *key, char **value)
{
int res;
@@ -16,7 +16,7 @@ static inline int objdb_get_string(OBJDB_API *corosync, unsigned int object_serv
return -1;
}
-static inline void objdb_get_int(OBJDB_API *corosync, unsigned int object_service_handle,
+static inline void objdb_get_int(OBJDB_API *corosync, hdb_handle_t object_service_handle,
char *key, unsigned int *intvalue, unsigned int default_value)
{
char *value = NULL;
@@ -33,7 +33,7 @@ static inline void objdb_get_int(OBJDB_API *corosync, unsigned int object_servic
/* Helper functions for navigating the nodes list */
-static inline unsigned int nodeslist_init(OBJDB_API *corosync,
+static inline hdb_handle_t nodeslist_init(OBJDB_API *corosync,
hdb_handle_t cluster_parent_handle,
hdb_handle_t *find_handle)
{
@@ -58,7 +58,7 @@ static inline unsigned int nodeslist_init(OBJDB_API *corosync,
return 0;
}
-static inline unsigned int nodeslist_next(OBJDB_API *corosync, hdb_handle_t find_handle)
+static inline hdb_handle_t nodeslist_next(OBJDB_API *corosync, hdb_handle_t find_handle)
{
hdb_handle_t nodes_handle;
@@ -68,7 +68,7 @@ static inline unsigned int nodeslist_next(OBJDB_API *corosync, hdb_handle_t fin
return 0;
}
-static inline unsigned int nodelist_byname(OBJDB_API *corosync,
+static inline hdb_handle_t nodelist_byname(OBJDB_API *corosync,
hdb_handle_t cluster_parent_handle,
char *name)
{
More information about the Cluster-cvs
mailing list