[Cluster-devel] cluster/rgmanager/include sets.h
lhh at sourceware.org
lhh at sourceware.org
Thu Dec 6 16:16:07 UTC 2007
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: lhh at sourceware.org 2007-12-06 16:16:07
Added files:
rgmanager/include: sets.h
Log message:
Add missing sets.h
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/include/sets.h.diff?cvsroot=cluster&r1=NONE&r2=1.1
/cvs/cluster/cluster/rgmanager/include/sets.h,v --> standard output
revision 1.1
--- cluster/rgmanager/include/sets.h
+++ - 2007-12-06 16:16:07.666556000 +0000
@@ -0,0 +1,39 @@
+/*
+ Copyright Red Hat, Inc. 2007
+
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License version 2 as published
+ by the Free Software Foundation.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
+ MA 02139, USA.
+*/
+/**
+ @file sets.h - Header file for sets.c
+ @author Lon Hohberger <lhh at redhat.com>
+ */
+#ifndef _SETS_H
+#define _SETS_H
+
+/* #include <stdint.h> */
+typedef int set_type_t;
+
+int s_add(set_type_t *, int *, set_type_t);
+int s_union(set_type_t *, int, set_type_t *,
+ int, set_type_t **, int *);
+
+int s_intersection(set_type_t *, int, set_type_t *,
+ int, set_type_t **, int *);
+int s_delta(set_type_t *, int, set_type_t *,
+ int, set_type_t **, int *);
+int s_subtract(set_type_t *, int, set_type_t *, int, set_type_t **, int *);
+int s_shuffle(set_type_t *, int);
+
+#endif
More information about the Cluster-devel
mailing list