X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/20072b367cf034ab9124560e4a06d8e32a388d93..21fb8d8eb93ddba5eb08976d013d3f956bdd19d6:/stglibs/sgcp.lib/include/stg/sgcp_proto.h diff --git a/stglibs/sgcp.lib/include/stg/sgcp_proto.h b/stglibs/sgcp.lib/include/stg/sgcp_proto.h index 04bc3c88..9a750b5f 100644 --- a/stglibs/sgcp.lib/include/stg/sgcp_proto.h +++ b/stglibs/sgcp.lib/include/stg/sgcp_proto.h @@ -22,17 +22,14 @@ */ #include "sgcp_types.h" // TransportType -#include "sgcp_utils.h" // hton/ntoh +#include "sgcp_conn.h" #include "stg/os_int.h" -#include #include #include -#include #include -#include #include namespace STG @@ -40,18 +37,9 @@ namespace STG namespace SGCP { -class TransportProto; - class Proto { public: - enum { CONTEXT = 0 }; - enum PacketType { - INFO = 0, - PING, - PONG, - DATA - }; struct Error : public std::runtime_error {