Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
3b226410
Commit
3b226410
authored
May 31, 2016
by
Cedric Roux
Browse files
cleanup
remove forward stuff from defs.h remove defs.h from local.c and forward.c
parent
b3889a44
Changes
4
Hide whitespace changes
Inline
Side-by-side
common/utils/T/tracer/defs.h
View file @
3b226410
...
...
@@ -16,10 +16,6 @@ void iq_plot_set_sized(void *_plot, short *data, int len, int pp);
void
iq_plot_add_iq_point_loop
(
void
*
_plot
,
short
i
,
short
q
,
int
pp
);
void
iq_plot_add_energy_point_loop
(
void
*
_plot
,
int
e
,
int
pp
);
void
*
forwarder
(
int
port
);
void
forward
(
void
*
forwarder
,
char
*
buf
,
int
size
);
void
forward_start_client
(
void
*
forwarder
,
int
socket
);
/* T gui functions */
void
t_gui_start
(
void
);
void
t_gui_set_input_signal
(
int
eNB
,
int
frame
,
int
subframe
,
int
antenna
,
...
...
common/utils/T/tracer/forward.c
View file @
3b226410
#include "
defs
.h"
#include "
forward
.h"
#include <stdlib.h>
#include <stdio.h>
#include <netinet/ip.h>
...
...
@@ -9,6 +9,10 @@
#include <stdint.h>
#include <inttypes.h>
/* from local.c */
int
get_connection
(
char
*
addr
,
int
port
);
void
new_thread
(
void
*
(
*
f
)(
void
*
),
void
*
data
);
typedef
struct
databuf
{
char
*
d
;
int
l
;
...
...
@@ -102,8 +106,6 @@ void forward_start_client(void *_f, int s)
new_thread
(
forward_s_to_sc
,
f
);
}
int
get_connection
(
char
*
addr
,
int
port
);
void
*
forwarder
(
int
port
)
{
forward_data
*
f
;
...
...
common/utils/T/tracer/forward.h
0 → 100644
View file @
3b226410
#ifndef _FORWARD_H_
#define _FORWARD_H_
void
*
forwarder
(
int
port
);
void
forward
(
void
*
forwarder
,
char
*
buf
,
int
size
);
void
forward_start_client
(
void
*
forwarder
,
int
socket
);
#endif
/* _FORWARD_H_ */
common/utils/T/tracer/local.c
View file @
3b226410
...
...
@@ -11,7 +11,7 @@
#define DEFAULT_PORT 2021
#include "
defs
.h"
#include "
forward
.h"
#include "../T_defs.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment