1 | /* |
---|
2 | * This file is generated by aisc_mkpt. |
---|
3 | * Any changes you make here will be overwritten later! |
---|
4 | * |
---|
5 | */ |
---|
6 | |
---|
7 | #ifndef CLIENT_H |
---|
8 | #define CLIENT_H |
---|
9 | |
---|
10 | #ifndef P_ |
---|
11 | # if defined(__STDC__) || defined(__cplusplus) |
---|
12 | # define P_(s) s |
---|
13 | # else |
---|
14 | # define P_(s) () |
---|
15 | # endif |
---|
16 | #else |
---|
17 | # error P_ already defined elsewhere |
---|
18 | #endif |
---|
19 | |
---|
20 | /* define ARB attributes: */ |
---|
21 | #ifndef ATTRIBUTES_H |
---|
22 | # include <attributes.h> |
---|
23 | #endif |
---|
24 | |
---|
25 | #ifdef __cplusplus |
---|
26 | extern "C" { |
---|
27 | #endif |
---|
28 | |
---|
29 | |
---|
30 | /* client.c */ |
---|
31 | int aisc_c_read P_((int socket, char *ptr, long size)); |
---|
32 | int aisc_c_write P_((int socket, char *ptr, int size)); |
---|
33 | int aisc_c_send_bytes_queue P_((aisc_com *link)); |
---|
34 | int aisc_add_message_queue P_((aisc_com *link, long size)); |
---|
35 | int aisc_check_error P_((aisc_com *link)); |
---|
36 | void *aisc_client_sigio P_((void)); |
---|
37 | char *aisc_client_get_hostname P_((void)); |
---|
38 | const char *aisc_client_get_m_id P_((const char *path, char **m_name, int *id)); |
---|
39 | const char *aisc_client_open_socket P_((const char *path, int delay, int do_connect, int *psocket, char **unix_name)); |
---|
40 | void *aisc_init_client P_((aisc_com *link)); |
---|
41 | aisc_com *aisc_open P_((const char *path, long *mgr, long magic)); |
---|
42 | int aisc_close P_((aisc_com *link)); |
---|
43 | int aisc_get_message P_((aisc_com *link)); |
---|
44 | int aisc_get P_((aisc_com *link, int o_type, long objekt, ...)) __ATTR__SENTINEL; |
---|
45 | long *aisc_debug_info P_((aisc_com *link, int o_type, long objekt, int attribute)); |
---|
46 | int aisc_put P_((aisc_com *link, int o_type, long objekt, ...)) __ATTR__SENTINEL; |
---|
47 | int aisc_nput P_((aisc_com *link, int o_type, long objekt, ...)) __ATTR__SENTINEL; |
---|
48 | int aisc_create P_((aisc_com *link, int father_type, long father, int attribute, int object_type, long *object, ...)) __ATTR__SENTINEL; |
---|
49 | int aisc_copy P_((aisc_com *link, int s_type, long source, int father_type, long father, int attribute, int object_type, long *object, ...)) __ATTR__SENTINEL; |
---|
50 | int aisc_delete P_((aisc_com *link, int objekt_type, long source)); |
---|
51 | int aisc_find P_((aisc_com *link, int father_type, long father, int attribute, int object_type, long *object, char *ident)); |
---|
52 | |
---|
53 | #ifdef __cplusplus |
---|
54 | } |
---|
55 | #endif |
---|
56 | |
---|
57 | #undef P_ |
---|
58 | |
---|
59 | #else |
---|
60 | #error client.h included twice |
---|
61 | #endif /* CLIENT_H */ |
---|