From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30876 invoked by alias); 16 Mar 2009 19:15:11 -0000 Received: (qmail 30809 invoked by alias); 16 Mar 2009 19:15:11 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion.fedora.phx.redhat.com Subject: cluster: the tag rgmanager_1_9_84 has been created To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/tags/rgmanager_1_9_84 X-Git-Reftype: tag X-Git-Oldrev: 80a26988a9c5db62d84cb44b290c06867bab940b X-Git-Newrev: 461faf8de764cd0a2e1571308b310941e612048d From: Chris Feist Message-Id: <20090316191407.69608120202@lists.fedorahosted.org> Date: Mon, 16 Mar 2009 19:15:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00796.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=461faf8de764cd0a2e1571308b310941e612048d Commit: 461faf8de764cd0a2e1571308b310941e612048d Parent: 80a26988a9c5db62d84cb44b290c06867bab940b Author: Christine Caulfield AuthorDate: Fri Mar 13 12:00:36 2009 +0000 Committer: Christine Caulfield 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 --- 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) {