Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: crypto/include/stat.h

Issue 2344973002: Update libsrtp to version 2.0 (Closed)
Patch Set: Add '.' back to include_dirs Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « crypto/include/rdbx.h ('k') | crypto/kernel/alloc.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/include/stat.h
diff --git a/srtp/crypto/include/stat.h b/crypto/include/stat.h
similarity index 81%
rename from srtp/crypto/include/stat.h
rename to crypto/include/stat.h
index e28b1314a8f6f44bbc5ddbdddf6e38b0f36f93ff..579301b78c1a0096bfd18fc7a307e695c8459ae5 100644
--- a/srtp/crypto/include/stat.h
+++ b/crypto/include/stat.h
@@ -48,22 +48,20 @@
#define STAT_H
#include "datatypes.h" /* for uint8_t */
-#include "err.h" /* for err_status_t */
-#include "rand_source.h" /* for rand_source_func_t definition */
+#include "err.h" /* for srtp_err_status_t */
-err_status_t
-stat_test_monobit(uint8_t *data);
+#ifdef __cplusplus
+extern "C" {
+#endif
-err_status_t
-stat_test_poker(uint8_t *data);
+srtp_err_status_t stat_test_monobit(uint8_t *data);
-err_status_t
-stat_test_runs(uint8_t *data);
+srtp_err_status_t stat_test_poker(uint8_t *data);
-err_status_t
-stat_test_rand_source(rand_source_func_t rs);
+srtp_err_status_t stat_test_runs(uint8_t *data);
-err_status_t
-stat_test_rand_source_with_repetition(rand_source_func_t source, unsigned num_trials);
+#ifdef __cplusplus
+}
+#endif
#endif /* STAT_H */
« no previous file with comments | « crypto/include/rdbx.h ('k') | crypto/kernel/alloc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698