summaryrefslogtreecommitdiff
path: root/navit/command.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-10-26 16:11:50 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-10-26 16:11:50 +0000
commit1e34df48fb4c684bf604320b0da273df11afc7b7 (patch)
tree79cad1b28d5c1296487bee2500bf97baa01f7ebe /navit/command.h
parente5c6029bc1b6197a76fcf005877c4dd762224615 (diff)
downloadnavit-1e34df48fb4c684bf604320b0da273df11afc7b7.tar.gz
Add:binding_dbus:Support for sending signals
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2694 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/command.h')
-rw-r--r--navit/command.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/navit/command.h b/navit/command.h
index 0b3ba746a..937ab3d7e 100644
--- a/navit/command.h
+++ b/navit/command.h
@@ -4,17 +4,24 @@ struct command_table {
int (*func)(void *data, char *cmd, struct attr **in, struct attr ***out);
};
-struct command_saved;
-
#define command_cast(x) (int (*)(void *, char *, struct attr **, struct attr ***))(x)
+/* prototypes */
+struct attr;
+struct callback;
+struct callback_list;
+struct command_saved;
+struct command_table;
+struct navit;
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_attr(struct command_table *table, int count, void *data, struct attr *attr);
void command_add_table(struct callback_list *cbl, struct command_table *table, int count, void *data);
-struct command_saved *command_saved_new(char *command, struct navit *navit, struct callback *cb);
-void command_saved_destroy(struct command_saved *cs);
+void command_saved_set_cb(struct command_saved *cs, struct callback *cb);
int command_saved_get_int(struct command_saved *cs);
int command_saved_error(struct command_saved *cs);
-void command_saved_set_cb(struct command_saved *cs, struct callback *cb);
+struct command_saved *command_saved_new(char *command, struct navit *navit, struct callback *cb);
+void command_saved_destroy(struct command_saved *cs);
+/* end of prototypes */