Commit 35df04fd authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Move common headers to 'common' subdir

Create common.hpp to access them
parent 274052bb
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -64,6 +64,9 @@ liburd_aux_la_SOURCES = \
	backends/process-memory.hpp \
	backends/remote-backend.cpp \
	backends/remote-backend.hpp \
	common.hpp \
	common/make-unique.hpp \
	common/unique-ptr-cast.hpp \
	defaults.hpp \
	io-task.cpp \
	io-task.hpp \
@@ -71,7 +74,6 @@ liburd_aux_la_SOURCES = \
	io-task-stats.hpp \
	job.hpp \
	logger.hpp \
	make-unique.hpp \
	resources.hpp \
	resources/local-path.cpp \
	resources/local-path.hpp \
@@ -91,7 +93,6 @@ liburd_aux_la_SOURCES = \
	thread-pool.hpp \
	thread-pool/thread-pool.hpp \
	thread-pool/thread-pool-queue.hpp \
	unique-ptr-cast.hpp \
	urd.cpp	\
	urd.hpp	\
	utils.cpp \
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
#include <boost/range/adaptor/transformed.hpp>

#include "norns.h"
#include "make-unique.hpp"
#include "common.hpp"
#include "messages.pb.h"
#include "backends.hpp"
#include "resources.hpp"

src/common.hpp

0 → 100644
+34 −0
Original line number Diff line number Diff line
/*************************************************************************
 * Copyright (C) 2017-2018 Barcelona Supercomputing Center               *
 *                         Centro Nacional de Supercomputacion           *
 * All rights reserved.                                                  *
 *                                                                       *
 * This file is part of the NORNS Data Scheduler, a service that allows  *
 * other programs to start, track and manage asynchronous transfers of   *
 * data resources transfers requests between different storage backends. *
 *                                                                       *
 * See AUTHORS file in the top level directory for information           *
 * regarding developers and contributors.                                *
 *                                                                       *
 * The NORNS Data Scheduler is free software: you can redistribute it    *
 * and/or modify it under the terms of the GNU Lesser General Public     *
 * License as published by the Free Software Foundation, either          *
 * version 3 of the License, or (at your option) any later version.      *
 *                                                                       *
 * The NORNS Data Scheduler is distributed in the hope that it will be   *
 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty   *
 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  *
 * Lesser General Public License for more details.                       *
 *                                                                       *
 * You should have received a copy of the GNU Lesser General             *
 * Public License along with the NORNS Data Scheduler.  If not, see      *
 * <http://www.gnu.org/licenses/>.                                       *
 *************************************************************************/

#ifndef __URD_COMMON_HPP__
#define  __URD_COMMON_HPP__

#include "common/make-unique.hpp"
#include "common/unique-ptr-cast.hpp"

#endif /* __URD_COMMON_HPP__ */
+0 −0

File moved.

Loading