LibreOffice Module onlineupdate (master) 1
nss_secutil.h
Go to the documentation of this file.
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/. */
4
5/* With the exception of GetPasswordString, this file was
6 copied from NSS's cmd/lib/secutil.h hg revision 8f011395145e */
7
8#pragma once
9
10#include "nss.h"
11#include "pk11pub.h"
12#include "cryptohi.h"
13#include "hasht.h"
14#include "cert.h"
15#include "key.h"
16#include <stdint.h>
17
18typedef struct
19{
20 enum
21 {
22 PW_NONE = 0,
23 PW_FROMFILE = 1,
24 PW_PLAINTEXT = 2,
25 PW_EXTERNAL = 3
26 } source;
27 char *data;
29
30#if( defined(_WINDOWS) && !defined(_WIN32_WCE))
31#include <conio.h>
32#include <io.h>
33#define QUIET_FGETS quiet_fgets
34static char * quiet_fgets (char *buf, int length, FILE *input);
35#else
36#define QUIET_FGETS fgets
37#endif
38
39char *
40SECU_GetModulePassword(PK11SlotInfo *slot, PRBool retry, void *arg);
char * SECU_GetModulePassword(PK11SlotInfo *slot, PRBool retry, void *arg)
Definition: nss_secutil.c:187
char * data
Definition: nss_secutil.h:27