storage: move storage files to a new dir

This commit is contained in:
Kaian 2019-06-24 11:56:19 +02:00
parent bc70c41efc
commit ecc26c6f22
37 changed files with 46 additions and 46 deletions

View File

@ -41,6 +41,8 @@ set(SOURCES
src/capture/capture.c
src/capture/capture_pcap.c
src/capture/capture_txt.c
src/glib/gasyncqueuesource.c
src/glib/glib-extra.c
src/ncurses/manager.c
src/ncurses/windows/call_flow_win.c
src/ncurses/windows/call_list_win.c
@ -56,19 +58,17 @@ set(SOURCES
src/ncurses/dialog.c
src/ncurses/keybinding.c
src/ncurses/scrollbar.c
src/glib/gasyncqueuesource.c
src/filter.c
src/group.c
src/main.c
src/stream.c
src/storage/filter.c
src/storage/group.c
src/storage/stream.c
src/storage/attribute.c
src/storage/storage.c
src/storage/call.c
src/storage/message.c
src/storage/timeval.c
src/setting.c
src/attribute.c
src/storage.c
src/call.c
src/message.c
src/timeval.c
src/glib/glib-extra.c
)
src/main.c
)
######################################################################
# HEP Support

View File

@ -31,7 +31,7 @@
#include <glib.h>
#include "glib/gasyncqueuesource.h"
#include "setting.h"
#include "storage.h"
#include "storage/storage.h"
#include "capture.h"
static CaptureManager *manager = NULL;

View File

@ -48,7 +48,7 @@
#include <unistd.h>
#include <string.h>
#include <glib-unix.h>
#include "timeval.h"
#include "storage/timeval.h"
#include "setting.h"
#include "glib/glib-extra.h"
#include "capture/dissectors/packet_hep.h"

View File

@ -41,10 +41,10 @@
#include "capture_hep.h"
#include "capture_pcap.h"
#include "capture/dissectors/packet_link.h"
#include "storage.h"
#include "stream.h"
#include "storage/storage.h"
#include "storage/stream.h"
#include "setting.h"
#include "timeval.h"
#include "storage/timeval.h"
GQuark
capture_pcap_error_quark()

View File

@ -32,7 +32,7 @@
#include <glib.h>
#include <errno.h>
#include <stdio.h>
#include "timeval.h"
#include "storage/timeval.h"
#include "packet.h"
#include "capture/dissectors/packet_sip.h"
#include "capture/capture_txt.h"

View File

@ -29,7 +29,7 @@
#include "config.h"
#include <glib.h>
#include "glib/glib-extra.h"
#include "storage.h"
#include "storage/storage.h"
#include "capture/parser.h"
#include "capture/packet.h"
#include "packet_ip.h"

View File

@ -32,7 +32,7 @@
#include "config.h"
#include <glib.h>
#include "glib/glib-extra.h"
#include "storage.h"
#include "storage/storage.h"
#include "capture/parser.h"
#include "capture/packet.h"
#include "packet_ip.h"

View File

@ -29,7 +29,7 @@
#include "config.h"
#include <stdlib.h>
#include "glib/glib-extra.h"
#include "storage.h"
#include "storage/storage.h"
#include "capture/packet.h"
#include "packet_tcp.h"
#include "packet_sdp.h"

View File

@ -40,8 +40,8 @@
#include "ncurses/window.h"
#include "ncurses/theme.h"
#include "ncurses/keybinding.h"
#include "storage.h"
#include "group.h"
#include "storage/storage.h"
#include "storage/group.h"
#include "setting.h"
//! Refresh UI every 200 ms

View File

