Loading CMakeLists.txt +2 −2 Original line number Diff line number Diff line Loading @@ -8,8 +8,8 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) find_package (Threads) add_subdirectory(prrt) add_library(PRRT prrt/socket.c prrt/block.c prrt/block.h prrt/packet.c prrt/packet.h prrt/feedback_receiver.c prrt/feedback_receiver.h prrt/data_transmitter.c prrt/data_transmitter.h prrt/coding_params.c prrt/coding_params.h prrt/vdmcode/block_code.c prrt/vdmcode/block_code.h prrt/coding_params.c prrt/coding_params.h) add_library(UTIL util/common.c util/common.h util/list.c util/list.h) add_library(PRRT defines.h prrt/socket.c prrt/block.c prrt/block.h prrt/packet.c prrt/packet.h prrt/processes/feedback_receiver.c prrt/processes/feedback_receiver.h prrt/processes/data_transmitter.c prrt/processes/data_transmitter.h prrt/coding_params.c prrt/coding_params.h prrt/vdmcode/block_code.c prrt/vdmcode/block_code.h prrt/coding_params.c prrt/coding_params.h prrt/collections/in_buffer.c prrt/collections/in_buffer.h) add_library(UTIL defines.h util/common.c util/common.h util/list.c util/list.h) add_executable(sender sender.c) add_executable(receiver receiver.c) Loading prrt/collections/in_buffer.c 0 → 100644 +1 −0 Original line number Diff line number Diff line #include "in_buffer.h" prrt/collections/in_buffer.h 0 → 100644 +12 −0 Original line number Diff line number Diff line // // Created by andreas on 11.02.16. // #ifndef PRRT_IN_BUFFER_H #define PRRT_IN_BUFFER_H typedef struct { } PrrtInBuffer; #endif //PRRT_IN_BUFFER_H prrt/data_transmitter.c→prrt/processes/data_transmitter.c +2 −2 Original line number Diff line number Diff line Loading @@ -3,8 +3,8 @@ #include <string.h> #include <netdb.h> #include "data_transmitter.h" #include "socket.h" #include "block.h" #include "../socket.h" #include "../block.h" int send_packet(PrrtSocket *sock_ptr, PrrtPacket *data_pkt) { Loading prrt/data_transmitter.h→prrt/processes/data_transmitter.h +0 −0 File moved. View file Loading
CMakeLists.txt +2 −2 Original line number Diff line number Diff line Loading @@ -8,8 +8,8 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) find_package (Threads) add_subdirectory(prrt) add_library(PRRT prrt/socket.c prrt/block.c prrt/block.h prrt/packet.c prrt/packet.h prrt/feedback_receiver.c prrt/feedback_receiver.h prrt/data_transmitter.c prrt/data_transmitter.h prrt/coding_params.c prrt/coding_params.h prrt/vdmcode/block_code.c prrt/vdmcode/block_code.h prrt/coding_params.c prrt/coding_params.h) add_library(UTIL util/common.c util/common.h util/list.c util/list.h) add_library(PRRT defines.h prrt/socket.c prrt/block.c prrt/block.h prrt/packet.c prrt/packet.h prrt/processes/feedback_receiver.c prrt/processes/feedback_receiver.h prrt/processes/data_transmitter.c prrt/processes/data_transmitter.h prrt/coding_params.c prrt/coding_params.h prrt/vdmcode/block_code.c prrt/vdmcode/block_code.h prrt/coding_params.c prrt/coding_params.h prrt/collections/in_buffer.c prrt/collections/in_buffer.h) add_library(UTIL defines.h util/common.c util/common.h util/list.c util/list.h) add_executable(sender sender.c) add_executable(receiver receiver.c) Loading
prrt/collections/in_buffer.c 0 → 100644 +1 −0 Original line number Diff line number Diff line #include "in_buffer.h"
prrt/collections/in_buffer.h 0 → 100644 +12 −0 Original line number Diff line number Diff line // // Created by andreas on 11.02.16. // #ifndef PRRT_IN_BUFFER_H #define PRRT_IN_BUFFER_H typedef struct { } PrrtInBuffer; #endif //PRRT_IN_BUFFER_H
prrt/data_transmitter.c→prrt/processes/data_transmitter.c +2 −2 Original line number Diff line number Diff line Loading @@ -3,8 +3,8 @@ #include <string.h> #include <netdb.h> #include "data_transmitter.h" #include "socket.h" #include "block.h" #include "../socket.h" #include "../block.h" int send_packet(PrrtSocket *sock_ptr, PrrtPacket *data_pkt) { Loading