source: tags/ms_r16q2/AISC_COM/C/server.h

Last change on this file was 11060, checked in by westram, 10 years ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
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
21void aisc_server_errorf(const char *templat, ...) __ATTR__FORMAT(1);
22const char *aisc_get_object_names(long i);
23Hs_struct *open_aisc_server(const char *path, int timeout, int fork);
24int aisc_talking_get_index(int u, int o);
25long aisc_make_sets(long *obj);
26int aisc_broadcast(Hs_struct *hs, int message_type, const char *message);
27Hs_struct *aisc_accept_calls(Hs_struct *hs);
28void aisc_server_shutdown(Hs_struct*& hs);
29void 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");
30int aisc_add_destroy_callback(aisc_destroy_callback callback, long clientdata);
31void aisc_remove_destroy_callback(void);
32int aisc_server_save_token(FILE *fd, const char *buffer, int maxsize);
33int aisc_server_load_token(FILE *fd, char *buffer, int maxsize);
34
35#else
36#error server.h included twice
37#endif /* SERVER_H */
Note: See TracBrowser for help on using the repository browser.