4 * Copyright 2004 Ove Kaaven
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WIDL_TYPELIB_H
22 #define __WIDL_TYPELIB_H
24 extern int in_typelib;
25 extern void start_typelib(char *name, attr_t *attrs);
26 extern void end_typelib(void);
27 extern void add_typelib_entry(type_t *t);
28 extern void add_importlib(const char *name);
30 /* Copied from wtypes.h. Not included directly because that would create a
31 * circular dependency (after all, wtypes.h is generated by widl...) */
70 VT_STREAMED_OBJECT = 68,
71 VT_STORED_OBJECT = 69,
81 VT_ILLEGALMASKED = 0xfff,
84 extern unsigned short get_type_vt(type_t *t);
85 extern unsigned short get_var_vt(var_t *v);
87 extern int create_msft_typelib(typelib_t *typelib);