source: branches/port5/AISC_COM/C/client.h

Last change on this file was 5968, checked in by westram, 16 years ago
  • new flag -w to aisc_mkpt (add include wrapper)
  • uniform style for several include wrappers
  • removed duplicated includes
  • removed useless nt_concatenate.hxx
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
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
26extern "C" {
27#endif
28
29
30/* client.c */
31int aisc_c_read P_((int socket, char *ptr, long size));
32int aisc_c_write P_((int socket, char *ptr, int size));
33int aisc_c_send_bytes_queue P_((aisc_com *link));
34int aisc_add_message_queue P_((aisc_com *link, long size));
35int aisc_check_error P_((aisc_com *link));
36void *aisc_client_sigio P_((void));
37char *aisc_client_get_hostname P_((void));
38const char *aisc_client_get_m_id P_((const char *path, char **m_name, int *id));
39const char *aisc_client_open_socket P_((const char *path, int delay, int do_connect, int *psocket, char **unix_name));
40void *aisc_init_client P_((aisc_com *link));
41aisc_com *aisc_open P_((const char *path, long *mgr, long magic));
42int aisc_close P_((aisc_com *link));
43int aisc_get_message P_((aisc_com *link));
44int aisc_get P_((aisc_com *link, int o_type, long objekt, ...)) __ATTR__SENTINEL;
45long *aisc_debug_info P_((aisc_com *link, int o_type, long objekt, int attribute));
46int aisc_put P_((aisc_com *link, int o_type, long objekt, ...)) __ATTR__SENTINEL;
47int aisc_nput P_((aisc_com *link, int o_type, long objekt, ...)) __ATTR__SENTINEL;
48int aisc_create P_((aisc_com *link, int father_type, long father, int attribute, int object_type, long *object, ...)) __ATTR__SENTINEL;
49int 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;
50int aisc_delete P_((aisc_com *link, int objekt_type, long source));
51int 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 */
Note: See TracBrowser for help on using the repository browser.