Get the hashes of the module including functions and DLLs.

def c_hashes(self):
        """Get the hashes of the module including functions and DLLs.
        """
        if callable(self.opts.hash_func):
            hashes = [
                '# define {}{} {}\n'.format(
                    self.opts.prefix, name, self.opts.hash_func(name)
                ) for name, dummy_args in self.funcs
            ]
        else:
            hashes = [
                make_c_str(self.opts.prefix + name, name)
                for name, dummy_args in self.funcs
            ]
        if self.name != 'kernel32':
            hashes = [
                make_c_str(self.opts.prefix + self.name, self.name)
            ] + hashes
        return hashes