summaryrefslogtreecommitdiffstats
path: root/src/ufo-roof-config.h
diff options
context:
space:
mode:
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 */