From mboxrd@z Thu Jan 1 00:00:00 1970 From: lhh@sourceware.org Date: 6 Dec 2007 16:16:07 -0000 Subject: [Cluster-devel] cluster/rgmanager/include sets.h Message-ID: <20071206161607.6337.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 + */ +#ifndef _SETS_H +#define _SETS_H + +/* #include */ +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