security/nss/cmd/modutil/modutil.h

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 #ifndef MODUTIL_H
michael@0 6 #define MODUTIL_H
michael@0 7
michael@0 8 #include <stdio.h>
michael@0 9 #include <string.h>
michael@0 10
michael@0 11 #include <prio.h>
michael@0 12 #include <prprf.h>
michael@0 13 #include <prinit.h>
michael@0 14 #include <prlock.h>
michael@0 15 #include <prmem.h>
michael@0 16 #include <plarena.h>
michael@0 17
michael@0 18 #include "seccomon.h"
michael@0 19 #include "secmod.h"
michael@0 20 #include "secutil.h"
michael@0 21
michael@0 22 #include "error.h"
michael@0 23
michael@0 24 Error LoadMechanismList(void);
michael@0 25 Error FipsMode(char *arg);
michael@0 26 Error ChkFipsMode(char *arg);
michael@0 27 Error AddModule(char *moduleName, char *libFile, char *ciphers,
michael@0 28 char *mechanisms, char* modparms);
michael@0 29 Error DeleteModule(char *moduleName);
michael@0 30 Error ListModule(char *moduleName);
michael@0 31 Error ListModules();
michael@0 32 Error ChangePW(char *tokenName, char *pwFile, char *newpwFile);
michael@0 33 Error EnableModule(char *moduleName, char *slotName, PRBool enable);
michael@0 34 Error RawAddModule(char *dbmodulespec, char *modulespec);
michael@0 35 Error RawListModule(char *modulespec);
michael@0 36 Error SetDefaultModule(char *moduleName, char *slotName, char *mechanisms);
michael@0 37 Error UnsetDefaultModule(char *moduleName, char *slotName, char *mechanisms);
michael@0 38 void out_of_memory(void);
michael@0 39
michael@0 40 #endif /*MODUTIL_H*/

mercurial