json-gen-c  0.1.5
json-gen-c generate C code for json manipulation
compat_check.h
Go to the documentation of this file.
1
7#ifndef COMPAT_CHECK_H_
8#define COMPAT_CHECK_H_
9
10#include "utils/hash_map.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
31int compat_check(struct hash_map *old_structs, struct hash_map *old_enums,
32 struct hash_map *old_oneofs, struct hash_map *new_structs,
33 struct hash_map *new_enums, struct hash_map *new_oneofs);
34
35#ifdef __cplusplus
36}
37#endif
38
39#endif /* COMPAT_CHECK_H_ */
int compat_check(struct hash_map *old_structs, struct hash_map *old_enums, struct hash_map *old_oneofs, struct hash_map *new_structs, struct hash_map *new_enums, struct hash_map *new_oneofs)
Compare two parsed schemas and print a compatibility report.
Definition compat_check.c:278
A simple hash_map implementation.
Definition hash_map.h:34