cluster: STABLE3 - rgmanager: Move prototypes in to correct header

Lon Hohberger lon at fedoraproject.org
Mon Dec 14 19:23:06 UTC 2009


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=282f383a6c69f13e2c0e36e576b53f130cdae11b
Commit:        282f383a6c69f13e2c0e36e576b53f130cdae11b
Parent:        24e8a5d33b40ae6aa57949366497eda119ac81cc
Author:        Lon Hohberger <lhh at redhat.com>
AuthorDate:    Thu Dec 10 14:42:32 2009 -0500
Committer:     Lon Hohberger <lhh at redhat.com>
CommitterDate: Mon Dec 14 14:22:00 2009 -0500

rgmanager: Move prototypes in to correct header

Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
 rgmanager/include/fo_domain.h |    1 +
 rgmanager/include/reslist.h   |   11 -----------
 2 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/rgmanager/include/fo_domain.h b/rgmanager/include/fo_domain.h
index 2cc654b..d8a7813 100644
--- a/rgmanager/include/fo_domain.h
+++ b/rgmanager/include/fo_domain.h
@@ -39,6 +39,7 @@ typedef struct _fod {
 int construct_domains(int ccsfd, fod_t **domains);
 void deconstruct_domains(fod_t **domains);
 void print_domains(fod_t **domains);
+void dump_domains(FILE *fp, fod_t **domains);
 int node_should_start(int nodeid, cluster_member_list_t *membership,
 	      	      const char *rg_name, fod_t **domains);
 int node_domain_set(fod_t **domains, char *name, int **ret,
diff --git a/rgmanager/include/reslist.h b/rgmanager/include/reslist.h
index 40b8297..119fbfc 100644
--- a/rgmanager/include/reslist.h
+++ b/rgmanager/include/reslist.h
@@ -168,17 +168,6 @@ void dump_resource_tree(FILE *fp, resource_node_t **tree);
 void destroy_resource_tree(resource_node_t **tree);
 
 void *act_dup(resource_act_t *acts);
-/*
-   Construct/deconstruct failover domains
- */
-int construct_domains(int ccsfd, fod_t **domains);
-void deconstruct_domains(fod_t **domains);
-void print_domains(fod_t **domains);
-void dump_domains(FILE *fp, fod_t **domains);
-int node_should_start(int nodeid, cluster_member_list_t *membership,
-		      char *rg_name, fod_t **domains);
-int node_domain_set(fod_t **domains, char *name, int **ret, int *retlen, int *flags);
-int node_domain_set_safe(char *domainname, int **ret, int *retlen, int *flags);
 
 
 /*


More information about the cluster-commits mailing list