X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=navit%2Fcommand.h;h=7dea058cf7164d55bf355507dbeb7ef1cd124258;hb=e6f0d9607d58a061df511ca04bea14ec8ad3420b;hp=cecfbd1410ea48a06c9fd131654a18563d80a0f2;hpb=7744bc81a1ae3d38eaeeb6c1df0999f6c683bb35;p=navit-package diff --git a/navit/command.h b/navit/command.h index cecfbd1..7dea058 100644 --- a/navit/command.h +++ b/navit/command.h @@ -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);