Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常顺宇
OpenXG-RAN
Commits
7ef7fdfa
Commit
7ef7fdfa
authored
8 years ago
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create database.h, all in defs.h is messy
parent
0a820ba1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
8 deletions
+13
-8
common/utils/T/tracer/database.c
common/utils/T/tracer/database.c
+1
-1
common/utils/T/tracer/database.h
common/utils/T/tracer/database.h
+11
-0
common/utils/T/tracer/defs.h
common/utils/T/tracer/defs.h
+0
-7
common/utils/T/tracer/remote.c
common/utils/T/tracer/remote.c
+1
-0
No files found.
common/utils/T/tracer/database.c
View file @
7ef7fdfa
#include "d
efs
.h"
#include "d
atabase
.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
...
...
This diff is collapsed.
Click to expand it.
common/utils/T/tracer/database.h
0 → 100644
View file @
7ef7fdfa
#ifndef _DATABASE_H_
#define _DATABASE_H_
/* returns an opaque pointer - truly a 'database *', see database.c */
void
*
parse_database
(
char
*
filename
);
void
dump_database
(
void
*
database
);
void
list_ids
(
void
*
database
);
void
list_groups
(
void
*
database
);
void
on_off
(
void
*
d
,
char
*
item
,
int
*
a
,
int
onoff
);
#endif
/* _DATABASE_H_ */
This diff is collapsed.
Click to expand it.
common/utils/T/tracer/defs.h
View file @
7ef7fdfa
...
...
@@ -16,13 +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
);
/* returns an opaque pointer - truly a 'database *', see t_data.c */
void
*
parse_database
(
char
*
filename
);
void
dump_database
(
void
*
database
);
void
list_ids
(
void
*
database
);
void
list_groups
(
void
*
database
);
void
on_off
(
void
*
d
,
char
*
item
,
int
*
a
,
int
onoff
);
void
*
forwarder
(
char
*
ip
,
int
port
);
void
forward
(
void
*
forwarder
,
char
*
buf
,
int
size
);
void
forward_start_client
(
void
*
forwarder
,
int
socket
);
...
...
This diff is collapsed.
Click to expand it.
common/utils/T/tracer/remote.c
View file @
7ef7fdfa
...
...
@@ -11,6 +11,7 @@
#include <pthread.h>
#include "defs.h"
#include "database.h"
#define DEFAULT_REMOTE_PORT 2020
...
...
This diff is collapsed.
Click to expand it.
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