Line data Source code
1 : /********************************************************************\
2 :
3 : Name: mfe_link_test.c
4 : Created by: Konstantin Olchanski
5 :
6 : Contents: Test mfe.h and mfe.c for correct linking
7 :
8 : \********************************************************************/
9 :
10 : #include <stdio.h>
11 : #include "midas.h"
12 : #include "mfe.h"
13 :
14 : /*------------------------------------------------------------------*/
15 :
16 : const char* frontend_name = "frontend_name";
17 : const char* frontend_file_name = "frontend_file_name";
18 : BOOL frontend_call_loop = 1;
19 : int event_buffer_size = 1000;
20 : int max_event_size = 1000;
21 : int max_event_size_frag = 1000;
22 : int display_period = 1000;
23 : BOOL equipment_common_overwrite = FALSE;
24 : EQUIPMENT equipment[1];
25 0 : int frontend_init() { return 0; };
26 0 : int frontend_exit() { return 0; };
27 0 : int begin_of_run(int runno,char* errstr) { return 0; };
28 0 : int end_of_run(int runno,char* errstr) { return 0; };
29 0 : int pause_run(int runno,char* errstr) { return 0; };
30 0 : int resume_run(int runno,char* errstr) { return 0; };
31 0 : int interrupt_configure(INT cmd, INT source, POINTER_T adr) { return 0; };
32 0 : int frontend_loop() { return 0; };
33 0 : int poll_event(INT source, INT count, BOOL test) { return 0; };
34 :
35 : /* emacs
36 : * Local Variables:
37 : * tab-width: 8
38 : * c-basic-offset: 3
39 : * indent-tabs-mode: nil
40 : * End:
41 : */
|