Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
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
cpp-libs
libnice
Commits
00f0b1e2
Commit
00f0b1e2
authored
Feb 05, 2007
by
Dafydd Harries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nice_rng_glib_new_predictable
darcs-hash:20070205171124-c9803-51fc2431b9eaf7f6b4b61223da4d481f168c9567.gz
parent
91b7d85f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
nice/libnice.symbols
nice/libnice.symbols
+1
-0
random/random-glib.c
random/random-glib.c
+10
-0
random/random-glib.h
random/random-glib.h
+3
-0
No files found.
nice/libnice.symbols
View file @
00f0b1e2
...
@@ -29,6 +29,7 @@ T nice_rng_generate_bytes
...
@@ -29,6 +29,7 @@ T nice_rng_generate_bytes
T nice_rng_generate_bytes_print
T nice_rng_generate_bytes_print
T nice_rng_generate_int
T nice_rng_generate_int
T nice_rng_glib_new
T nice_rng_glib_new
T nice_rng_glib_new_predictable
T nice_rng_new
T nice_rng_new
T nice_udp_bsd_socket_factory_init
T nice_udp_bsd_socket_factory_init
T nice_udp_fake_socket_factory_init
T nice_udp_fake_socket_factory_init
...
...
random/random-glib.c
View file @
00f0b1e2
...
@@ -41,3 +41,13 @@ nice_rng_glib_new (void)
...
@@ -41,3 +41,13 @@ nice_rng_glib_new (void)
return
ret
;
return
ret
;
}
}
NiceRNG
*
nice_rng_glib_new_predictable
(
void
)
{
NiceRNG
*
rng
;
rng
=
nice_rng_glib_new
();
rng
->
seed
(
rng
,
0
);
return
rng
;
}
random/random-glib.h
View file @
00f0b1e2
...
@@ -11,6 +11,9 @@ G_BEGIN_DECLS
...
@@ -11,6 +11,9 @@ G_BEGIN_DECLS
NiceRNG
*
NiceRNG
*
nice_rng_glib_new
(
void
);
nice_rng_glib_new
(
void
);
NiceRNG
*
nice_rng_glib_new_predictable
(
void
);
G_END_DECLS
G_END_DECLS
#endif
/* _RANDOM_GLIB_H */
#endif
/* _RANDOM_GLIB_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