Add:Core:Improved commands
[navit-package] / navit / command.h
index cecfbd1..7dea058 100644 (file)
@@ -6,7 +6,9 @@ struct command_table {
 
 #define command_cast(x) (int (*)(void *, char *, struct attr **, struct attr ***))(x)
 
-void command_evaluate_to_void(struct attr *attr, char *expr);
+void command_evaluate_to_void(struct attr *attr, char *expr, int **error);
+char *command_evaluate_to_string(struct attr *attr, char *expr, int **error);
+int command_evaluate_to_int(struct attr *attr, char *expr, int **error);
 void command_evaluate(struct attr *attr, char *expr);
 void command_add_table(struct callback_list *cbl, struct command_table *table, int count, void *data);