Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stunserver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Stunserver
Commits
33a17d1f
Commit
33a17d1f
authored
Feb 24, 2013
by
jselbie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename commonincludes.h to commonincludes.hpp - so that Clang won't complain
parent
c9ab6dbe
Changes
45
Hide whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
45 additions
and
44 deletions
+45
-44
client/clientmain.cpp
client/clientmain.cpp
+1
-1
common.inc
common.inc
+1
-1
common/Makefile
common/Makefile
+1
-1
common/cmdlineparser.cpp
common/cmdlineparser.cpp
+1
-1
common/common.cpp
common/common.cpp
+1
-1
common/commonincludes.hpp
common/commonincludes.hpp
+0
-0
common/fasthash.cpp
common/fasthash.cpp
+1
-1
common/getconsolewidth.cpp
common/getconsolewidth.cpp
+1
-1
common/getmillisecondcounter.cpp
common/getmillisecondcounter.cpp
+1
-1
common/logger.cpp
common/logger.cpp
+1
-1
common/prettyprint.cpp
common/prettyprint.cpp
+1
-1
common/refcountobject.cpp
common/refcountobject.cpp
+1
-1
common/stringhelper.cpp
common/stringhelper.cpp
+1
-1
networkutils/adapters.cpp
networkutils/adapters.cpp
+1
-1
networkutils/polling.cpp
networkutils/polling.cpp
+1
-1
networkutils/recvfromex.cpp
networkutils/recvfromex.cpp
+1
-1
networkutils/resolvehostname.cpp
networkutils/resolvehostname.cpp
+1
-1
networkutils/stunsocket.cpp
networkutils/stunsocket.cpp
+1
-1
server/main.cpp
server/main.cpp
+1
-1
server/sampleauthprovider.cpp
server/sampleauthprovider.cpp
+1
-1
server/server.cpp
server/server.cpp
+1
-1
server/stunconnection.cpp
server/stunconnection.cpp
+1
-1
server/stunconnection.h
server/stunconnection.h
+2
-1
server/stunsocketthread.cpp
server/stunsocketthread.cpp
+1
-1
server/tcpserver.cpp
server/tcpserver.cpp
+1
-1
stuncore/buffer.cpp
stuncore/buffer.cpp
+1
-1
stuncore/datastream.cpp
stuncore/datastream.cpp
+1
-1
stuncore/messagehandler.cpp
stuncore/messagehandler.cpp
+1
-1
stuncore/socketaddress.cpp
stuncore/socketaddress.cpp
+1
-1
stuncore/stunbuilder.cpp
stuncore/stunbuilder.cpp
+1
-1
stuncore/stunclientlogic.cpp
stuncore/stunclientlogic.cpp
+1
-1
stuncore/stunclienttests.cpp
stuncore/stunclienttests.cpp
+1
-1
stuncore/stunreader.cpp
stuncore/stunreader.cpp
+1
-1
stuncore/stunutils.cpp
stuncore/stunutils.cpp
+1
-1
testcode/testbuilder.cpp
testcode/testbuilder.cpp
+1
-1
testcode/testclientlogic.cpp
testcode/testclientlogic.cpp
+1
-1
testcode/testcmdline.cpp
testcode/testcmdline.cpp
+1
-1
testcode/testcode.cpp
testcode/testcode.cpp
+1
-1
testcode/testdatastream.cpp
testcode/testdatastream.cpp
+1
-1
testcode/testfasthash.cpp
testcode/testfasthash.cpp
+1
-1
testcode/testintegrity.cpp
testcode/testintegrity.cpp
+1
-1
testcode/testmessagehandler.cpp
testcode/testmessagehandler.cpp
+1
-1
testcode/testpolling.cpp
testcode/testpolling.cpp
+1
-1
testcode/testreader.cpp
testcode/testreader.cpp
+1
-1
testcode/testrecvfromex.cpp
testcode/testrecvfromex.cpp
+1
-1
No files found.
client/clientmain.cpp
View file @
33a17d1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
#include "socketrole.h" // so we can re-use the "SocketRole" definitions again
#include "socketrole.h" // so we can re-use the "SocketRole" definitions again
#include "stunsocket.h"
#include "stunsocket.h"
...
...
common.inc
View file @
33a17d1f
...
@@ -25,7 +25,7 @@ endif
...
@@ -25,7 +25,7 @@ endif
.
PHONY
:
all
clean
debug
.
PHONY
:
all
clean
debug
%.
h
.
gch
:
%.
h
%.
h
pp
.
gch
:
%.
hpp
echo
Building
precompiled
header
:
$
@
echo
Building
precompiled
header
:
$
@
$
(
COMPILE
.
cpp
)
$
(
INCLUDES
)
$
(
DEFINES
)
$
(
STANDARD_FLAGS
)
$
(
FLAVOR_FLAGS
)
$
^
$
(
COMPILE
.
cpp
)
$
(
INCLUDES
)
$
(
DEFINES
)
$
(
STANDARD_FLAGS
)
$
(
FLAVOR_FLAGS
)
$
^
...
...
common/Makefile
View file @
33a17d1f
...
@@ -4,7 +4,7 @@ PROJECT_TARGET := libcommon.a
...
@@ -4,7 +4,7 @@ PROJECT_TARGET := libcommon.a
PROJECT_SRCS
:=
cmdlineparser.cpp common.cpp fasthash.cpp getconsolewidth.cpp getmillisecondcounter.cpp logger.cpp prettyprint.cpp refcountobject.cpp stringhelper.cpp
PROJECT_SRCS
:=
cmdlineparser.cpp common.cpp fasthash.cpp getconsolewidth.cpp getmillisecondcounter.cpp logger.cpp prettyprint.cpp refcountobject.cpp stringhelper.cpp
PROJECT_OBJS
:=
$(
subst
.cpp,.o,
$(PROJECT_SRCS)
)
PROJECT_OBJS
:=
$(
subst
.cpp,.o,
$(PROJECT_SRCS)
)
INCLUDES
:=
$(BOOST_INCLUDE)
INCLUDES
:=
$(BOOST_INCLUDE)
PRECOMP_H_GCH
:=
commonincludes.h.gch
PRECOMP_H_GCH
:=
commonincludes.h
pp
.gch
...
...
common/cmdlineparser.cpp
View file @
33a17d1f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include <getopt.h>
#include <getopt.h>
#include "cmdlineparser.h"
#include "cmdlineparser.h"
...
...
common/common.cpp
View file @
33a17d1f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
namespace
boost
namespace
boost
...
...
common/commonincludes.h
→
common/commonincludes.h
pp
View file @
33a17d1f
File moved
common/fasthash.cpp
View file @
33a17d1f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
limitations under the License.
limitations under the License.
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#define IS_DIVISIBLE_BY(x, y) ((x % y)==0)
#define IS_DIVISIBLE_BY(x, y) ((x % y)==0)
...
...
common/getconsolewidth.cpp
View file @
33a17d1f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "oshelper.h"
#include "oshelper.h"
#ifndef _WIN32
#ifndef _WIN32
...
...
common/getmillisecondcounter.cpp
View file @
33a17d1f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "oshelper.h"
#include "oshelper.h"
...
...
common/logger.cpp
View file @
33a17d1f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "logger.h"
#include "logger.h"
...
...
common/prettyprint.cpp
View file @
33a17d1f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
static
bool
IsWhitespace
(
char
ch
)
static
bool
IsWhitespace
(
char
ch
)
...
...
common/refcountobject.cpp
View file @
33a17d1f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "refcountobject.h"
#include "refcountobject.h"
int
AtomicIncrement
(
int
*
pInt
)
int
AtomicIncrement
(
int
*
pInt
)
...
...
common/stringhelper.cpp
View file @
33a17d1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include <stdlib.h>
#include <stdlib.h>
#include <vector>
#include <vector>
#include <string>
#include <string>
...
...
networkutils/adapters.cpp
View file @
33a17d1f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
// TODO - FIX THIS SUCH THAT CSocketAddress is in it's own "base" library independent of networkutils and stuncore
// TODO - FIX THIS SUCH THAT CSocketAddress is in it's own "base" library independent of networkutils and stuncore
#include "socketaddress.h"
#include "socketaddress.h"
...
...
networkutils/polling.cpp
View file @
33a17d1f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
limitations under the License.
limitations under the License.
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "polling.h"
#include "polling.h"
#include "fasthash.h"
#include "fasthash.h"
...
...
networkutils/recvfromex.cpp
View file @
33a17d1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "socketaddress.h"
#include "socketaddress.h"
...
...
networkutils/resolvehostname.cpp
View file @
33a17d1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "socketaddress.h"
#include "socketaddress.h"
#include "stringhelper.h"
#include "stringhelper.h"
...
...
networkutils/stunsocket.cpp
View file @
33a17d1f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
limitations under the License.
limitations under the License.
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
#include "stunsocket.h"
#include "stunsocket.h"
...
...
server/main.cpp
View file @
33a17d1f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
limitations under the License.
limitations under the License.
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
#include "server.h"
#include "server.h"
#include "tcpserver.h"
#include "tcpserver.h"
...
...
server/sampleauthprovider.cpp
View file @
33a17d1f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
limitations under the License.
limitations under the License.
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include <openssl/hmac.h>
#include <openssl/hmac.h>
#include "stuncore.h"
#include "stuncore.h"
#include "stunsocket.h"
#include "stunsocket.h"
...
...
server/server.cpp
View file @
33a17d1f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include <openssl/hmac.h>
#include <openssl/hmac.h>
#include "stuncore.h"
#include "stuncore.h"
#include "stunsocket.h"
#include "stunsocket.h"
...
...
server/stunconnection.cpp
View file @
33a17d1f
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
#include "stunconnection.h"
#include "stunconnection.h"
...
...
server/stunconnection.h
View file @
33a17d1f
...
@@ -54,4 +54,5 @@ public:
...
@@ -54,4 +54,5 @@ public:
#endif
#endif
\ No newline at end of file
server/stunsocketthread.cpp
View file @
33a17d1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
#include "stunsocket.h"
#include "stunsocket.h"
#include "stunsocketthread.h"
#include "stunsocketthread.h"
...
...
server/tcpserver.cpp
View file @
33a17d1f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
limitations under the License.
limitations under the License.
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "tcpserver.h"
#include "tcpserver.h"
#include "server.h"
#include "server.h"
#include "stunsocket.h"
#include "stunsocket.h"
...
...
stuncore/buffer.cpp
View file @
33a17d1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "buffer.h"
#include "buffer.h"
...
...
stuncore/datastream.cpp
View file @
33a17d1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "datastream.h"
#include "datastream.h"
...
...
stuncore/messagehandler.cpp
View file @
33a17d1f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
#include "messagehandler.h"
#include "messagehandler.h"
#include "socketrole.h"
#include "socketrole.h"
...
...
stuncore/socketaddress.cpp
View file @
33a17d1f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "socketaddress.h"
#include "socketaddress.h"
...
...
stuncore/stunbuilder.cpp
View file @
33a17d1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stringhelper.h"
#include "stringhelper.h"
...
...
stuncore/stunclientlogic.cpp
View file @
33a17d1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
#include "stunclientlogic.h"
#include "stunclientlogic.h"
...
...
stuncore/stunclienttests.cpp
View file @
33a17d1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
#include "stunclientlogic.h"
#include "stunclientlogic.h"
...
...
stuncore/stunreader.cpp
View file @
33a17d1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stunreader.h"
#include "stunreader.h"
#include "stunutils.h"
#include "stunutils.h"
...
...
stuncore/stunutils.cpp
View file @
33a17d1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuntypes.h"
#include "stuntypes.h"
#include "socketaddress.h"
#include "socketaddress.h"
#include "buffer.h"
#include "buffer.h"
...
...
testcode/testbuilder.cpp
View file @
33a17d1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
...
...
testcode/testclientlogic.cpp
View file @
33a17d1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
#include "unittest.h"
#include "unittest.h"
...
...
testcode/testcmdline.cpp
View file @
33a17d1f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "cmdlineparser.h"
#include "cmdlineparser.h"
#include "unittest.h"
#include "unittest.h"
#include "testcmdline.h"
#include "testcmdline.h"
...
...
testcode/testcode.cpp
View file @
33a17d1f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
#include "testdatastream.h"
#include "testdatastream.h"
...
...
testcode/testdatastream.cpp
View file @
33a17d1f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
limitations under the License.
limitations under the License.
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
#include "testdatastream.h"
#include "testdatastream.h"
...
...
testcode/testfasthash.cpp
View file @
33a17d1f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
limitations under the License.
limitations under the License.
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "testfasthash.h"
#include "testfasthash.h"
#include "fasthash.h"
#include "fasthash.h"
...
...
testcode/testintegrity.cpp
View file @
33a17d1f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
limitations under the License.
limitations under the License.
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
#include "testintegrity.h"
#include "testintegrity.h"
...
...
testcode/testmessagehandler.cpp
View file @
33a17d1f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
limitations under the License.
limitations under the License.
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
#include "unittest.h"
#include "unittest.h"
...
...
testcode/testpolling.cpp
View file @
33a17d1f
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
limitations under the License.
limitations under the License.
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "unittest.h"
#include "unittest.h"
#include "polling.h"
#include "polling.h"
...
...
testcode/testreader.cpp
View file @
33a17d1f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
#include "testreader.h"
#include "testreader.h"
...
...
testcode/testrecvfromex.cpp
View file @
33a17d1f
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*/
*/
#include "commonincludes.h"
#include "commonincludes.h
pp
"
#include "stuncore.h"
#include "stuncore.h"
#include "recvfromex.h"
#include "recvfromex.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment