summaryrefslogtreecommitdiffstats
path: root/src/ufo-roof-config.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2020-02-01 13:07:46 +0100
committerSuren A. Chilingaryan <csa@suren.me>2020-02-01 13:07:46 +0100
commit0ce4e8d52fd491268a56c10dbb32fd5c996e2589 (patch)
treeafe5defc2a845f0b65936a1874e4658412eff2cd /src/ufo-roof-config.h
parent44cef2cb16dd2bc55ad34d0b8313f7f314b0107a (diff)
downloadufo-roof-temp-0ce4e8d52fd491268a56c10dbb32fd5c996e2589.tar.gz
ufo-roof-temp-0ce4e8d52fd491268a56c10dbb32fd5c996e2589.tar.bz2
ufo-roof-temp-0ce4e8d52fd491268a56c10dbb32fd5c996e2589.tar.xz
ufo-roof-temp-0ce4e8d52fd491268a56c10dbb32fd5c996e2589.zip
Initial Python infrastructure to build more complex processing pipelines and the corresponding changes in ROOF filters
Diffstat (limited to 'src/ufo-roof-config.h')
-rw-r--r--src/ufo-roof-config.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/ufo-roof-config.h b/src/ufo-roof-config.h
index b6ee748..34bef0b 100644
--- a/src/ufo-roof-config.h
+++ b/src/ufo-roof-config.h
@@ -25,8 +25,6 @@ typedef struct {
// Network Server / Reader
- gchar *path; // Location of data files for simmulation purposes (i.e. reading a sequence of files instead listening on the corresponding ports)
- guint first_file_number; // Indicates if the numbering of files starts at 0 or 1
gchar *protocol; // Protocols: tcp, udp, tcp6, udp6, ...
guint port; // First port
guint n_streams; // Number of independent data streams (expected on sequential ports), by default equal to number of ROOF modules
@@ -53,7 +51,13 @@ typedef struct {
} UfoRoofConfig;
-UfoRoofConfig *ufo_roof_config_new(const char *config, GError **error);
+typedef enum {
+ UFO_ROOF_CONFIG_DEFAULT = 0,
+ UFO_ROOF_CONFIG_SIMULATION = 1
+} UfoRoofConfigFlags;
+
+
+UfoRoofConfig *ufo_roof_config_new(const char *config, UfoRoofConfigFlags flags, GError **error);
void ufo_roof_config_free(UfoRoofConfig *cfg);
#endif /* __UFO_ROOF_CONFIG_H */