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
e439a24f
Commit
e439a24f
authored
Aug 26, 2016
by
FredericLeroy
Browse files
feat(conf2uedata): print USIM filename on display
parent
d8aa8d4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair3/NAS/TOOLS/display.c
View file @
e439a24f
...
...
@@ -42,7 +42,7 @@ int display_data_from_directory(const char *directory, int flags) {
filename
=
get_ue_filename
(
directory
,
user_id
);
if
(
file_exist_and_is_readable
(
filename
)
)
{
display_ue_data
(
filename
);
displayed_count
+=
1
;
displayed_count
+=
1
;
found
=
true
;
}
free
(
filename
);
...
...
@@ -52,7 +52,7 @@ int display_data_from_directory(const char *directory, int flags) {
filename
=
get_emm_filename
(
directory
,
user_id
);
if
(
file_exist_and_is_readable
(
filename
)
)
{
display_emm_data
(
filename
);
displayed_count
+=
1
;
displayed_count
+=
1
;
found
=
true
;
}
free
(
filename
);
...
...
@@ -62,15 +62,16 @@ int display_data_from_directory(const char *directory, int flags) {
filename
=
get_usim_filename
(
directory
,
user_id
);
if
(
file_exist_and_is_readable
(
filename
)
)
{
display_usim_data
(
filename
);
displayed_count
+=
1
;
displayed_count
+=
1
;
found
=
true
;
printf
(
"USIM data file: %s
\n
"
,
filename
);
}
free
(
filename
);
}
user_id
+=
1
;
}
return
displayed_count
;
return
displayed_count
;
}
void
display_ue_data
(
const
char
*
filename
)
{
...
...
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