File: server.h

package info (click to toggle)
arb 6.0.6-8
  • links: PTS, VCS
  • area: non-free
  • in suites: sid, trixie
  • size: 66,204 kB
  • sloc: ansic: 394,911; cpp: 250,290; makefile: 19,644; sh: 15,879; perl: 10,473; fortran: 6,019; ruby: 683; xml: 503; python: 53; awk: 32
file content (37 lines) | stat: -rw-r--r-- 1,202 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* This file is generated by aisc_mkpt.
 * Any changes you make here will be overwritten later!
 */

#ifndef SERVER_H
#define SERVER_H

/* define ARB attributes: */
#ifndef ATTRIBUTES_H
# include <attributes.h>
#endif


/* server.c */

#include <aisc_func_types.h>
#ifndef _STDIO_H
#include <stdio.h>
#endif

void aisc_server_errorf(const char *templat, ...) __ATTR__FORMAT(1);
const char *aisc_get_object_names(long i);
Hs_struct *open_aisc_server(const char *path, int timeout, int fork);
int aisc_talking_get_index(int u, int o);
long aisc_make_sets(long *obj);
int aisc_broadcast(Hs_struct *hs, int message_type, const char *message);
Hs_struct *aisc_accept_calls(Hs_struct *hs);
void aisc_server_shutdown(Hs_struct*& hs);
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");
int aisc_add_destroy_callback(aisc_destroy_callback callback, long clientdata);
void aisc_remove_destroy_callback(void);
int aisc_server_save_token(FILE *fd, const char *buffer, int maxsize);
int aisc_server_load_token(FILE *fd, char *buffer, int maxsize);

#else
#error server.h included twice
#endif /* SERVER_H */