summaryrefslogtreecommitdiff
path: root/security/nss/cmd/lib/pk11table.h
diff options
context:
space:
mode:
authorglen.beasley%sun.com <devnull@localhost>2009-03-30 23:40:54 +0000
committerglen.beasley%sun.com <devnull@localhost>2009-03-30 23:40:54 +0000
commit39ab235938c1c9db482f3d9862145fb6d92e335e (patch)
treef85aa023a3422cde893a47cf43d45f5e57549fd8 /security/nss/cmd/lib/pk11table.h
parent3c12591114234c69c6063268104c72e5329bedc3 (diff)
downloadnss-hg-39ab235938c1c9db482f3d9862145fb6d92e335e.tar.gz
Bug 473147 - fix for aix, pk11mode verbose output, and pk11util/pk11mode both using pk11table.c r=bob
Diffstat (limited to 'security/nss/cmd/lib/pk11table.h')
-rw-r--r--security/nss/cmd/lib/pk11table.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/security/nss/cmd/lib/pk11table.h b/security/nss/cmd/lib/pk11table.h
index 8a2f4d592..4c2e3f038 100644
--- a/security/nss/cmd/lib/pk11table.h
+++ b/security/nss/cmd/lib/pk11table.h
@@ -1,3 +1,40 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is the Netscape security libraries.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Communications Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 1994-2000
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
+#ifndef _PK11_TABLE_H_
+#define _PK11_TABLE_H_
/*
* Supported functions..
@@ -163,3 +200,13 @@ extern const int commandCount;
extern const Topics *topics;
extern const int topicCount;
+extern const char *
+getName(CK_ULONG value, ConstType type);
+
+extern const char *
+getNameFromAttribute(CK_ATTRIBUTE_TYPE type);
+
+extern int totalKnownType(ConstType type);
+
+#endif /* _PK11_TABLE_H_ */
+