1 #ifndef _DWARVES_EMIT_H_
2 #define _DWARVES_EMIT_H_ 1
4 SPDX-License-Identifier: GPL-2.0-only
6 Copyright (C) 2006 Mandriva Conectiva S.A.
7 Copyright (C) 2006 Arnaldo Carvalho de Melo <acme@mandriva.com>
8 Copyright (C) 2007 Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
21 struct type_emissions
{
22 struct list_head definitions
; /* struct type entries */
23 struct list_head base_type_definitions
; /* struct base_type entries */
24 struct list_head fwd_decls
; /* struct class entries */
25 struct conf_fprintf
*conf_fprintf
;
28 void type_emissions__init(struct type_emissions
*temissions
, struct conf_fprintf
*conf_fprintf
);
30 int ftype__emit_definitions(struct ftype
*ftype
, struct cu
*cu
,
31 struct type_emissions
*emissions
, FILE *fp
);
32 int type__emit_definitions(struct tag
*tag
, struct cu
*cu
,
33 struct type_emissions
*emissions
, FILE *fp
);
34 void type__emit(struct tag
*tag_type
, struct cu
*cu
,
35 const char *prefix
, const char *suffix
, FILE *fp
);
36 struct type
*type_emissions__find_definition(const struct type_emissions
*temissions
,
37 uint16_t tag
, const char *name
);
39 #endif /* _DWARVES_EMIT_H_ */