aboutsummaryrefslogtreecommitdiff
path: root/lib/vswitch-idl.ann
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-03-15 17:10:41 -0700
committerEthan Jackson <ethan@nicira.com>2012-03-19 10:52:53 -0700
commit6e037e3ca6381fa36fdf6009c4ccc97d0f041be4 (patch)
treef54b0f23358eec1dbac93d46adb0bcbce1acf903 /lib/vswitch-idl.ann
parent8a07709cb80462edb32fc11d056bfc08ce90f62d (diff)
idl: Move vswitch-idl to libopenvswitch.
This is cleaner then having multiple programs build the idl independently. Signed-off-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/vswitch-idl.ann')
-rw-r--r--lib/vswitch-idl.ann9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/vswitch-idl.ann b/lib/vswitch-idl.ann
new file mode 100644
index 00000000..e8ed743b
--- /dev/null
+++ b/lib/vswitch-idl.ann
@@ -0,0 +1,9 @@
+# -*- python -*-
+
+# This code, when invoked by "ovsdb-idlc annotate" (by the build
+# process), annotates vswitch.ovsschema with additional data that give
+# the ovsdb-idl engine information about the types involved, so that
+# it can generate more programmer-friendly data structures.
+
+s["idlPrefix"] = "ovsrec_"
+s["idlHeader"] = "\"lib/vswitch-idl.h\""