source: trunk/FACT++/dim_v19r15/dim/dic.h@ 10285

Last change on this file since 10285 was 10183, checked in by tbretz, 14 years ago
New import.
File size: 2.5 KB
Line 
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
Note: See TracBrowser for help on using the repository browser.