diff options
| author | Stefan Esser | 2010-02-21 11:44:54 +0100 |
|---|---|---|
| committer | Stefan Esser | 2010-02-21 11:44:54 +0100 |
| commit | 36dbfacbe64697d959f524e537b15b73c090d898 (patch) | |
| tree | f1c7ce1409b0e7765fc72d550546967fcf0f9717 /crypt_win32.h | |
Inital commit
Diffstat (limited to 'crypt_win32.h')
| -rw-r--r-- | crypt_win32.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/crypt_win32.h b/crypt_win32.h new file mode 100644 index 0000000..9dd5ffa --- /dev/null +++ b/crypt_win32.h | |||
| @@ -0,0 +1,60 @@ | |||
| 1 | /* | ||
| 2 | +----------------------------------------------------------------------+ | ||
| 3 | | PHP Version 5 | | ||
| 4 | +----------------------------------------------------------------------+ | ||
| 5 | | Copyright (c) 1997-2006 The PHP Group | | ||
| 6 | +----------------------------------------------------------------------+ | ||
| 7 | | This source file is subject to version 3.01 of the PHP license, | | ||
| 8 | | that is bundled with this package in the file LICENSE, and is | | ||
| 9 | | available through the world-wide-web at the following url: | | ||
| 10 | | http://www.php.net/license/3_01.txt | | ||
| 11 | | If you did not receive a copy of the PHP license and are unable to | | ||
| 12 | | obtain it through the world-wide-web, please send a note to | | ||
| 13 | | license@php.net so we can mail you a copy immediately. | | ||
| 14 | +----------------------------------------------------------------------+ | ||
| 15 | | Author: | | ||
| 16 | +----------------------------------------------------------------------+ | ||
| 17 | */ | ||
| 18 | |||
| 19 | /* $Id: crypt_win32.h,v 1.1.1.1 2007-11-28 01:15:35 sesser Exp $ */ | ||
| 20 | |||
| 21 | /* This code is distributed under the PHP license with permission from | ||
| 22 | the author Jochen Obalek <jochen.obalek@bigfoot.de> */ | ||
| 23 | |||
| 24 | /* encrypt.h - API to 56 bit DES encryption via calls | ||
| 25 | encrypt(3), setkey(3) and crypt(3) | ||
| 26 | Copyright (C) 1991 Jochen Obalek | ||
| 27 | |||
| 28 | This program is free software; you can redistribute it and/or modify | ||
| 29 | it under the terms of the GNU General Public License as published by | ||
| 30 | the Free Software Foundation; either version 2, or (at your option) | ||
| 31 | any later version. | ||
| 32 | |||
| 33 | This program is distributed in the hope that it will be useful, | ||
| 34 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 35 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 36 | GNU General Public License for more details. | ||
| 37 | |||
| 38 | You should have received a copy of the GNU General Public License | ||
| 39 | along with this program; if not, write to the Free Software | ||
| 40 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ | ||
| 41 | |||
| 42 | #ifndef _ENCRYPT_H_ | ||
| 43 | #define _ENCRYPT_H_ | ||
| 44 | |||
| 45 | #ifdef __cplusplus | ||
| 46 | extern "C" | ||
| 47 | { | ||
| 48 | #endif | ||
| 49 | |||
| 50 | #include <_ansi.h> | ||
| 51 | |||
| 52 | void _EXFUN(encrypt, (char *block, int edflag)); | ||
| 53 | void _EXFUN(setkey, (char *key)); | ||
| 54 | char * _EXFUN(crypt, (const char *key, const char *salt)); | ||
| 55 | |||
| 56 | #ifdef __cplusplus | ||
| 57 | } | ||
| 58 | #endif | ||
| 59 | |||
| 60 | #endif /* _ENCRYPT_H_ */ | ||
