Fixed the calculation of percentiles and added --syntax and --algorithm options
[pspp-builds.git] / src / settings.h
index 5ca015263531f8685b48ab93be4fc0a6fb4201ac..14f902ec989d5d2c2129f1f26d331721fadffc5e 100644 (file)
@@ -234,4 +234,26 @@ const char *get_pager(void);
 int seed_is_set(unsigned long *seed);
 
 
+enum {ENHANCED,COMPATIBLE};
+
+
+/* Set the algorithm option globally */
+void set_algorithm(int x);
+
+/* Set the algorithm option for this command only */
+void set_cmd_algorithm(int x);
+
+/* Unset the algorithm option for this command */
+void unset_cmd_algorithm(void);
+
+/* Return the current algorithm setting */
+int get_algorithm(void);
+
+/* Set the syntax option */
+void set_syntax(int x);
+
+/* Get the current syntax setting */
+int get_syntax(void);
+
+
 #endif /* !settings_h */