Commit 5f173987 authored by JINMEI Tatuya's avatar JINMEI Tatuya

s/#include "header"/#include <[path/]header>/ (trac #291)


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2517 e5f2f494-b856-4b98-b285-d166d9295462
parent fdf85908
......@@ -3,6 +3,7 @@ SUBDIRS = . tests
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/dns -I$(top_builddir)/src/lib/dns
AM_CPPFLAGS += -I$(top_builddir)/src/lib/cc
AM_CPPFLAGS += -I$(top_srcdir)/src/bin -I$(top_builddir)/src/bin
AM_CXXFLAGS = $(B10_CXXFLAGS)
......
......@@ -29,9 +29,9 @@
#include <asio_link.h>
#include "spec_config.h" // for XFROUT. should not be here.
#include "auth_srv.h"
#include "common.h"
#include <auth/spec_config.h> // for XFROUT. should not be here.
#include <auth/auth_srv.h>
#include <auth/common.h>
using namespace asio;
using ip::udp;
......
......@@ -40,8 +40,8 @@
#include <cc/data.h>
#include "common.h"
#include "auth_srv.h"
#include <auth/common.h>
#include <auth/auth_srv.h>
#include <boost/lexical_cast.hpp>
......
......@@ -14,7 +14,7 @@
// $Id$
#include "config.h"
#include <config.h>
#include <sys/types.h>
#include <sys/socket.h>
......@@ -39,10 +39,10 @@
#include <cc/data.h>
#include <config/ccsession.h>
#include "spec_config.h"
#include "common.h"
#include "auth_srv.h"
#include "asio_link.h"
#include <auth/spec_config.h>
#include <auth/common.h>
#include <auth/auth_srv.h>
#include <auth/asio_link.h>
using namespace std;
using namespace isc::data;
......
......@@ -24,14 +24,14 @@
#include <string>
#include <iostream>
#include "dns/buffer.h"
#include "dns/name.h"
#include "dns/message.h"
#include "dns/messagerenderer.h"
#include "dns/rrclass.h"
#include "dns/rrtype.h"
#include "dns/rrset.h"
#include "dns/message.h"
#include <dns/buffer.h>
#include <dns/name.h>
#include <dns/message.h>
#include <dns/messagerenderer.h>
#include <dns/rrclass.h>
#include <dns/rrtype.h>
#include <dns/rrset.h>
#include <dns/message.h>
using namespace std;
using namespace isc::dns;
......
......@@ -14,9 +14,9 @@
// $Id$
#include "config.h"
#include <config.h>
#include "data.h"
#include <cc/data.h>
#include <cassert>
#include <climits>
......
......@@ -23,8 +23,8 @@
#include <exceptions/exceptions.h>
#include "data.h"
#include "session_config.h"
#include <cc/data.h>
#include <cc/session_config.h>
namespace asio {
class io_service;
......
......@@ -14,7 +14,7 @@
// $Id: data_unittests.cc 1899 2010-05-21 12:03:59Z jelte $
#include "config.h"
#include <config.h>
// for some IPC/network system calls in asio/detail/pipe_select_interrupter.hpp
#include <unistd.h>
......
......@@ -20,7 +20,7 @@
// react on config change announcements)
//
#include "config.h"
#include <config.h>
#include <stdexcept>
#include <stdlib.h>
......@@ -40,8 +40,7 @@
#include <cc/session.h>
#include <exceptions/exceptions.h>
#include "ccsession.h"
#include "config.h"
#include <config/ccsession.h>
using namespace std;
......
......@@ -14,7 +14,7 @@
// $Id$
#include "config_data.h"
#include <config/config_data.h>
#include <boost/foreach.hpp>
......
......@@ -13,7 +13,7 @@
// NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
// WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "module_spec.h"
#include <config/module_spec.h>
#include <sstream>
#include <iostream>
......
......@@ -24,7 +24,7 @@
#include <fstream>
#include "data_def_unittests_config.h"
#include <config/tests/data_def_unittests_config.h>
using namespace isc::data;
using namespace isc::config;
......
......@@ -17,7 +17,7 @@
#include <gtest/gtest.h>
#include "data_def_unittests_config.h"
#include <config/tests/data_def_unittests_config.h>
#include <config/config_data.h>
#include <iostream>
......
......@@ -14,7 +14,7 @@
// $Id: session.cc 1250 2010-03-09 22:52:15Z jinmei $
#include "config.h"
#include <config.h>
#include <stdint.h>
......@@ -28,7 +28,7 @@
#include <exceptions/exceptions.h>
#include <cc/data.h>
#include "fake_session.h"
#include <config/tests/fake_session.h>
using namespace std;
using namespace isc::cc;
......
......@@ -20,7 +20,7 @@
#include <fstream>
#include "data_def_unittests_config.h"
#include <config/tests/data_def_unittests_config.h>
using namespace isc::data;
using namespace isc::config;
......
......@@ -14,7 +14,7 @@
// $Id$
#include "config.h"
#include <config.h>
#include <cassert>
#include <iomanip>
......
......@@ -21,7 +21,7 @@
#include <cc/data.h>
#include "query.h"
#include <datasrc/query.h>
using namespace isc::dns;
......
......@@ -19,7 +19,7 @@
#include <sqlite3.h>
#include "sqlite3_datasrc.h"
#include <datasrc/sqlite3_datasrc.h>
#include <dns/rrttl.h>
#include <dns/rdata.h>
......
......@@ -21,7 +21,7 @@
#include <exceptions/exceptions.h>
#include "data_source.h"
#include <datasrc/data_source.h>
namespace isc {
......
......@@ -14,7 +14,7 @@
// $Id$
#include "config.h"
#include <config.h>
#include <cassert>
......@@ -26,8 +26,8 @@
#include <dns/rrtype.h>
#include <dns/rrttl.h>
#include "data_source.h"
#include "static_datasrc.h"
#include <datasrc/data_source.h>
#include <datasrc/static_datasrc.h>
using namespace std;
using namespace isc::dns;
......
......@@ -25,7 +25,7 @@
#ifndef __STATIC_DATA_SOURCE_H
#define __STATIC_DATA_SOURCE_H
#include "data_source.h"
#include <datasrc/data_source.h>
namespace isc {
......
......@@ -39,7 +39,7 @@
#include <datasrc/static_datasrc.h>
#include <dns/tests/unittest_util.h>
#include "test_datasrc.h"
#include <datasrc/tests/test_datasrc.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -18,7 +18,7 @@
#include <string>
#include <vector>
#include "config.h"
#include <config.h>
#include <gtest/gtest.h>
......
......@@ -14,14 +14,14 @@
// $Id$
#include "config.h"
#include <config.h>
#include <cassert>
#include <algorithm>
#include <dns/tests/unittest_util.h>
#include "test_datasrc.h"
#include <datasrc/tests/test_datasrc.h>
#include <datasrc/data_source.h>
......
......@@ -27,7 +27,7 @@
#include <Python.h>
#include <structmember.h>
#include "config.h"
#include <config.h>
#include <exceptions/exceptions.h>
......@@ -36,22 +36,22 @@
#include <dns/name.h>
#include <dns/messagerenderer.h>
#include "libdns_python_common.h"
#include <dns/python/libdns_python_common.h>
// For our 'general' isc::Exception
static PyObject* po_IscException;
// order is important here!
#include "messagerenderer_python.cc"
#include "name_python.cc" // needs Messagerenderer
#include "rrclass_python.cc" // needs Messagerenderer
#include "rrtype_python.cc" // needs Messagerenderer
#include "rrttl_python.cc" // needs Messagerenderer
#include "rdata_python.cc" // needs Type, Class
#include "rrset_python.cc" // needs Rdata, RRTTL
#include "question_python.cc" // needs RRClass, RRType, RRTTL,
// Name
#include "message_python.cc" // needs RRset, Question
#include <dns/python/messagerenderer_python.cc>
#include <dns/python/name_python.cc> // needs Messagerenderer
#include <dns/python/rrclass_python.cc> // needs Messagerenderer
#include <dns/python/rrtype_python.cc> // needs Messagerenderer
#include <dns/python/rrttl_python.cc> // needs Messagerenderer
#include <dns/python/rdata_python.cc> // needs Type, Class
#include <dns/python/rrset_python.cc> // needs Rdata, RRTTL
#include <dns/python/question_python.cc> // needs RRClass, RRType, RRTTL,
// Name
#include <dns/python/message_python.cc> // needs RRset, Question
//
// Definition of the module
......
......@@ -23,7 +23,7 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include <dns/tests/unittest_util.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -28,7 +28,7 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include <dns/tests/unittest_util.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -20,7 +20,7 @@
#include <dns/name.h>
#include <dns/messagerenderer.h>
#include "unittest_util.h"
#include <dns/tests/unittest_util.h>
#include <gtest/gtest.h>
......
......@@ -26,7 +26,7 @@
#include <dns/name.h>
#include <dns/messagerenderer.h>
#include "unittest_util.h"
#include <dns/tests/unittest_util.h>
#include <gtest/gtest.h>
......
......@@ -29,7 +29,7 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include <dns/tests/unittest_util.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -24,8 +24,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -24,8 +24,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -26,8 +26,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -25,8 +25,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -24,8 +24,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -24,8 +24,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -23,8 +23,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -24,8 +24,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -28,8 +28,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -27,8 +27,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -26,8 +26,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -23,8 +23,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -24,8 +24,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -25,8 +25,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -23,8 +23,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -24,8 +24,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -27,8 +27,8 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include "rdata_unittest.h"
#include <dns/tests/unittest_util.h>
#include <dns/tests/rdata_unittest.h>
using isc::UnitTestUtil;
using namespace std;
......
......@@ -20,7 +20,7 @@
#include <dns/messagerenderer.h>
#include <dns/rrclass.h>
#include "unittest_util.h"
#include <dns/tests/unittest_util.h>
using namespace std;
using namespace isc;
......
......@@ -28,7 +28,7 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include <dns/tests/unittest_util.h>
using isc::UnitTestUtil;
......
......@@ -20,7 +20,7 @@
#include <dns/messagerenderer.h>
#include <dns/rrttl.h>
#include "unittest_util.h"
#include <dns/tests/unittest_util.h>
using namespace std;
using namespace isc;
......
......@@ -20,7 +20,7 @@
#include <dns/messagerenderer.h>
#include <dns/rrtype.h>
#include "unittest_util.h"
#include <dns/tests/unittest_util.h>
using namespace std;
using namespace isc;
......
......@@ -16,7 +16,7 @@
#include <gtest/gtest.h>
#include "unittest_util.h"
#include <dns/tests/unittest_util.h>
int
main(int argc, char* argv[]) {
......