Document ABI extensibility schemes
[libside.git] / include / side / abi / event-description.h
index c72a9592ee00e4aa5f20a87dd5c73bf50411215d..a978436f95ae6ecc6e99b1a4397bb24a1dfada6f 100644 (file)
 #include <side/macros.h>
 #include <side/endian.h>
 
+/*
+ * SIDE ABI event description.
+ *
+ * The extensibility scheme for the SIDE ABI event description is as
+ * follows:
+ *
+ * * Changing the semantic of the existing event description fields is a
+ *   breaking ABI change: the SIDE_EVENT_DESCRIPTION_ABI_VERSION should
+ *   be increased to reflect this.
+ *
+ * * Event descriptions can be extended by adding fields at the end of
+ *   the structure. The "struct side_event_description" is a structure
+ *   with flexible size which must not be used within arrays.
+ */
+
 #define SIDE_EVENT_DESCRIPTION_ABI_VERSION     0
 
 enum side_event_flags {
This page took 0.022584 seconds and 4 git commands to generate.