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

Side by Side Diff: crypto/include/alloc.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 unified diff | Download patch
« no previous file with comments | « crypto/include/aes_icm_ossl.h ('k') | crypto/include/auth.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * alloc.h 2 * alloc.h
3 * 3 *
4 * interface to memory allocation and deallocation, with optional debugging 4 * interface to memory allocation and deallocation, with optional debugging
5 * 5 *
6 * David A. McGrew 6 * David A. McGrew
7 * Cisco Systems, Inc. 7 * Cisco Systems, Inc.
8 */ 8 */
9 /* 9 /*
10 * 10 *
(...skipping 30 matching lines...) Expand all
41 * OF THE POSSIBILITY OF SUCH DAMAGE. 41 * OF THE POSSIBILITY OF SUCH DAMAGE.
42 * 42 *
43 */ 43 */
44 44
45 45
46 #ifndef CRYPTO_ALLOC_H 46 #ifndef CRYPTO_ALLOC_H
47 #define CRYPTO_ALLOC_H 47 #define CRYPTO_ALLOC_H
48 48
49 #include "datatypes.h" 49 #include "datatypes.h"
50 50
51 void * 51 #ifdef __cplusplus
52 crypto_alloc(size_t size); 52 extern "C" {
53 #endif
53 54
54 void 55 void * srtp_crypto_alloc(size_t size);
55 crypto_free(void *ptr); 56
57 void srtp_crypto_free(void *ptr);
58
59 #ifdef __cplusplus
60 }
61 #endif
56 62
57 #endif /* CRYPTO_ALLOC_H */ 63 #endif /* CRYPTO_ALLOC_H */
OLDNEW
« no previous file with comments | « crypto/include/aes_icm_ossl.h ('k') | crypto/include/auth.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698