public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: the tag gfs-kernel_2_6_9_82 has been created
@ 2009-03-16 19:15 Chris Feist
  0 siblings, 0 replies; only message in thread
From: Chris Feist @ 2009-03-16 19:15 UTC (permalink / raw)
  To: cluster-cvs-relay

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)
 {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-16 19:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-16 19:15 cluster: the tag gfs-kernel_2_6_9_82 has been created Chris Feist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).