]> rtime.felk.cvut.cz Git - frescor/forb.git/blob - forb-idl/forb-idl3-types.h
Added mutex to protect request send from multiple threads
[frescor/forb.git] / forb-idl / forb-idl3-types.h
1 #ifndef ORBIT_IDL3_TYPES_H
2 #define ORBIT_IDL3_TYPES_H 1
3
4 #include <errno.h>
5 #include <stdio.h>
6 #include <libIDL/IDL.h>
7 /* #include <orbit/util/orbit-util.h> */
8 /* #include <orbit/orbit-config.h> */
9
10 typedef struct _OIDL_Marshal_Context OIDL_Marshal_Context;
11
12 #define OUTPUT_NUM_PASSES 7
13
14 typedef struct {
15   char *cpp_args;
16   int debug_level;
17   int idl_warn_level;
18   int show_cpp_errors;
19   int is_pidl;
20   int do_skel_defs;     /* gen defs within the header file */
21
22   enum { OUTPUT_STUBS=1<<0,
23          OUTPUT_SKELS=1<<1,
24          OUTPUT_COMMON=1<<2,
25          OUTPUT_HEADERS=1<<3,
26          OUTPUT_SKELIMPL=1<<4,
27          OUTPUT_IMODULE=1<<5,
28          OUTPUT_DEPS=1<<6 /* Make sure this is always the last pass or dep output will break. */
29   } enabled_passes;
30
31   char *output_language;
32   char *input_filename;
33   char *include;
34   char *backend_directory;
35   char *deps_file;
36   char *header_guard_prefix;
37   char *output_directory;
38   gboolean onlytop;
39   gboolean idata;
40
41   IDL_ns ns; /* Use ns instead of namespace because that's a C++ reserved keyword */
42 } OIDL_Run_Info;
43
44 typedef struct {
45   IDL_tree op1;
46   IDL_tree op2;
47 } OIDL_Attr_Info;
48
49 #endif