@ -35,7 +35,7 @@
#include "config.h"
#include <form.h>
#include "group.h"
#include "storage/group.h"
#include "ncurses/manager.h"
/**

View File

@ -58,7 +58,7 @@
#include <glib.h>
#include "ncurses/manager.h"
#include "ncurses/scrollbar.h"
#include "group.h"
#include "storage/group.h"
//! Configurable some day
#define CF_COLUMN_WIDTH 30

View File

@ -31,7 +31,7 @@
#include <stdio.h>
#include "glib/glib-extra.h"
#include "setting.h"
#include "filter.h"
#include "storage/filter.h"
#ifdef USE_HEP
#include "capture/capture_hep.h"
#endif

View File

@ -33,8 +33,8 @@
#define __SNGREP_CALL_RAW_WIN_H
#include "config.h"
#include "group.h"
#include "message.h"
#include "storage/group.h"
#include "storage/message.h"
#include "ncurses/manager.h"
//! Sorter declaration of struct call_raw_info

View File

@ -34,7 +34,7 @@
#include <form.h>
#include "ncurses/manager.h"
#include "ncurses/scrollbar.h"
#include "attribute.h"
#include "storage/attribute.h"
/**
* @brief Enum of available fields

View File

@ -34,8 +34,8 @@
#include "ncurses/manager.h"
#include "filter_win.h"
#include "call_list_win.h"
#include "storage.h"
#include "filter.h"
#include "storage/storage.h"
#include "storage/filter.h"
#include "setting.h"
/**

View File

@ -25,7 +25,7 @@
#include <glib.h>
#include <pulse/pulseaudio.h>
#include "ncurses/manager.h"
#include "stream.h"
#include "storage/stream.h"
typedef struct _RtpPlayerInfo RtpPlayerInfo;

View File

@ -41,7 +41,7 @@
#include "capture/codecs/codec_g711a.h"
#include "glib/glib-extra.h"
#include "setting.h"
#include "filter.h"
#include "storage/filter.h"
#include "capture/capture_txt.h"
#include "ncurses/dialog.h"
#include "ncurses/windows/save_win.h"

View File

@ -35,7 +35,7 @@
#include "config.h"
#include <form.h>
#include "group.h"
#include "storage/group.h"
#include "ncurses/manager.h"
/**

View File

@ -56,7 +56,7 @@
#include "config.h"
#include <glib.h>
#include "glib/glib-extra.h"
#include "storage.h"
#include "storage/storage.h"
#include "capture/dissectors/packet_sip.h"
#include "stats_win.h"

View File

@ -34,7 +34,7 @@
#include "ncurses/keybinding.h"
#include "glib/glib-extra.h"
#include "setting.h"
#include "timeval.h"
#include "storage/timeval.h"
/**
* @brief Storage settings

View File

@ -43,7 +43,7 @@
#define __SNGREP_SETTING_H
#include <glib.h>
#include "attribute.h"
#include "storage/attribute.h"
//! Max setting value
#define SETTING_MAX_LEN 1024

View File

@ -33,7 +33,7 @@
#include "glib/glib-extra.h"
#include "call.h"
#include "capture/dissectors/packet_sip.h"
#include "storage.h"
#include "storage/storage.h"
#include "setting.h"
Call *

View File

@ -32,7 +32,7 @@
#include <glib.h>
#include "stream.h"
#include "message.h"
#include "attribute.h"
#include "storage/attribute.h"
//! Shorter declaration of sip_call structure
typedef struct _Call Call;

View File

@ -30,7 +30,7 @@
#include <glib.h>
#include <stdlib.h>
#include "glib/glib-extra.h"
#include "storage.h"
#include "storage/storage.h"
#include "ncurses/windows/call_list_win.h"
#include "filter.h"

View File

@ -41,7 +41,7 @@
#define __SNGREP_FILTER_H
#include <glib.h>
#include "storage.h"
#include "storage/storage.h"
//! Shorter declaration of sip_call_group structure
typedef struct _Filter Filter;

View File

@ -34,7 +34,7 @@
#define __SNGREP_GROUP_H_
#include <glib.h>
#include "storage.h"
#include "storage/storage.h"
//! Shorter declaration of sip_call_group structure
typedef struct _SipCallGroup CallGroup;

View File

@ -34,7 +34,7 @@
#include "message.h"
#include "capture/dissectors/packet_sip.h"
#include "capture/dissectors/packet_sdp.h"
#include "storage.h"
#include "storage/storage.h"
Message *
msg_new(Packet *packet)

View File

@ -32,7 +32,7 @@
#include <glib.h>
#include "capture/dissectors/packet_sdp.h"
#include "capture/packet.h"
#include "attribute.h"
#include "storage/attribute.h"
#include "timeval.h"
//! Get IP Address info from message's packet

View File

@ -33,7 +33,7 @@
#include <glib/gprintf.h>
#include "glib/glib-extra.h"
#include "stream.h"
#include "storage.h"
#include "storage/storage.h"
Stream *
stream_new(enum StreamType type, Message *msg, PacketSdpMedia *media)

View File

@ -30,7 +30,7 @@
#define __SNGREP_STREAM_H
#include "config.h"
#include "message.h"
#include "storage/message.h"
#include "capture/capture_pcap.h"
#include "capture/dissectors/packet_sdp.h"
#include "capture/dissectors/packet_rtp.h"