:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / lib / rpcrt4 / midl / midl.h
1 #ifndef __MIDL_H
2 #define __MIDL_H
3
4 #include "types.h"
5
6 typedef struct _argument
7 {
8    int type;
9    char* name;
10    struct _argument* next;
11 } argument;
12
13 typedef struct _function
14 {
15    int return_type;
16    char* name;
17    argument* arguments;
18    struct _function* next;
19 } function;
20
21 typedef struct
22 {
23    char* name;
24    function* function_list;
25 } interface;
26
27 void set_uuid(char* uuid);
28 void set_version(int major, int minor);
29 void set_pointer_default(int option);
30
31 void start_interface(void);
32 void end_interface(char* name);
33 void start_function(void);
34 void end_function(int rtype, char* name);
35 void add_argument(int type, char* name);
36
37 #endif __MIDL_H