security/nss/cmd/modutil/modutil.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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