+bool is_type_incomplete(const type_t *type);
+
+bool is_type_object(const type_t *type);
+
+bool types_compatible(const type_t *type1, const type_t *type2);
+
+type_t *get_unqualified_type(type_t *type);
+type_t *get_qualified_type(type_t*, type_qualifiers_t);
+type_t *skip_typeref(type_t *type);
+
+/**
+ * Return the type qualifier set of a type. If skip_array_type
+ * is true, skip all array types.
+ */
+type_qualifiers_t get_type_qualifier(const type_t *type, bool skip_array_type);
+
+/**
+ * returns size of an atomic type kind in bytes
+ */
+unsigned get_atomic_type_size(atomic_type_kind_t kind);
+
+/**
+ * returns alignment of an atomic type kind in bytes
+ */
+unsigned get_atomic_type_alignment(atomic_type_kind_t kind);
+
+unsigned get_type_alignment(type_t *type);
+unsigned get_type_size(type_t *type);
+decl_modifiers_t get_type_modifiers(const type_t *type);
+
+/**
+ * get alignment of a type when used inside a compound.
+ * Some ABIs are broken and alignment inside a compound is different from
+ * recommended alignment of a type
+ */
+unsigned get_type_alignment_compound(type_t *type);
+
+/**
+ * returns flags of an atomic type kind
+ */
+unsigned get_atomic_type_flags(atomic_type_kind_t kind);
+
+/**
+ * Find the atomic type kind representing a given size (signed).
+ */
+atomic_type_kind_t find_signed_int_atomic_type_kind_for_size(unsigned size);
+
+/**
+ * Find the atomic type kind representing a given size (unsigned).
+ */
+atomic_type_kind_t find_unsigned_int_atomic_type_kind_for_size(unsigned size);
+
+const char *get_atomic_kind_name(atomic_type_kind_t kind);
+
+/**
+ * Finish the construction of a struct type by calculating its size, offsets,
+ * alignment.
+ */
+void layout_struct_type(compound_type_t *type);
+
+/**
+ * Finish the construction of an union type by calculating
+ * its size and alignment.
+ */
+void layout_union_type(compound_type_t *type);
+