Merge branch 'libslirp-vmsend' into 'master'
Add VMS_END marker
See merge request slirp/libslirp!112
diff --git a/src/vmstate.h b/src/vmstate.h
index 94c6a4b..e3e2459 100644
--- a/src/vmstate.h
+++ b/src/vmstate.h
@@ -173,6 +173,9 @@
* VMStateField.struct_version_id to tell which version of the
* structure we are referencing to use. */
VMS_VSTRUCT = 0x8000,
+
+ /* Marker for end of list */
+ VMS_END = 0x10000
};
struct VMStateField {
@@ -386,6 +389,7 @@
#define VMSTATE_END_OF_LIST() \
{ \
+ .flags = VMS_END, \
}
#endif