diff options
author | nelsonb%netscape.com <devnull@localhost> | 2002-04-10 23:27:50 +0000 |
---|---|---|
committer | nelsonb%netscape.com <devnull@localhost> | 2002-04-10 23:27:50 +0000 |
commit | fee61979ec85982461590db3ee292b74dbaa3ae6 (patch) | |
tree | 95c571b9d42e0b3fe1f9361d8219e012aed02812 | |
parent | 585901022e43ce3c31e800b47e9cd1f9b7e56243 (diff) | |
download | nss-hg-fee61979ec85982461590db3ee292b74dbaa3ae6.tar.gz |
Add enum names for use in forward declarations.
-rw-r--r-- | security/nss/lib/certdb/certt.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/security/nss/lib/certdb/certt.h b/security/nss/lib/certdb/certt.h index 1c5298383..3f70dcc84 100644 --- a/security/nss/lib/certdb/certt.h +++ b/security/nss/lib/certdb/certt.h @@ -177,7 +177,7 @@ struct CERTCertTrustStr { /* * defined the types of trust that exist */ -typedef enum { +typedef enum SECTrustTypeEnum { trustSSL = 0, trustEmail = 1, trustObjectSigning = 2, @@ -458,7 +458,7 @@ struct CERTDistNamesStr { NS_CERT_TYPE_EMAIL_CA | \ NS_CERT_TYPE_OBJECT_SIGNING_CA | \ EXT_KEY_USAGE_STATUS_RESPONDER ) -typedef enum { +typedef enum SECCertUsageEnum { certUsageSSLClient = 0, certUsageSSLServer = 1, certUsageSSLServerWithStepUp = 2, @@ -476,7 +476,7 @@ typedef enum { /* * Does the cert belong to the user, a peer, or a CA. */ -typedef enum { +typedef enum CERTCertOwnerEnum { certOwnerUser = 0, certOwnerPeer = 1, certOwnerCA = 2 @@ -485,7 +485,7 @@ typedef enum { /* * This enum represents the state of validity times of a certificate */ -typedef enum { +typedef enum SECCertTimeValidityEnum { secCertTimeValid = 0, secCertTimeExpired = 1, secCertTimeNotValidYet = 2 @@ -576,7 +576,7 @@ struct CERTBasicConstraintsStr { /* If we needed to extract the general name field, use this */ /* General Name types */ -typedef enum { +typedef enum CERTGeneralNameTypeEnum { certOtherName = 1, certRFC822Name = 2, certDNSName = 3, @@ -652,7 +652,7 @@ struct CERTAuthKeyIDStr { /* * defined the types of CRL Distribution points */ -typedef enum { +typedef enum DistributionPointTypesEnum { generalName = 1, /* only support this for now */ relativeDistinguishedName = 2 } DistributionPointTypes; @@ -734,7 +734,7 @@ typedef char * (*CERTDBNameFunc)(void *arg, int dbVersion); /* * types of cert packages that we can decode */ -typedef enum { +typedef enum CERTPackageTypeEnum { certPackageNone = 0, certPackageCert = 1, certPackagePKCS7 = 2, |