From 43ea87a4c535a73b39603ef1d803cdb06e23c16d Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 31 Mar 2023 12:12:52 -0400 Subject: [PATCH] MT#56759 remove obsolete comments These are not applicable any more Change-Id: I7b4d6969173b64a9745b65b370b3e9dec9a9af1f --- include/recording.h | 59 --------------------------------------------- 1 file changed, 59 deletions(-) diff --git a/include/recording.h b/include/recording.h index b74db29a6..9bfa43590 100644 --- a/include/recording.h +++ b/include/recording.h @@ -123,70 +123,11 @@ void recording_pause(struct call *call); void recording_stop(struct call *call); -/** - * Create a call metadata file in a temporary location. - * Attaches the filepath and the file pointer to the call struct. - * Returns path to created file. - * - * Metadata file format is (with trailing newline): - * - * /path/to/recording-pcap.pcap - * - * - * first SDP answer - * - * second SDP answer - * - * ... - * - * n-th and final SDP answer - * - * - * start timestamp (YYYY-MM-DDThh:mm:ss) - * end timestamp (YYYY-MM-DDThh:mm:ss) - * - * - * generic metadata - * - * There are two empty lines between each logic block of metadata. - * The generic metadata at the end can be any length with any number of lines. - * Temporary files go in /tmp/. They will end up in - * ${RECORDING_DIR}/metadata/. They are named like: - * ${CALL_ID}-${RAND-HEX}.pcap - * - */ -//str *meta_setup_file(struct recording *recording, str callid); - -/** - * Write out a block of SDP to the metadata file. - */ -//ssize_t meta_write_sdp(struct recording *, struct iovec *sdp_iov, int iovcnt, -// enum call_opmode opmode); #define meta_write_sdp_before(args...) _rm(sdp_before, args) #define meta_write_sdp_after(args...) _rm(sdp_after, args) -/** - * Writes metadata to metafile, closes file, and moves it to finished location. - * Returns non-zero for failure. - * - * Metadata files are moved to ${RECORDING_DIR}/metadata/ - */ -// int meta_finish_file(struct call *call); - -/** - * Flushes PCAP file, closes the dumper and descriptors, and frees object memory. - */ -// void recording_finish_file(struct recording *recording); - -// combines the two calls above void recording_finish(struct call *); -/** - * Write out a PCAP packet with payload string. - * A fair amount extraneous of packet data is spoofed. - */ -// void dump_packet(struct packet_stream *, str *s); - #define recording_setup_stream(args...) _rm(setup_stream, args)