Subversion Repositories svn1-original

Rev

Rev 89 | Rev 130 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 89 Rev 95
Line 108... Line 108...
108
void        legs_start_report( int line );
108
void        legs_start_report( int line );
109
void        ls_timer( t_legs * ptr, int num );
109
void        ls_timer( t_legs * ptr, int num );
110
void        ls_team( int *last, t_legs * data );
110
void        ls_team( int *last, t_legs * data );
111
int         sort_legs( const void * a, const void * b );
111
int         sort_legs( const void * a, const void * b );
112
 
112
 
113
void        do_menu( char *header, char *prompt, menu_table * table );
113
void        do_menu( const char *header, const char *prompt, menu_table * table );
114
 
114
 
115
bool        open_printer( char *name, char *ext, int width, report_type html, char * title );
115
bool        open_printer( const char *name, const char *ext, int width, report_type html, const char * title );
116
bool        open_printer_name( char *pname, int width, report_type html, char * title );
116
bool        open_printer_name( const char *pname, int width, report_type html, const char * title );
117
bool        close_printer( void );
117
bool        close_printer( void );
118
int         print( char *format, ... );
118
int         print( const char *format, ... );
119
void        printbanner( char *title );
119
void        printbanner( const char *title );
120
void        print_underline( bool on );
120
void        print_underline( bool on );
121
void        print_bold( bool on );
121
void        print_bold( bool on );
122
 
122
 
123
void        report( void );
123
void        report( void );
124
void        pri_team( void );
124
void        pri_team( void );
Line 129... Line 129...
129
void        pe_place( ty_s_data * ptr, int leg, unsigned k );
129
void        pe_place( ty_s_data * ptr, int leg, unsigned k );
130
void        pe_team( int i, int leg );
130
void        pe_team( int i, int leg );
131
void        pri_final_html( void );
131
void        pri_final_html( void );
132
void        pri_final( void );
132
void        pri_final( void );
133
void        pri_interim( void );
133
void        pri_interim( void );
134
void        print_class_header( int class, int final );
134
void        print_class_header( int teamclass, int final );
135
void        print_class_stats( int c, int final );
135
void        print_class_stats( int c, int final );
136
void        print_legend( int class, int full );
136
void        print_legend( int teamclass, int full );
137
char       *pi_place( int num, int disq, time_t time );
137
const char       *pi_place( int num, int disq, time_t time );
138
char       *pr_place( int num, int disq );
138
const char       *pr_place( int num, int disq );
139
char       *pr_place_ne( int num, int disq, int ne );
139
const char       *pr_place_ne( int num, int disq, int ne );
140
bool        ck_data( int leg, int mode );
140
bool        ck_data( int leg, int mode );
141
void        srt_place( void );
141
void        srt_place( void );
142
void        do_big_sort( void );
142
void        do_big_sort( void );
143
void        sort_team_data( int leg, int mode );
143
void        sort_team_data( int leg, int mode );
144
int         sort_comp( const void * a, const void * b );
144
int         sort_comp( const void * a, const void * b );
Line 153... Line 153...
153
void        team_display( void );
153
void        team_display( void );
154
void        leg_mods( void );
154
void        leg_mods( void );
155
void        d_display( int operation );
155
void        d_display( int operation );
156
void        d_leg( int y, int leg, leg_type * data, int valid,
156
void        d_leg( int y, int leg, leg_type * data, int valid,
157
                   int operation );
157
                   int operation );
158
void        d_time( int x, int y, char *prompt, time_t *data, int valid );
158
void        d_time( int x, int y, const char *prompt, time_t *data, int valid );
159
bool        d_field( int x, int y, char *prompt, int type, int length,
159
bool        d_field( int x, int y, const char *prompt, int type, int length,
160
                     void *data, int valid, int operation );
160
                     const void *data, int valid, int operation );
161
bool        g_tnum( int x, int y, char *prompt );
161
bool        g_tnum( int x, int y, const char *prompt );
162
bool        g_record( int _team, team_type * data );
162
bool        g_record( int _team, team_type * data );
163
void        clr_team( int tm, team_type * data );
163
void        clr_team( int tm, team_type * data );
164
bool        put_team_record( int _team, team_type * data );
164
bool        put_team_record( int _team, team_type * data );
165
bool        init_team_data( void );
165
bool        init_team_data( void );
166
void        fix_team_data( void );
166
void        fix_team_data( void );
Line 175... Line 175...
175
void        supload( void );
175
void        supload( void );
176
void        tupload( void );
176
void        tupload( void );
177
char        p_del( char *c );
177
char        p_del( char *c );
178
void        tdnload( void );
178
void        tdnload( void );
179
void        dnload( void );
179
void        dnload( void );
180
char        getfname( char *prompt, char *ext );
180
char        getfname( const char *prompt, const char *ext );
181
 
181
 
182
void        init_screen( void );
182
void        init_screen( void );
183
void        fix_screen( void );
183
void        fix_screen( void );
184
void        cur( int x, int y );
184
void        cur( int x, int y );
185
void        save_cur(void);
185
void        save_cur(void);
Line 187... Line 187...
187
void        clearscreen( void );
187
void        clearscreen( void );
188
void        beep( void );
188
void        beep( void );
189
void        flush_out( void );
189
void        flush_out( void );
190
int         getinp( void );
190
int         getinp( void );
191
bool        getnum( int max_len, int *final_buf );
191
bool        getnum( int max_len, int *final_buf );
192
int         getstring( int len, char *str, enum class_enum limit );
192
int         getstring( int len, const char *str, enum class_enum limit );
193
sex_type    getsex( void );
193
sex_type    getsex( void );
194
int         getclass( void );
194
int         getclass( void );
195
int         getcountry( void );
195
int         getcountry( void );
196
char        getfnc( char *list );
196
char        getfnc( const char *list );
197
bool        getyes( char *prompt );
197
bool        getyes( const char *prompt );
198
char        to_upper( char ch );
198
char        to_upper( char ch );
199
char        to_lower( char ch );
199
char        to_lower( char ch );
200
void        sleep( int t );
200
void        sleep( int t );
201
int         lookup_class( char *text, MARA_CFG *config );
201
int         lookup_class( char *text, MARA_CFG *config );
202
 
202
 
203
bool t_parse_number( char **linep, int *number );
203
bool t_parse_number( char **linep, int *number );
204
bool t_parse_text( char **linep, char *text );
204
bool t_parse_text( char **linep, char *text );
205
char p_eol( char *c );
205
char p_eol( const char *c );
206
char * p_filename( char *filename, char *suffix, char *ext );
206
char * p_filename( const char *filename, const char *suffix, const char *ext );
207
void print_colour( long colour );
207
void print_colour( long colour );
208
char *tprintf( char *format, ... );
208
char *tprintf( const char *format, ... );
209
int raw_print( char *format, ... );
209
int raw_print( const char *format, ... );
210
void console_prompt( char prompt );
210
void console_prompt( char prompt );
211
void console_clreol( void );
211
void console_clreol( void );
212
void calc_class_summary( t_class_summary * ptr );
212
void calc_class_summary( t_class_summary * ptr );
213
int csv_print( char *format, ... );
213
int csv_print( const char *format, ... );
214
void set_commands ( char * cptr);
214
void set_commands ( char * cptr);
215
void tdnload_store(void);
215
void tdnload_store(void);
216
char *url_encode(char *str);
216
char *url_encode(const char *str);
217
 
217
 
218
/********************************* EOF ***********************************/
218
/********************************* EOF ***********************************/