| RSA BSAFE Crypto-C |
Cryptographic Components for C |
| Search |
00001 /* $Id: stdlibrf.h,v 1.6 2004/12/01 07:06:56 sparki Exp $ */ 00002 /* 00003 * Copyright (C) 1998-2004 RSA Security Inc. All rights reserved. 00004 * 00005 * This work contains proprietary information of RSA Security. 00006 * Distribution is limited to authorized licensees of RSA 00007 * Security. Any unauthorized reproduction, distribution or 00008 * modification of this work is strictly prohibited. 00009 */ 00010 00016 #ifndef _STDLIBRF_H_ 00017 #define _STDLIBRF_H_ 1 00018 00019 #include "bsfmacro.h" 00020 #include "bsfplatf.h" 00021 #include "aglobal.h" 00022 00023 #ifdef __cplusplus 00024 extern "C" { 00025 #endif 00026 00027 /* Routines supplied by the implementor. 00028 */ 00029 00030 /* Memory manipulation 00031 */ 00032 #if RSA_STD_MEM_FUNCS == RSA_ENABLED 00033 void RSA_CALLING_CONV T_memset PROTO_LIST ((POINTER, int, unsigned int)); 00034 void RSA_CALLING_CONV T_memcpy PROTO_LIST ((POINTER, POINTER, unsigned int)); 00035 void RSA_CALLING_CONV T_memmove PROTO_LIST ((POINTER, POINTER, unsigned int)); 00036 int RSA_CALLING_CONV T_memcmp PROTO_LIST ((POINTER, POINTER, unsigned int)); 00037 #endif 00038 00039 /* Memory allocation 00040 */ 00041 #if RSA_STD_ALLOC_FUNCS == RSA_ENABLED 00042 POINTER RSA_CALLING_CONV T_malloc PROTO_LIST ((unsigned int)); 00043 POINTER RSA_CALLING_CONV T_realloc PROTO_LIST ((POINTER, unsigned int)); 00044 void RSA_CALLING_CONV T_free PROTO_LIST ((POINTER)); 00045 #endif 00046 00047 /* String manipulation functions 00048 */ 00049 #if RSA_STD_STRING_FUNCS == RSA_ENABLED 00050 void RSA_CALLING_CONV T_strcpy PROTO_LIST ((char *, char *)); 00051 int RSA_CALLING_CONV T_strcmp PROTO_LIST ((char *, char *)); 00052 unsigned int RSA_CALLING_CONV T_strlen PROTO_LIST ((char *)); 00053 #endif 00054 00055 /* Standard time functions 00056 */ 00057 #if RSA_STD_TIME_FUNCS == RSA_ENABLED 00058 void RSA_CALLING_CONV T_time PROTO_LIST ((UINT4 *)); 00059 #endif 00060 00061 #ifdef __cplusplus 00062 } 00063 #endif 00064 00065 #endif /* _STDLIBRF_H_ */