/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* * seccomon.h - common data structures for security libraries * * This file should have lowest-common-denominator datastructures * for security libraries. It should not be dependent on any other * headers, and should not require linking with any libraries.
*/
/* ** A status code. Statuses are used by procedures that return status ** values. Again the motivation is so that a compiler can generate ** warnings when return values are wrong. Correct testing of status codes: ** ** SECStatus rv; ** rv = some_function (some_argument); ** if (rv != SECSuccess) ** do_an_error_thing(); **
*/ typedefenum _SECStatus {
SECWouldBlock = -2,
SECFailure = -1,
SECSuccess = 0
} SECStatus;
/* ** A comparison code. Used for procedures that return comparison ** values. Again the motivation is so that a compiler can generate ** warnings when return values are wrong.
*/ typedefenum _SECComparison {
SECLessThan = -1,
SECEqual = 0,
SECGreaterThan = 1
} SECComparison;
#endif/* _SECCOMMON_H_ */
Messung V0.5
¤ Dauer der Verarbeitung: 0.21 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.