1 | #ifndef __DICDEFS
|
---|
2 | #define __DICDEFS
|
---|
3 |
|
---|
4 | #include "dim_common.h"
|
---|
5 |
|
---|
6 | /* part for CFORTRAN */
|
---|
7 |
|
---|
8 | #define dic_info_service dic_info_service_
|
---|
9 | #define dic_info_service_stamped dic_info_service_stamped_
|
---|
10 | #define dic_cmnd_service dic_cmnd_service_
|
---|
11 | #define dic_cmnd_callback dic_cmnd_callback_
|
---|
12 | #define dic_cmnd_service_stamped dic_cmnd_service_stamped_
|
---|
13 | #define dic_cmnd_callback_stamped dic_cmnd_callback_stamped_
|
---|
14 | #define dic_change_address dic_change_address_
|
---|
15 | #define dic_release_service dic_release_service_
|
---|
16 | #define dic_find_service dic_find_service_
|
---|
17 | #define dic_get_id dic_get_id_
|
---|
18 | #define dic_get_quality dic_get_quality_
|
---|
19 | #define dic_get_timestamp dic_get_timestamp_
|
---|
20 | #define dic_get_format dic_get_format_
|
---|
21 |
|
---|
22 | /* Routine definition */
|
---|
23 |
|
---|
24 | _DIM_PROTOE( unsigned dic_info_service, (char *service_name, int req_type,
|
---|
25 | int req_timeout, void *service_address,
|
---|
26 | int service_size, void (*usr_routine)(void*, void*, int*),
|
---|
27 | long tag, void *fill_addr, int fill_size) );
|
---|
28 | _DIM_PROTOE( unsigned dic_info_service_stamped, (char *service_name, int req_type,
|
---|
29 | int req_timeout, void *service_address,
|
---|
30 | int service_size, void (*usr_routine)(void*, void*, int*),
|
---|
31 | long tag, void *fill_addr, int fill_size) );
|
---|
32 | _DIM_PROTOE( int dic_cmnd_callback, (char *service_name, void *service_address,
|
---|
33 | int service_size, void (*usr_routine)(void*, int*),
|
---|
34 | long tag) );
|
---|
35 | _DIM_PROTOE( int dic_cmnd_service, (char *service_name, void *service_address,
|
---|
36 | int service_size) );
|
---|
37 | _DIM_PROTOE( void dic_change_address, (unsigned service_id, void *service_address,
|
---|
38 | int service_size) );
|
---|
39 | _DIM_PROTOE( void dic_release_service, (unsigned service_id) );
|
---|
40 | _DIM_PROTOE( int dic_find_service, (char *service_name) );
|
---|
41 | _DIM_PROTOE( int dic_get_id, (char *name) );
|
---|
42 | _DIM_PROTOE( int dic_get_quality, (unsigned service_id) );
|
---|
43 | _DIM_PROTOE( int dic_get_timestamp, (unsigned service_id, int *secs, int *milisecs) );
|
---|
44 | _DIM_PROTOE( char *dic_get_format, (unsigned service_id) );
|
---|
45 | _DIM_PROTOE( void dic_disable_padding, () );
|
---|
46 | _DIM_PROTOE( void dic_close_dns, () );
|
---|
47 | _DIM_PROTOE( void dic_add_error_handler,(void (*usr_routine)(int, int, char*)) );
|
---|
48 | _DIM_PROTOE( char *dic_get_error_services, () );
|
---|
49 | _DIM_PROTOE( char *dic_get_server_services, (int conn_id) );
|
---|
50 | _DIM_PROTOE( int dic_get_server, (char *name ) );
|
---|
51 | _DIM_PROTOE( int dic_get_conn_id, () );
|
---|
52 | _DIM_PROTOE( void dic_stop, () );
|
---|
53 | _DIM_PROTOE( int dic_get_server_pid, (int *pid ) );
|
---|
54 |
|
---|
55 | #endif
|
---|
56 |
|
---|
57 |
|
---|
58 |
|
---|
59 |
|
---|
60 |
|
---|
61 |
|
---|
62 |
|
---|
63 |
|
---|
64 |
|
---|