aboutsummaryrefslogtreecommitdiffstats
path: root/extras/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'extras/emacs')
-rw-r--r--extras/emacs/README13
-rw-r--r--extras/emacs/cli-cmd-skel.el13
-rw-r--r--extras/emacs/config-skel.el13
-rw-r--r--extras/emacs/dual-loop-skel.el13
-rw-r--r--extras/emacs/elog-4-int-skel.el13
-rw-r--r--extras/emacs/elog-4-int-track-skel.el13
-rw-r--r--extras/emacs/elog-enum-skel.el13
-rw-r--r--extras/emacs/elog-one-datum-skel.el13
-rwxr-xr-xextras/emacs/fix-coding-style.el13
-rwxr-xr-xextras/emacs/make-plugin.sh14
-rw-r--r--extras/emacs/periodic-skel.el13
-rw-r--r--extras/emacs/pipe-skel.el13
-rw-r--r--extras/emacs/plugin.el13
-rw-r--r--extras/emacs/tunnel-c-skel.el13
-rw-r--r--extras/emacs/tunnel-decap-skel.el13
-rw-r--r--extras/emacs/tunnel-encap-skel.el13
-rw-r--r--extras/emacs/tunnel-h-skel.el13
17 files changed, 222 insertions, 0 deletions
diff --git a/extras/emacs/README b/extras/emacs/README
index 1f09a3fa4e4..2f1bd6c97e9 100644
--- a/extras/emacs/README
+++ b/extras/emacs/README
@@ -1,3 +1,16 @@
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
How to construct a complete plugin using the emacs skeletons
0. Install open-vpp, including the development package.
diff --git a/extras/emacs/cli-cmd-skel.el b/extras/emacs/cli-cmd-skel.el
index cf8658c4233..57c15c825e3 100644
--- a/extras/emacs/cli-cmd-skel.el
+++ b/extras/emacs/cli-cmd-skel.el
@@ -1,3 +1,16 @@
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
;;; cli-cmd-skel.el - cli command skeleton
(require 'skeleton)
diff --git a/extras/emacs/config-skel.el b/extras/emacs/config-skel.el
index dc2ec3805c2..0fb8241205b 100644
--- a/extras/emacs/config-skel.el
+++ b/extras/emacs/config-skel.el
@@ -1,3 +1,16 @@
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
;;; config-skel.el - config function command skeleton
(require 'skeleton)
diff --git a/extras/emacs/dual-loop-skel.el b/extras/emacs/dual-loop-skel.el
index b23d65acaf3..97d63e01b38 100644
--- a/extras/emacs/dual-loop-skel.el
+++ b/extras/emacs/dual-loop-skel.el
@@ -1,3 +1,16 @@
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
;;; dual-loop-skel.el - Eliotic dual-loop node skeleton
(require 'skeleton)
diff --git a/extras/emacs/elog-4-int-skel.el b/extras/emacs/elog-4-int-skel.el
index fda412a7bb8..0054d896828 100644
--- a/extras/emacs/elog-4-int-skel.el
+++ b/extras/emacs/elog-4-int-skel.el
@@ -1,3 +1,16 @@
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
;;; elog-4-int-skel.el - 4 integer elog skeleton
(require 'skeleton)
diff --git a/extras/emacs/elog-4-int-track-skel.el b/extras/emacs/elog-4-int-track-skel.el
index 506cc3a2aa9..880035a5082 100644
--- a/extras/emacs/elog-4-int-track-skel.el
+++ b/extras/emacs/elog-4-int-track-skel.el
@@ -1,3 +1,16 @@
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
;;; elog-4-int-skel.el - 4 integer elog skeleton
(require 'skeleton)
diff --git a/extras/emacs/elog-enum-skel.el b/extras/emacs/elog-enum-skel.el
index 836ce86a9d9..bc2bb9470d4 100644
--- a/extras/emacs/elog-enum-skel.el
+++ b/extras/emacs/elog-enum-skel.el
@@ -1,3 +1,16 @@
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
;;; elog-enum-skel.el - enum elog skeleton
(require 'skeleton)
diff --git a/extras/emacs/elog-one-datum-skel.el b/extras/emacs/elog-one-datum-skel.el
index 11f8389619a..e60a9937fb9 100644
--- a/extras/emacs/elog-one-datum-skel.el
+++ b/extras/emacs/elog-one-datum-skel.el
@@ -1,3 +1,16 @@
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
;;; elog-one-datum-skel.el - single u32 datum elog skeleton
(require 'skeleton)
diff --git a/extras/emacs/fix-coding-style.el b/extras/emacs/fix-coding-style.el
index 0bb63483ffb..c4a7060bb03 100755
--- a/extras/emacs/fix-coding-style.el
+++ b/extras/emacs/fix-coding-style.el
@@ -1,5 +1,18 @@
#!/usr/bin/emacs --script
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
;; Insert style boilerplate if it's not already there
;;
;; Breaking the string in half keeps emacs
diff --git a/extras/emacs/make-plugin.sh b/extras/emacs/make-plugin.sh
index 4985974cac5..de5eb04ff94 100755
--- a/extras/emacs/make-plugin.sh
+++ b/extras/emacs/make-plugin.sh
@@ -1,4 +1,18 @@
#!/usr/bin/emacs --script
+
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
(load-file "./all-skel.el")
(make-plugin)
(save-some-buffers t)
diff --git a/extras/emacs/periodic-skel.el b/extras/emacs/periodic-skel.el
index a8f3ef6db82..b744fcd46d2 100644
--- a/extras/emacs/periodic-skel.el
+++ b/extras/emacs/periodic-skel.el
@@ -1,3 +1,16 @@
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
;;; pipe-skel.el - pipelined graph node skeleton
(require 'skeleton)
diff --git a/extras/emacs/pipe-skel.el b/extras/emacs/pipe-skel.el
index 911e0d07453..bfae58dc922 100644
--- a/extras/emacs/pipe-skel.el
+++ b/extras/emacs/pipe-skel.el
@@ -1,3 +1,16 @@
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
;;; pipe-skel.el - pipelined graph node skeleton
(require 'skeleton)
diff --git a/extras/emacs/plugin.el b/extras/emacs/plugin.el
index 4f1361a32f2..47bffb693c7 100644
--- a/extras/emacs/plugin.el
+++ b/extras/emacs/plugin.el
@@ -1,3 +1,16 @@
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
(defun make-plugin ()
"Create a plugin"
(interactive)
diff --git a/extras/emacs/tunnel-c-skel.el b/extras/emacs/tunnel-c-skel.el
index a1b1757dab7..1bd9988ebf8 100644
--- a/extras/emacs/tunnel-c-skel.el
+++ b/extras/emacs/tunnel-c-skel.el
@@ -1,3 +1,16 @@
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
;;; tunnel-c-skel.el - tunnel encap cli / api
(require 'skeleton)
diff --git a/extras/emacs/tunnel-decap-skel.el b/extras/emacs/tunnel-decap-skel.el
index 380273b67a2..a9a81213c0f 100644
--- a/extras/emacs/tunnel-decap-skel.el
+++ b/extras/emacs/tunnel-decap-skel.el
@@ -1,3 +1,16 @@
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
;;; tunnel-decap-skel.el - tunnel decapsulation skeleton
(require 'skeleton)
diff --git a/extras/emacs/tunnel-encap-skel.el b/extras/emacs/tunnel-encap-skel.el
index 9c98a597d09..301f8e48b63 100644
--- a/extras/emacs/tunnel-encap-skel.el
+++ b/extras/emacs/tunnel-encap-skel.el
@@ -1,3 +1,16 @@
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
;;; tunnel-encap-skel.el - tunnel interface output skeleton
(require 'skeleton)
diff --git a/extras/emacs/tunnel-h-skel.el b/extras/emacs/tunnel-h-skel.el
index 067cf1346ce..bd4aa401c5b 100644
--- a/extras/emacs/tunnel-h-skel.el
+++ b/extras/emacs/tunnel-h-skel.el
@@ -1,3 +1,16 @@
+;;; Copyright (c) 2016 Cisco and/or its affiliates.
+;;; Licensed under the Apache License, Version 2.0 (the "License");
+;;; you may not use this file except in compliance with the License.
+;;; You may obtain a copy of the License at:
+;;;
+;;; http://www.apache.org/licenses/LICENSE-2.0
+;;;
+;;; Unless required by applicable law or agreed to in writing, software
+;;; distributed under the License is distributed on an "AS IS" BASIS,
+;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+;;; See the License for the specific language governing permissions and
+;;; limitations under the License.
+
;;; tunnel-h-skel.el - tunnel encap header file skeleton
(require 'skeleton)