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

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

mercurial