ref: adding copyright to the vdl files

Change-Id: I5f0f27333528afdcdbb5d353e2d7283588f1e5d9
diff --git a/cmd/vom/types.vdl b/cmd/vom/types.vdl
index 6387f15..fc1e191 100644
--- a/cmd/vom/types.vdl
+++ b/cmd/vom/types.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package main
 
 type dataRep enum {
diff --git a/cmd/vomtestgen/generate.go b/cmd/vomtestgen/generate.go
index cb80ac7..ca4a434 100644
--- a/cmd/vomtestgen/generate.go
+++ b/cmd/vomtestgen/generate.go
@@ -173,7 +173,11 @@
 	// functions that switch off of the vomdata config filename. That way, we can
 	// have 1 config each for encode/decode, compatibility, and convertibility.
 	buf := new(bytes.Buffer)
-	fmt.Fprintf(buf, `// This file was auto-generated via "vomtest generate".
+	fmt.Fprintf(buf, `// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// This file was auto-generated via "vomtest generate".
 // DO NOT UPDATE MANUALLY; read the comments in `+vomdataConfig+`.
 
 package testdata
diff --git a/cmd/vrpc/test_base/test_base.vdl b/cmd/vrpc/test_base/test_base.vdl
index 70e3b85..7911e4e 100644
--- a/cmd/vrpc/test_base/test_base.vdl
+++ b/cmd/vrpc/test_base/test_base.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package test_base
 
 type Struct struct {
diff --git a/examples/rps/service.vdl b/examples/rps/service.vdl
index 03ef07d..e7f593c 100644
--- a/examples/rps/service.vdl
+++ b/examples/rps/service.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package rps is an example of vanadium service for playing the game of
 // Rock-Paper-Scissors. (http://en.wikipedia.org/wiki/Rock-paper-scissors)
 //
diff --git a/examples/tunnel/tunnel.vdl b/examples/tunnel/tunnel.vdl
index b3c6768..4f48f5e 100644
--- a/examples/tunnel/tunnel.vdl
+++ b/examples/tunnel/tunnel.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package tunnel describes a service that can be used to create a
 // network tunnel from the client to the server.
 package tunnel
diff --git a/lib/vdl/testdata/arith/advanced.vdl b/lib/vdl/testdata/arith/advanced.vdl
index 8d676a4..03e8e4b 100644
--- a/lib/vdl/testdata/arith/advanced.vdl
+++ b/lib/vdl/testdata/arith/advanced.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package arith
 
 import (
diff --git a/lib/vdl/testdata/arith/arith.vdl b/lib/vdl/testdata/arith/arith.vdl
index 4d18d49..294e95f 100644
--- a/lib/vdl/testdata/arith/arith.vdl
+++ b/lib/vdl/testdata/arith/arith.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package arith is an example of an IdL definition in vanadium.  The syntax for
 // IdL files is similar to, but not identical to, Go.  Here are the main
 // concepts:
diff --git a/lib/vdl/testdata/arith/exp/exp.vdl b/lib/vdl/testdata/arith/exp/exp.vdl
index b9dff3b..1db1f1f 100644
--- a/lib/vdl/testdata/arith/exp/exp.vdl
+++ b/lib/vdl/testdata/arith/exp/exp.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package exp is used to test that embedding interfaces works across packages.
 // The arith.Calculator vdl interface embeds the Exp interface.
 package exp
diff --git a/lib/vdl/testdata/base/base.vdl b/lib/vdl/testdata/base/base.vdl
index e1d14bb..5b71d26 100644
--- a/lib/vdl/testdata/base/base.vdl
+++ b/lib/vdl/testdata/base/base.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package base is a simple single-file test of vdl functionality.
 package base
 
diff --git a/lib/vdl/testdata/nativedep/nativedep.vdl b/lib/vdl/testdata/nativedep/nativedep.vdl
index de10fe8..3a4aa9c 100644
--- a/lib/vdl/testdata/nativedep/nativedep.vdl
+++ b/lib/vdl/testdata/nativedep/nativedep.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package nativedep
 
 import "v.io/x/ref/lib/vdl/testdata/nativetest"
diff --git a/lib/vdl/testdata/nativedep2/nativedep2.vdl b/lib/vdl/testdata/nativedep2/nativedep2.vdl
index c9a3553..95a7b92 100644
--- a/lib/vdl/testdata/nativedep2/nativedep2.vdl
+++ b/lib/vdl/testdata/nativedep2/nativedep2.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package nativedep2
 
 // The purpose of this test is to ensure that the generated file gets the
diff --git a/lib/vdl/testdata/nativetest/nativetest.vdl b/lib/vdl/testdata/nativetest/nativetest.vdl
index 1b396a9..70f9091 100644
--- a/lib/vdl/testdata/nativetest/nativetest.vdl
+++ b/lib/vdl/testdata/nativetest/nativetest.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package nativetest tests a package with native type conversions.
 package nativetest
 
diff --git a/lib/vdl/testdata/nativetest/otherfile.vdl b/lib/vdl/testdata/nativetest/otherfile.vdl
index 7489881..f85eff5 100644
--- a/lib/vdl/testdata/nativetest/otherfile.vdl
+++ b/lib/vdl/testdata/nativetest/otherfile.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package nativetest
 
 // The only purpose of this file is to help ensure that the vdl tool works well
diff --git a/lib/vdl/testdata/testconfig/testconfig.vdl b/lib/vdl/testdata/testconfig/testconfig.vdl
index a7939fe..8d1e1a3 100644
--- a/lib/vdl/testdata/testconfig/testconfig.vdl
+++ b/lib/vdl/testdata/testconfig/testconfig.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package testconfig is a simple test of vdl.config files.  We don't care about
 // the actual VDL file contents; we really only want to make sure that the
 // vdl.config file in this package is read in successfully.
diff --git a/profiles/internal/rpc/benchmark/benchmark.vdl b/profiles/internal/rpc/benchmark/benchmark.vdl
index 3e9f0ea..c5ca138 100644
--- a/profiles/internal/rpc/benchmark/benchmark.vdl
+++ b/profiles/internal/rpc/benchmark/benchmark.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // package benchmark provides simple tools to measure the performance of the
 // IPC system.
 package benchmark
diff --git a/profiles/internal/rpc/errors.vdl b/profiles/internal/rpc/errors.vdl
index f20790c..2b3d5b3 100644
--- a/profiles/internal/rpc/errors.vdl
+++ b/profiles/internal/rpc/errors.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package rpc
 
 import "v.io/v23/security"
diff --git a/profiles/internal/rpc/stream/proxy/protocol.vdl b/profiles/internal/rpc/stream/proxy/protocol.vdl
index 0fe762b..087365f 100644
--- a/profiles/internal/rpc/stream/proxy/protocol.vdl
+++ b/profiles/internal/rpc/stream/proxy/protocol.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package proxy
 
 // The proxy protocol is:
diff --git a/profiles/internal/rpc/stress/stress.vdl b/profiles/internal/rpc/stress/stress.vdl
index 556caad..cf7bff1 100644
--- a/profiles/internal/rpc/stress/stress.vdl
+++ b/profiles/internal/rpc/stress/stress.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package stress
 
 import (
diff --git a/security/agent/pingpong/wire.vdl b/security/agent/pingpong/wire.vdl
index 79a9a81..335fd9b 100644
--- a/security/agent/pingpong/wire.vdl
+++ b/security/agent/pingpong/wire.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package main
 
 // Simple service used in the agent tests.
diff --git a/security/agent/server/wire.vdl b/security/agent/server/wire.vdl
index 53d94d4..c025f6f 100644
--- a/security/agent/server/wire.vdl
+++ b/security/agent/server/wire.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package server provides a server which keeps a principal in memory
 // and allows clients to use that principal.
 //
diff --git a/security/serialization/types.vdl b/security/serialization/types.vdl
index feb80b2..0f4a8fa 100644
--- a/security/serialization/types.vdl
+++ b/security/serialization/types.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package serialization
 
 import "v.io/v23/security"
diff --git a/services/identity/identity.vdl b/services/identity/identity.vdl
index 133f829..f761fad 100644
--- a/services/identity/identity.vdl
+++ b/services/identity/identity.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package identity defines services for identity providers in the vanadium ecosystem.
 package identity
 
diff --git a/services/identity/internal/revocation/caveat.vdl b/services/identity/internal/revocation/caveat.vdl
index a3f46f4..fb579c9 100644
--- a/services/identity/internal/revocation/caveat.vdl
+++ b/services/identity/internal/revocation/caveat.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package revocation
 
 import (
diff --git a/services/mgmt/device/config.vdl b/services/mgmt/device/config.vdl
index 67813d1..459fccf 100644
--- a/services/mgmt/device/config.vdl
+++ b/services/mgmt/device/config.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package device
 
 // Config is an RPC API to the config service.
diff --git a/services/mgmt/profile/profile.vdl b/services/mgmt/profile/profile.vdl
index 9559a27..462b230 100644
--- a/services/mgmt/profile/profile.vdl
+++ b/services/mgmt/profile/profile.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package profile contains implementation and internal interfaces and
 // types used by the implementation of Vanadium profiles.
 package profile
diff --git a/services/mgmt/repository/repository.vdl b/services/mgmt/repository/repository.vdl
index 445c51e..23827e5 100644
--- a/services/mgmt/repository/repository.vdl
+++ b/services/mgmt/repository/repository.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package repository contains implementation of the interface for
 // storing and serving various vanadium management objects.
 package repository
diff --git a/services/mgmt/stats/types.vdl b/services/mgmt/stats/types.vdl
index d11aa13..1835f80 100644
--- a/services/mgmt/stats/types.vdl
+++ b/services/mgmt/stats/types.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Packages stats defines the non-native types exported by the stats service.
 package stats
 
diff --git a/services/mounttable/lib/collection_test_interface.vdl b/services/mounttable/lib/collection_test_interface.vdl
index aba1d2d..876164e 100644
--- a/services/mounttable/lib/collection_test_interface.vdl
+++ b/services/mounttable/lib/collection_test_interface.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package mounttable
 
 type Collection interface {
diff --git a/services/security/discharger.vdl b/services/security/discharger.vdl
index d6fc62e..d913b8d 100644
--- a/services/security/discharger.vdl
+++ b/services/security/discharger.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package security
 
 import "v.io/v23/security"
diff --git a/services/security/groups/server/types.vdl b/services/security/groups/server/types.vdl
index 295110f..aa695c8 100644
--- a/services/security/groups/server/types.vdl
+++ b/services/security/groups/server/types.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package server
 
 import (
diff --git a/services/wsprd/account/account.vdl b/services/wsprd/account/account.vdl
index 8863b83..c6d6fee 100644
--- a/services/wsprd/account/account.vdl
+++ b/services/wsprd/account/account.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package account
 
 // Caveat describes a restriction on the validity of a blessing/discharge.
diff --git a/services/wsprd/app/app.vdl b/services/wsprd/app/app.vdl
index 243f2cd..8f5f122 100644
--- a/services/wsprd/app/app.vdl
+++ b/services/wsprd/app/app.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // The app package contains the struct that keeps per javascript app state and handles translating
 // javascript requests to vanadium requests and vice versa.
 package app
diff --git a/services/wsprd/app/controller.vdl b/services/wsprd/app/controller.vdl
index 9b7c5ac..cff5208 100644
--- a/services/wsprd/app/controller.vdl
+++ b/services/wsprd/app/controller.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package app
 
 import (
diff --git a/services/wsprd/browspr/browspr.vdl b/services/wsprd/browspr/browspr.vdl
index 57a8065..276bc30 100644
--- a/services/wsprd/browspr/browspr.vdl
+++ b/services/wsprd/browspr/browspr.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package browspr
 
 import(
diff --git a/services/wsprd/channel/channel.vdl b/services/wsprd/channel/channel.vdl
index e2856dd..0fc7ebc 100644
--- a/services/wsprd/channel/channel.vdl
+++ b/services/wsprd/channel/channel.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package channel
 
 type Request struct {
diff --git a/services/wsprd/lib/writer.vdl b/services/wsprd/lib/writer.vdl
index d719e90..7197042 100644
--- a/services/wsprd/lib/writer.vdl
+++ b/services/wsprd/lib/writer.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package lib
 
 import "v.io/v23/vtrace"
diff --git a/services/wsprd/namespace/namespace.vdl b/services/wsprd/namespace/namespace.vdl
index 3bd6b1b..f87b675 100644
--- a/services/wsprd/namespace/namespace.vdl
+++ b/services/wsprd/namespace/namespace.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 // Package namespace defines an RPC services that allows remoting of the
 // namespace client library over the wire.  This is useful for
 // javascript so it doesn't have to implement the library.
diff --git a/services/wsprd/principal/blessings.vdl b/services/wsprd/principal/blessings.vdl
index 4ea082b..b75cc38 100644
--- a/services/wsprd/principal/blessings.vdl
+++ b/services/wsprd/principal/blessings.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package principal
 
 type BlessingsHandle struct {
diff --git a/services/wsprd/rpc/server/server.vdl b/services/wsprd/rpc/server/server.vdl
index 3872b16..418c43a 100644
--- a/services/wsprd/rpc/server/server.vdl
+++ b/services/wsprd/rpc/server/server.vdl
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
 package server
 
 import (