/usr/share/doc/camlidl/examples/comcomp.h is in camlidl 1.05-14.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 38 39 40 41 42 43 44 45 | extern IID IID_IUnknown, IID_IX, IID_IY;
struct IUnknown;
struct IUnknownVtbl {
DECLARE_VTBL_PADDING
HRESULT (*QueryInterface)(struct IUnknown * this, IID * iid, void ** res);
ULONG (*AddRef)(struct IUnknown * this);
ULONG (*Release)(struct IUnknown * this);
};
struct IUnknown {
struct IUnknownVtbl * lpVtbl;
};
struct IX;
struct IXVtbl {
DECLARE_VTBL_PADDING
HRESULT (*QueryInterface)(struct IX * this, IID * iid, void ** res);
ULONG (*AddRef)(struct IX * this);
ULONG (*Release)(struct IX * this);
void (*F)(struct IX * this, int x);
};
struct IX {
struct IXVtbl * lpVtbl;
};
struct IY;
struct IYVtbl {
DECLARE_VTBL_PADDING
HRESULT (*QueryInterface)(struct IY * this, IID * iid, void ** res);
ULONG (*AddRef)(struct IY * this);
ULONG (*Release)(struct IY * this);
int (*G)(struct IY * this, int x);
};
struct IY {
struct IYVtbl * lpVtbl;
};
extern struct IUnknown * create_instance(void);
extern void test_component(struct IUnknown * c);
|