You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by nn...@apache.org on 2015/06/05 02:08:36 UTC

[3/4] mesos git commit: Added wrapper header for mesos/slave/oversubscription.pb.h.

Added wrapper header for mesos/slave/oversubscription.pb.h.

Review: https://reviews.apache.org/r/35079


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6cbd3322
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6cbd3322
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/6cbd3322

Branch: refs/heads/master
Commit: 6cbd33229f0bd148827bf1f667f4ce03d9884957
Parents: 9e23a3e
Author: Niklas Nielsen <ni...@qni.dk>
Authored: Thu Jun 4 14:29:46 2015 -0700
Committer: Niklas Q. Nielsen <ni...@qni.dk>
Committed: Thu Jun 4 16:44:24 2015 -0700

----------------------------------------------------------------------
 include/mesos/slave/oversubscription.hpp | 25 +++++++++++++++++++++++++
 src/Makefile.am                          |  5 +++--
 2 files changed, 28 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/6cbd3322/include/mesos/slave/oversubscription.hpp
----------------------------------------------------------------------
diff --git a/include/mesos/slave/oversubscription.hpp b/include/mesos/slave/oversubscription.hpp
new file mode 100644
index 0000000..ffefaa0
--- /dev/null
+++ b/include/mesos/slave/oversubscription.hpp
@@ -0,0 +1,25 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
+#ifndef __SLAVE_OVERSUBSCRIPTION_PROTO_HPP__
+#define __SLAVE_OVERSUBSCRIPTION_PROTO_HPP__
+
+// ONLY USEFUL AFTER RUNNING PROTOC.
+#include <mesos/slave/oversubscription.pb.h>
+
+#endif // __SLAVE_OVERSUBSCRIPTION_PROTO_HPP__

http://git-wip-us.apache.org/repos/asf/mesos/blob/6cbd3322/src/Makefile.am
----------------------------------------------------------------------
diff --git a/src/Makefile.am b/src/Makefile.am
index 3cf8bd2..d42d1b6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -498,8 +498,9 @@ slavedir = $(pkgincludedir)/slave
 
 slave_HEADERS =								\
   $(top_srcdir)/include/mesos/slave/isolator.hpp			\
-  $(top_srcdir)/include/mesos/slave/resource_estimator.hpp		\
-  $(top_srcdir)/include/mesos/slave/oversubscription.proto
+  $(top_srcdir)/include/mesos/slave/oversubscription.hpp		\
+  $(top_srcdir)/include/mesos/slave/oversubscription.proto		\
+  $(top_srcdir)/include/mesos/slave/resource_estimator.hpp
 
 nodist_slave_HEADERS = ../include/mesos/slave/oversubscription.pb.h