From 0ce4e8d52fd491268a56c10dbb32fd5c996e2589 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 1 Feb 2020 13:07:46 +0100 Subject: Initial Python infrastructure to build more complex processing pipelines and the corresponding changes in ROOF filters --- src/ufo-roof-config.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/ufo-roof-config.h') 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 */ -- cgit v1.2.3