CVS update: php3/dl/crypt

From: Date: Tue, 05 Jan 1999 07:08:23 +0000
Subject: CVS update: php3/dl/crypt
Groups: php.dev 
Request: Send a blank email to php-dev+get-3267@lists.php.net to get a copy of this message
Date: Tuesday January 5, 1999 @ 2:08 Author: jah Update of /repository/php3/dl/crypt In directory asf:/u/temp/cvs-serv16260/dl/crypt Modified Files: crypt.c Log Message: Added prototypes. Index: php3/dl/crypt/crypt.c diff -c php3/dl/crypt/crypt.c:1.13 php3/dl/crypt/crypt.c:1.14 *** php3/dl/crypt/crypt.c:1.13 Mon Dec 28 04:34:49 1998 --- php3/dl/crypt/crypt.c Tue Jan 5 02:08:21 1999 *************** *** 1,4 **** ! /* $Id: crypt.c,v 1.13 1998/12/28 09:34:49 sas Exp $ */ #include "../phpdl.h" #include "prelude.h" --- 1,4 ---- ! /* $Id: crypt.c,v 1.14 1999/01/05 07:08:21 jah Exp $ */ #include "../phpdl.h" #include "prelude.h" *************** *** 57,62 **** --- 57,64 ---- */ + /* {{{ proto string encrypt(string data, int type, string key) + Encrypts string with key using algorithm type */ DLEXPORT void sflcrypt_encrypt(INTERNAL_FUNCTION_PARAMETERS) { pval *data, *type, *key; *************** *** 106,112 **** --- 108,117 ---- return_value->type = IS_STRING; return; } + /* }}} */ + /* {{{ proto string decrypt(string data, int type, string key) + Decrypts string with key using algorithm type */ DLEXPORT void sflcrypt_decrypt(INTERNAL_FUNCTION_PARAMETERS) { pval *data, *type, *key; *************** *** 147,158 **** --- 152,166 ---- return_value->type = IS_STRING; return; } + /* }}} */ #ifdef HAVE_CRYPT_H #if WIN32 extern int _getpid(void); #endif + /* {{{ proto string crypt(string data[, string salt]) + A one-way crypt that can't be decrypted anymore */ void php3_crypt(INTERNAL_FUNCTION_PARAMETERS) { char salt[4]; *************** *** 184,189 **** --- 192,198 ---- return_value->type = IS_STRING; pval_copy_constructor(return_value); } + /* }}} */ #endif -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3267) next »