Change bind and connect socket helper functions to take string

This commit is contained in:
2021-01-19 12:59:50 +01:00
parent a3d0286250
commit ccca4225d4
5 changed files with 15 additions and 9 deletions
+7 -2
View File
@@ -36,9 +36,14 @@ namespace BufferUtils
void create_destination_folder(const std::string& output_file);
void* bind_socket(
void* ctx, const std::string& detector_name, const int source_id);
void* ctx,
const std::string& detector_name,
const std::string& stream_name);
void* connect_socket(
void* ctx, const std::string& detector_name, const int source_id);
void* ctx,
const std::string& detector_name,
const std::string& stream_name);
DetectorConfig read_json_config(const std::string& filename);
}