chiark / gitweb /
realtime: movpos: debug output: exclude some more stuff from the default movpos output
[trains.git] / hostside / record-i.h
1 /*
2  */
3
4 #ifndef RECORD_I_H
5 #define RECORD_I_H
6
7 #include "record.h"
8 #include "record-y.h"
9
10 void record_train_is(Train *tra, int addr, int head, int det, int tail);
11 void record_train_home(Train *tra, int backw, Segment *seg);
12 void record_train_step_speed(Train *tra, int step, double speed);
13 void record_train_stopregime_count(void);
14 void record_train_stopregime(Train *tra, int step, int xs, int ts);
15 void record_seg_has(Segment *seg, int backw, Train *tra, int inverted);
16 void record_seg_at(Segment *seg, const char *movposcomb_pname);
17 void record_adjunct_nmrafunc(AdjunctsAdjunct*, AdjunctsAddr*, int num);
18 void record_adjunct_motor(AdjunctsAdjunct*, AdjunctsAddr*, int speed);
19
20 Train *record_pname2train(const char *pname);
21 Segment *record_pname2seg(const char *pname);
22 AdjunctsAdjunct *record_pname2adjunct(const char *pname, const char *letter);
23 AdjunctsAddr *record_adjaddr(int addr);
24 char *record_tempzone_strdup(const char *s);
25 void record_yyerror(const char *m);
26 void record_tempzone_clear(void);
27
28 int record_yyparse(void);
29 int record_yylex(void);
30 int record_yylex_destroy(void);
31 extern int record_yylineno;
32
33 #endif /*RECORD_I_H*/