aboutsummaryrefslogtreecommitdiff
path: root/web/apache
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-29 23:55:46 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-30 23:57:17 +0300
commit8f3d3956b1e837c726859eb8bbe19dad79c54a42 (patch)
tree81ded52db212b12c7f685165702cce90aa0233cf /web/apache
parentea60a6df471706a0eeb5ff1f774d69abe89e4bc9 (diff)
Add hxx extension for headers and lib prefix for library dirs
Diffstat (limited to 'web/apache')
-rw-r--r--web/apache/log.hxx (renamed from web/apache/log)10
-rw-r--r--web/apache/request.cxx4
-rw-r--r--web/apache/request.hxx (renamed from web/apache/request)12
-rw-r--r--web/apache/service.cxx6
-rw-r--r--web/apache/service.hxx (renamed from web/apache/service)14
-rw-r--r--web/apache/stream.hxx (renamed from web/apache/stream)10
6 files changed, 28 insertions, 28 deletions
diff --git a/web/apache/log b/web/apache/log.hxx
index dda9099..4397875 100644
--- a/web/apache/log
+++ b/web/apache/log.hxx
@@ -1,9 +1,9 @@
-// file : web/apache/log -*- C++ -*-
+// file : web/apache/log.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#ifndef WEB_APACHE_LOG
-#define WEB_APACHE_LOG
+#ifndef WEB_APACHE_LOG_HXX
+#define WEB_APACHE_LOG_HXX
#include <httpd.h> // request_rec, server_rec
#include <http_log.h>
@@ -12,7 +12,7 @@
#include <cstdint> // uint64_t
#include <algorithm> // min()
-#include <web/module>
+#include <web/module.hxx>
namespace web
{
@@ -78,4 +78,4 @@ namespace web
}
}
-#endif // WEB_APACHE_LOG
+#endif // WEB_APACHE_LOG_HXX
diff --git a/web/apache/request.cxx b/web/apache/request.cxx
index b4fb080..219f887 100644
--- a/web/apache/request.cxx
+++ b/web/apache/request.cxx
@@ -2,7 +2,7 @@
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#include <web/apache/request>
+#include <web/apache/request.hxx>
#include <apr_tables.h> // apr_table_*, apr_array_header_t
#include <apr_strings.h> // apr_pstrdup()
@@ -31,7 +31,7 @@
#include <butl/optional>
#include <butl/timestamp>
-#include <web/mime-url-encoding>
+#include <web/mime-url-encoding.hxx>
using namespace std;
using namespace butl;
diff --git a/web/apache/request b/web/apache/request.hxx
index a35c5dc..0488fb2 100644
--- a/web/apache/request
+++ b/web/apache/request.hxx
@@ -1,9 +1,9 @@
-// file : web/apache/request -*- C++ -*-
+// file : web/apache/request.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#ifndef WEB_APACHE_REQUEST
-#define WEB_APACHE_REQUEST
+#ifndef WEB_APACHE_REQUEST_HXX
+#define WEB_APACHE_REQUEST_HXX
#include <httpd.h> // request_rec, HTTP_*, OK, M_POST
@@ -14,8 +14,8 @@
#include <ostream>
#include <streambuf>
-#include <web/module>
-#include <web/apache/stream>
+#include <web/module.hxx>
+#include <web/apache/stream.hxx>
namespace web
{
@@ -187,4 +187,4 @@ namespace web
#include <web/apache/request.ixx>
-#endif // WEB_APACHE_REQUEST
+#endif // WEB_APACHE_REQUEST_HXX
diff --git a/web/apache/service.cxx b/web/apache/service.cxx
index ca8e235..8c3fa82 100644
--- a/web/apache/service.cxx
+++ b/web/apache/service.cxx
@@ -2,7 +2,7 @@
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#include <web/apache/service>
+#include <web/apache/service.hxx>
#include <apr_pools.h> // apr_palloc()
@@ -18,8 +18,8 @@
#include <butl/optional>
-#include <web/module>
-#include <web/apache/log>
+#include <web/module.hxx>
+#include <web/apache/log.hxx>
using namespace std;
diff --git a/web/apache/service b/web/apache/service.hxx
index 45cf39b..44d064f 100644
--- a/web/apache/service
+++ b/web/apache/service.hxx
@@ -1,9 +1,9 @@
-// file : web/apache/service -*- C++ -*-
+// file : web/apache/service.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#ifndef WEB_APACHE_SERVICE
-#define WEB_APACHE_SERVICE
+#ifndef WEB_APACHE_SERVICE_HXX
+#define WEB_APACHE_SERVICE_HXX
#include <apr_pools.h> // apr_pool_t
#include <apr_hooks.h> // APR_HOOK_*
@@ -16,9 +16,9 @@
#include <string>
#include <cassert>
-#include <web/module>
-#include <web/apache/log>
-#include <web/apache/request>
+#include <web/module.hxx>
+#include <web/apache/log.hxx>
+#include <web/apache/request.hxx>
namespace web
{
@@ -327,4 +327,4 @@ namespace web
#include <web/apache/service.txx>
-#endif // WEB_APACHE_SERVICE
+#endif // WEB_APACHE_SERVICE_HXX
diff --git a/web/apache/stream b/web/apache/stream.hxx
index d4abb4e..3bb422d 100644
--- a/web/apache/stream
+++ b/web/apache/stream.hxx
@@ -1,9 +1,9 @@
-// file : web/apache/stream -*- C++ -*-
+// file : web/apache/stream.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#ifndef WEB_APACHE_STREAM
-#define WEB_APACHE_STREAM
+#ifndef WEB_APACHE_STREAM_HXX
+#define WEB_APACHE_STREAM_HXX
#include <httpd.h> // request_rec, HTTP_*
#include <http_protocol.h> // ap_*()
@@ -14,7 +14,7 @@
#include <streambuf>
#include <algorithm> // min(), max()
-#include <web/module> // invalid_request
+#include <web/module.hxx> // invalid_request
namespace web
{
@@ -146,4 +146,4 @@ namespace web
}
}
-#endif // WEB_APACHE_STREAM
+#endif // WEB_APACHE_STREAM_HXX