aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/logging
diff options
context:
space:
mode:
authorGravatar Subv <subv2112@gmail.com>2014-12-08 23:52:27 -0500
committerGravatar Subv <subv2112@gmail.com>2014-12-31 10:51:44 -0500
commit97a7381d29b69dbe760598e70669c16573304ad4 (patch)
treef4e336af1e5cf5d72c2665470a96a9db73711ae7 /src/common/logging
parent59bba04628772ad8995f38137dcfe8bbd05f949b (diff)
SOC_U: Preliminary implementation of sockets.
Stubbed CreateMemoryBlock Using Berkeley sockets, and Winsock2.2 on Windows. So far ftpony creates the socket and accepts incoming connections SOC_U: Renamed functions to maintain consistency Also prevents possible scope errors / conflicts with the actual Berkeley socket functions SOCU: Close all the opened sockets when cleaning up SOCU
Diffstat (limited to 'src/common/logging')
-rw-r--r--src/common/logging/backend.cpp1
-rw-r--r--src/common/logging/log.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp
index 816d1bb5..7ac30ad5 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -39,6 +39,7 @@ static std::shared_ptr<Logger> global_logger;
SUB(Service, CFG) \
SUB(Service, DSP) \
SUB(Service, HID) \
+ SUB(Service, SOC) \
CLS(HW) \
SUB(HW, Memory) \
SUB(HW, GPU) \
diff --git a/src/common/logging/log.h b/src/common/logging/log.h
index d1c39186..06b99b07 100644
--- a/src/common/logging/log.h
+++ b/src/common/logging/log.h
@@ -59,6 +59,7 @@ enum class Class : ClassType {
Service_CFG, ///< The CFG (Configuration) service
Service_DSP, ///< The DSP (DSP control) service
Service_HID, ///< The HID (User input) service
+ Service_SOC, ///< The SOC (Socket) service
HW, ///< Low-level hardware emulation
HW_Memory, ///< Memory-map and address translation
HW_GPU, ///< GPU control emulation