ARB
server.h
Go to the documentation of this file.
1 /* This file is generated by aisc_mkpt.
2  * Any changes you make here will be overwritten later!
3  */
4 
5 #ifndef SERVER_H
6 #define SERVER_H
7 
8 /* define ARB attributes: */
9 #ifndef ATTRIBUTES_H
10 # include <attributes.h>
11 #endif
12 
13 
14 /* server.c */
15 
16 #include <aisc_func_types.h>
17 #ifndef _STDIO_H
18 #include <stdio.h>
19 #endif
20 
21 void aisc_server_errorf(const char *templat, ...) __ATTR__FORMAT(1);
22 const char *aisc_get_object_names(long i);
23 Hs_struct *open_aisc_server(const char *path, int timeout, int fork);
24 int aisc_talking_get_index(int u, int o);
25 long aisc_make_sets(long *obj);
26 int aisc_broadcast(Hs_struct *hs, int message_type, const char *message);
29 int aisc_add_destroy_callback(aisc_destroy_callback callback, long clientdata);
31 int aisc_server_save_token(FILE *fd, const char *buffer, int maxsize);
32 int aisc_server_load_token(FILE *fd, char *buffer, int maxsize);
33 
34 #else
35 #error server.h included twice
36 #endif /* SERVER_H */
int aisc_broadcast(Hs_struct *hs, int message_type, const char *message)
Definition: server.c:912
#define __ATTR__FORMAT(pos)
Definition: attributes.h:60
void aisc_server_errorf(const char *templat,...) __ATTR__FORMAT(1)
Definition: server.c:122
char buffer[MESSAGE_BUFFERSIZE]
Definition: seq_search.cxx:34
Hs_struct * aisc_accept_calls(Hs_struct *hs)
Definition: server.c:1026
const char * aisc_get_object_names(long i)
Definition: server.c:218
long aisc_make_sets(long *obj)
Definition: server.c:599
int aisc_add_destroy_callback(aisc_destroy_callback callback, long clientdata)
Definition: server.c:1151
void message(char *errortext)
void aisc_remove_destroy_callback(void)
Definition: server.c:1172
int aisc_server_load_token(FILE *fd, char *buffer, int maxsize)
Definition: server.c:1199
void aisc_server_shutdown(Hs_struct *&hs)
Definition: server.c:1134
int aisc_server_save_token(FILE *fd, const char *buffer, int maxsize)
Definition: server.c:1186
int aisc_talking_get_index(int u, int o)
Definition: server.c:429
Hs_struct * open_aisc_server(const char *path, int timeout, int fork)
Definition: server.c:235