FilterSpec.h

Go to the documentation of this file.
00001 #ifndef _FILTER_SPEC_H_
00002 #define _FILTER_SPEC_H_
00003 
00004 #include <string.h>
00005 #include "constants.h"
00006 #include "structs.h" 
00007 
00008 /// Constructor
00009 FilterSpec *createFilterSpec(char *filterName, char *libname);
00010 /// Destroyer
00011 void destroyFilterSpec(FilterSpec *f);
00012 
00013 
00014 /// These functions add hosts to the filter
00015 int addHostToFilter(FilterSpec *, char *hostName);
00016 /// The second adds the given host qty times
00017 int addHostsToFilter(FilterSpec *, char *hostName, int qty);
00018 
00019 /// Adds a stream to the inputs of a filter
00020 int addInputToFilter(FilterSpec *, StreamSpec *);
00021 /// Adds a stream to the outputs of a filter
00022 int addOutputToFilter(FilterSpec *, StreamSpec *);
00023 
00024 /// Spawn all instances of the filter
00025 int fsSpawnInstances(FilterSpec *, char *, char **);
00026 
00027 #endif

Generated on Tue Jan 17 19:18:38 2006 for Void by  doxygen 1.4.6