+libcrypt
[meinos.git] / apps / lib / libcrypt / libcrypt.h
blob4932ef955668b9de1fab9c7135521454c5c2af5a
1 /* prototypes for internal crypt functions
3 * Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
5 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
6 */
8 #ifndef __LIBCRYPT_H__
9 #define __LIBCRYPT_H__
11 extern char *__md5_crypt(const unsigned char *pw, const unsigned char *salt);
12 extern char *__des_crypt(const unsigned char *pw, const unsigned char *salt);
14 /* shut up gcc-4.x signed warnings */
15 #define strcpy(dst,src) strcpy((char*)dst,(char*)src)
16 #define strlen(s) strlen((char*)s)
17 #define strncat(dst,src,n) strncat((char*)dst,(char*)src,n)
18 #define strncmp(s1,s2,n) strncmp((char*)s1,(char*)s2,n)
20 #endif