working commit
This commit is contained in:
@@ -238,17 +238,17 @@ ECHO_N = -n
|
||||
ECHO_T =
|
||||
ETAGS = etags
|
||||
EXEEXT =
|
||||
INSTALL = /usr/bin/install -c
|
||||
INSTALL = /bin/install -c
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
INSTALL_PROGRAM = ${INSTALL}
|
||||
INSTALL_SCRIPT = ${INSTALL}
|
||||
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
|
||||
LDFLAGS = -pthread -static
|
||||
LDFLAGS = -pthread
|
||||
LIBOBJS =
|
||||
LIBS = -Wl,--as-need -lprotobuf-lite
|
||||
LTLIBOBJS =
|
||||
MAKEINFO = ${SHELL} '/home/ziggi/Projects/tcpserv09/missing' makeinfo
|
||||
MKDIR_P = /usr/bin/mkdir -p
|
||||
MKDIR_P = /bin/mkdir -p
|
||||
OBJEXT = o
|
||||
PACKAGE = helmet
|
||||
PACKAGE_BUGREPORT =
|
||||
@@ -258,7 +258,7 @@ PACKAGE_TARNAME = helmet
|
||||
PACKAGE_URL =
|
||||
PACKAGE_VERSION = 0.0.1
|
||||
PATH_SEPARATOR = :
|
||||
PROTOC = /usr/bin/protoc
|
||||
PROTOC = /bin/protoc
|
||||
RANLIB = ranlib
|
||||
SET_MAKE =
|
||||
SHELL = /bin/bash
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
AUTOMAKE_OPTIONS = foreign no-dependencies no-installinfo subdir-objects
|
||||
|
||||
CXXFLAGS = -std=c++23 -Wall -I. -pthread -D_GNU_SOURCE=1
|
||||
LDFLAGS = -pthread -static
|
||||
LDFLAGS = -pthread
|
||||
LIBS = -Wl,--as-need -lprotobuf-lite
|
||||
|
||||
sbin_PROGRAMS = helmetd
|
||||
|
||||
+1
-1
@@ -243,7 +243,7 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LDFLAGS = -pthread -static
|
||||
LDFLAGS = -pthread
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = -Wl,--as-need -lprotobuf-lite
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
|
||||
#include <tunnel.hpp>
|
||||
#include <interface.hpp>
|
||||
#include <service.hpp>
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ extern "C" {
|
||||
#include <chrono>
|
||||
#include <cstring>
|
||||
|
||||
#include <tunnel.hpp>
|
||||
#include <interface.hpp>
|
||||
#include <service.hpp>
|
||||
#include <server.hpp>
|
||||
|
||||
|
||||
+1
-15
@@ -1,26 +1,12 @@
|
||||
|
||||
|
||||
|
||||
extern "C" {
|
||||
#include <arpa/inet.h>
|
||||
}
|
||||
|
||||
#include <expected>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <span>
|
||||
#include <iostream>
|
||||
#include <thread>
|
||||
#include <chrono>
|
||||
#include <cstring>
|
||||
|
||||
#include <tunnel.hpp>
|
||||
#include <interface.hpp>
|
||||
#include <service.hpp>
|
||||
|
||||
#include <hello.pb.h>
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
class Server {
|
||||
private:
|
||||
Interface iface;
|
||||
|
||||
+3
-1
@@ -3,8 +3,10 @@
|
||||
#include <string>
|
||||
#include <chrono>
|
||||
#include <cstring>
|
||||
#include <thread>
|
||||
#include <iostream>
|
||||
|
||||
|
||||
#include <tunnel.hpp>
|
||||
#include <server.hpp>
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
@@ -1,14 +1,10 @@
|
||||
|
||||
extern "C" {
|
||||
#include <arpa/inet.h>
|
||||
}
|
||||
|
||||
#include <expected>
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
|
||||
#include <tunnel.hpp>
|
||||
#include <service.hpp>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
|
||||
Reference in New Issue
Block a user