public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: Chris Feist <cfeist@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: cluster: the tag rgmanager_1_9_84 has been created
Date: Mon, 16 Mar 2009 19:15:00 -0000	[thread overview]
Message-ID: <20090316191407.69608120202@lists.fedorahosted.org> (raw)

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


                 reply	other threads:[~2009-03-16 19:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090316191407.69608120202@lists.fedorahosted.org \
    --to=cfeist@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).