calc: on editing invalidation of view with different zoom is wrong
[LibreOffice.git] / onlineupdate / source / libmar / sign / nss_secutil.h
blobf599fcce573dbe4d4abeb2b9657c3d6ab74ded5e
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 /* With the exception of GetPasswordString, this file was
6 copied from NSS's cmd/lib/secutil.h hg revision 8f011395145e */
8 #ifndef NSS_SECUTIL_H_
9 #define NSS_SECUTIL_H_
11 #include "nss.h"
12 #include "pk11pub.h"
13 #include "cryptohi.h"
14 #include "hasht.h"
15 #include "cert.h"
16 #include "key.h"
17 #include <stdint.h>
19 typedef struct
21 enum
23 PW_NONE = 0,
24 PW_FROMFILE = 1,
25 PW_PLAINTEXT = 2,
26 PW_EXTERNAL = 3
27 } source;
28 char *data;
29 } secuPWData;
31 #if( defined(_WINDOWS) && !defined(_WIN32_WCE))
32 #include <conio.h>
33 #include <io.h>
34 #define QUIET_FGETS quiet_fgets
35 static char * quiet_fgets (char *buf, int length, FILE *input);
36 #else
37 #define QUIET_FGETS fgets
38 #endif
40 char *
41 SECU_GetModulePassword(PK11SlotInfo *slot, PRBool retry, void *arg);
43 #endif