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); |
---|
27 | Hs_struct *aisc_accept_calls(Hs_struct *hs); |
---|
28 | void aisc_server_shutdown(Hs_struct*& hs); |
---|
29 | void aisc_server_shutdown_and_exit(Hs_struct *hs, int exitcode) __ATTR__NORETURN __ATTR__DEPRECATED_TODO("cause it hides a call to exit() inside a library"); |
---|
30 | int aisc_add_destroy_callback(aisc_destroy_callback callback, long clientdata); |
---|
31 | void aisc_remove_destroy_callback(void); |
---|
32 | int aisc_server_save_token(FILE *fd, const char *buffer, int maxsize); |
---|
33 | int aisc_server_load_token(FILE *fd, char *buffer, int maxsize); |
---|
34 | |
---|
35 | #else |
---|
36 | #error server.h included twice |
---|
37 | #endif /* SERVER_H */ |
---|