git ssb

0+

dangerousbeans / %aPBe2k3ugtjBr4rrsU1…



Tree: ae87ba58f416c1874af79af3b07e26073441c010

Files: ae87ba58f416c1874af79af3b07e26073441c010 / ext / mri / ow-crypt.h

964 bytesRaw
1/*
2 * Written by Solar Designer and placed in the public domain.
3 * See crypt_blowfish.c for more information.
4 */
5
6#ifndef _OW_CRYPT_H
7#define _OW_CRYPT_H
8
9#undef __CONST
10#ifdef __GNUC__
11#define __CONST __const
12#else
13#define __CONST
14#endif
15
16#ifndef __SKIP_GNU
17extern char *crypt(__CONST char *key, __CONST char *setting);
18extern char *crypt_r(__CONST char *key, __CONST char *setting, void *data);
19#endif
20
21#ifndef __SKIP_OW
22extern char *crypt_rn(__CONST char *key, __CONST char *setting,
23 void *data, int size);
24extern char *crypt_ra(__CONST char *key, __CONST char *setting,
25 void **data, int *size);
26extern char *crypt_gensalt(__CONST char *prefix, unsigned long count,
27 __CONST char *input, int size);
28extern char *crypt_gensalt_rn(__CONST char *prefix, unsigned long count,
29 __CONST char *input, int size, char *output, int output_size);
30extern char *crypt_gensalt_ra(__CONST char *prefix, unsigned long count,
31 __CONST char *input, int size);
32#endif
33
34#endif
35

Built with git-ssb-web