OLD | NEW |
1 /* | 1 /* |
2 * blapit.h - public data structures for the crypto library | 2 * blapit.h - public data structures for the crypto library |
3 * | 3 * |
4 * ***** BEGIN LICENSE BLOCK ***** | 4 * ***** BEGIN LICENSE BLOCK ***** |
5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
6 * | 6 * |
7 * The contents of this file are subject to the Mozilla Public License Version | 7 * The contents of this file are subject to the Mozilla Public License Version |
8 * 1.1 (the "License"); you may not use this file except in compliance with | 8 * 1.1 (the "License"); you may not use this file except in compliance with |
9 * the License. You may obtain a copy of the License at | 9 * the License. You may obtain a copy of the License at |
10 * http://www.mozilla.org/MPL/ | 10 * http://www.mozilla.org/MPL/ |
(...skipping 25 matching lines...) Expand all Loading... |
36 * and other provisions required by the GPL or the LGPL. If you do not delete | 36 * and other provisions required by the GPL or the LGPL. If you do not delete |
37 * the provisions above, a recipient may use your version of this file under | 37 * the provisions above, a recipient may use your version of this file under |
38 * the terms of any one of the MPL, the GPL or the LGPL. | 38 * the terms of any one of the MPL, the GPL or the LGPL. |
39 * | 39 * |
40 * ***** END LICENSE BLOCK ***** */ | 40 * ***** END LICENSE BLOCK ***** */ |
41 /* $Id: blapit.h,v 1.20 2007/02/28 19:47:37 rrelyea%redhat.com Exp $ */ | 41 /* $Id: blapit.h,v 1.20 2007/02/28 19:47:37 rrelyea%redhat.com Exp $ */ |
42 | 42 |
43 #ifndef CRYPTO_THIRD_PARTY_NSS_CHROMIUM_BLAPIT_H_ | 43 #ifndef CRYPTO_THIRD_PARTY_NSS_CHROMIUM_BLAPIT_H_ |
44 #define CRYPTO_THIRD_PARTY_NSS_CHROMIUM_BLAPIT_H_ | 44 #define CRYPTO_THIRD_PARTY_NSS_CHROMIUM_BLAPIT_H_ |
45 | 45 |
46 #include "base/third_party/nspr/prtypes.h" | 46 #include "crypto/third_party/nss/chromium-prtypes.h" |
47 | 47 |
48 /* | 48 /* |
49 ** A status code. Status's are used by procedures that return status | 49 ** A status code. Status's are used by procedures that return status |
50 ** values. Again the motivation is so that a compiler can generate | 50 ** values. Again the motivation is so that a compiler can generate |
51 ** warnings when return values are wrong. Correct testing of status codes: | 51 ** warnings when return values are wrong. Correct testing of status codes: |
52 ** | 52 ** |
53 ** SECStatus rv; | 53 ** SECStatus rv; |
54 ** rv = some_function (some_argument); | 54 ** rv = some_function (some_argument); |
55 ** if (rv != SECSuccess) | 55 ** if (rv != SECSuccess) |
56 ** do_an_error_thing(); | 56 ** do_an_error_thing(); |
(...skipping 25 matching lines...) Expand all Loading... |
82 | 82 |
83 struct SHA256ContextStr ; | 83 struct SHA256ContextStr ; |
84 struct SHA512ContextStr ; | 84 struct SHA512ContextStr ; |
85 | 85 |
86 typedef struct SHA256ContextStr SHA256Context; | 86 typedef struct SHA256ContextStr SHA256Context; |
87 typedef struct SHA512ContextStr SHA512Context; | 87 typedef struct SHA512ContextStr SHA512Context; |
88 /* SHA384Context is really a SHA512ContextStr. This is not a mistake. */ | 88 /* SHA384Context is really a SHA512ContextStr. This is not a mistake. */ |
89 typedef struct SHA512ContextStr SHA384Context; | 89 typedef struct SHA512ContextStr SHA384Context; |
90 | 90 |
91 #endif /* CRYPTO_THIRD_PARTY_NSS_CHROMIUM_BLAPIT_H_ */ | 91 #endif /* CRYPTO_THIRD_PARTY_NSS_CHROMIUM_BLAPIT_H_ */ |
OLD | NEW |