CryptoPkg/Include/OpenSslSupport.h File Reference


Data Structures

struct  tm
struct  timeval
struct  dirent
struct  stat

Defines

#define va_list   VA_LIST
#define va_arg   VA_ARG
#define va_start   VA_START
#define va_end   VA_END
#define ENOMEM   12
#define EINVAL   22
#define BUFSIZ   1024
#define INT_MAX   2147483647
#define INT_MIN   (-2147483647-1)
#define LONG_MAX   2147483647L
#define LONG_MIN   (-2147483647-1)
#define ULONG_MAX   0xffffffff
#define LOG_DAEMON   (3<<3)
#define LOG_EMERG   0
#define LOG_ALERT   1
#define LOG_CRIT   2
#define LOG_ERR   3
#define LOG_WARNING   4
#define LOG_NOTICE   5
#define LOG_INFO   6
#define LOG_DEBUG   7
#define LOG_PID   0x01
#define LOG_CONS   0x02
#define offsetof(type, member)   OFFSET_OF (type, member)
#define memcpy(dest, source, count)   CopyMem(dest,source,(UINTN)(count))
#define memset(dest, ch, count)   SetMem(dest,(UINTN)(count),(UINT8)(ch))
#define memchr(buf, ch, count)   ScanMem8(buf,(UINTN)(count),(UINT8)ch)
#define memcmp(buf1, buf2, count)   (int)(CompareMem(buf1,buf2,(UINTN)(count)))
#define memmove(dest, source, count)   CopyMem(dest,source,(UINTN)(count))
#define strcmp   AsciiStrCmp
#define strncmp(string1, string2, count)   (int)(AsciiStrnCmp(string1,string2,(UINTN)(count)))
#define strcpy(strDest, strSource)   AsciiStrCpy(strDest,strSource)
#define strncpy(strDest, strSource, count)   AsciiStrnCpy(strDest,strSource,(UINTN)count)
#define strlen(str)   (size_t)(AsciiStrLen(str))
#define strcat(strDest, strSource)   AsciiStrCat(strDest,strSource)
#define strchr(str, ch)   ScanMem8((VOID *)(str),AsciiStrSize(str),(UINT8)ch)
#define abort()   ASSERT (FALSE)
#define assert(expression)
#define localtime(timer)   NULL
#define gmtime_r(timer, result)   (result = NULL)
#define atoi(nptr)   AsciiStrDecimalToUintn(nptr)

Typedefs

typedef VOID * FILE
typedef UINTN size_t
typedef INTN ssize_t
typedef INT64 off_t
typedef UINT16 mode_t
typedef long time_t
typedef unsigned long clock_t
typedef UINT32 uid_t
typedef UINT32 gid_t
typedef UINT32 ino_t
typedef UINT32 dev_t
typedef UINT16 nlink_t
typedef int pid_t
typedef void * DIR
typedef void __sighandler_t (int)

Functions

void * malloc (size_t)
void * realloc (void *, size_t)
void free (void *)
int isdigit (int)
int isspace (int)
int tolower (int)
int isupper (int)
int isxdigit (int)
int isalnum (int)
void * memcpy (void *, const void *, size_t)
void * memset (void *, int, size_t)
void * memchr (const void *, int, size_t)
int memcmp (const void *, const void *, size_t)
void * memmove (void *, const void *, size_t)
int strcmp (const char *, const char *)
int strncmp (const char *, const char *, size_t)
char * strcpy (char *, const char *)
char * strncpy (char *, const char *, size_t)
size_t strlen (const char *)
char * strcat (char *, const char *)
char * strchr (const char *, int)
int strcasecmp (const char *, const char *)
int strncasecmp (const char *, const char *, size_t)
char * strrchr (const char *, int)
unsigned long strtoul (const char *, char **, int)
long strtol (const char *, char **, int)
int printf (const char *,...)
int sscanf (const char *, const char *,...)
int open (const char *, int,...)
int chmod (const char *, mode_t)
int stat (const char *, struct stat *)
off_t lseek (int, off_t, int)
ssize_t read (int, void *, size_t)
ssize_t write (int, const void *, size_t)
int close (int)
FILEfopen (const char *, const char *)
size_t fread (void *, size_t, size_t, FILE *)
size_t fwrite (const void *, size_t, size_t, FILE *)
char * fgets (char *, int, FILE *)
int fputs (const char *, FILE *)
int fprintf (FILE *, const char *,...)
int vfprintf (FILE *, const char *, VA_LIST)
int fflush (FILE *)
int fclose (FILE *)
DIRopendir (const char *)
struct direntreaddir (DIR *)
int closedir (DIR *)
void openlog (const char *, int, int)
void closelog (void)
void syslog (int, const char *,...)
time_t time (time_t *)
struct tmlocaltime (const time_t *)
struct tmgmtime (const time_t *)
struct tmgmtime_r (const time_t *, struct tm *)
uid_t getuid (void)
uid_t geteuid (void)
gid_t getgid (void)
gid_t getegid (void)
void qsort (void *, size_t, size_t, int(*)(const void *, const void *))
char * getenv (const char *)
void exit (int)
__sighandler_tsignal (int, __sighandler_t *)

Variables

int errno
FILEstderr
FILEstdin
FILEstdout

Detailed Description

Root include file to support building OpenSSL Crypto Library.

Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.


Define Documentation

 
void abort (  )     ASSERT (FALSE)

#define assert ( expression   ) 

#define atoi ( nptr   )     AsciiStrDecimalToUintn(nptr)

#define BUFSIZ   1024

#define EINVAL   22

#define ENOMEM   12

#define gmtime_r ( timer,
result   )     (result = NULL)

#define INT_MAX   2147483647

#define INT_MIN   (-2147483647-1)

#define localtime ( timer   )     NULL

#define LOG_ALERT   1

#define LOG_CONS   0x02

#define LOG_CRIT   2

#define LOG_DAEMON   (3<<3)

#define LOG_DEBUG   7

#define LOG_EMERG   0

#define LOG_ERR   3

#define LOG_INFO   6

#define LOG_NOTICE   5

#define LOG_PID   0x01

#define LOG_WARNING   4

#define LONG_MAX   2147483647L

#define LONG_MIN   (-2147483647-1)

#define memchr ( buf,
ch,
count   )     ScanMem8(buf,(UINTN)(count),(UINT8)ch)

#define memcmp ( buf1,
buf2,
count   )     (int)(CompareMem(buf1,buf2,(UINTN)(count)))

#define memcpy ( dest,
source,
count   )     CopyMem(dest,source,(UINTN)(count))

#define memmove ( dest,
source,
count   )     CopyMem(dest,source,(UINTN)(count))

#define memset ( dest,
ch,
count   )     SetMem(dest,(UINTN)(count),(UINT8)(ch))

#define offsetof ( type,
member   )     OFFSET_OF (type, member)

#define strcat ( strDest,
strSource   )     AsciiStrCat(strDest,strSource)

#define strchr ( str,
ch   )     ScanMem8((VOID *)(str),AsciiStrSize(str),(UINT8)ch)

#define strcmp   AsciiStrCmp

#define strcpy ( strDest,
strSource   )     AsciiStrCpy(strDest,strSource)

#define strlen ( str   )     (size_t)(AsciiStrLen(str))

#define strncmp ( string1,
string2,
count   )     (int)(AsciiStrnCmp(string1,string2,(UINTN)(count)))

#define strncpy ( strDest,
strSource,
count   )     AsciiStrnCpy(strDest,strSource,(UINTN)count)

#define ULONG_MAX   0xffffffff

#define va_arg   VA_ARG

#define va_end   VA_END

#define va_list   VA_LIST

#define va_start   VA_START


Typedef Documentation

typedef void __sighandler_t(int)

typedef unsigned long clock_t

typedef UINT32 dev_t

typedef void* DIR

typedef VOID* FILE

typedef UINT32 gid_t

typedef UINT32 ino_t

typedef UINT16 mode_t

typedef UINT16 nlink_t

typedef INT64 off_t

typedef int pid_t

typedef UINTN size_t

typedef INTN ssize_t

typedef long time_t

typedef UINT32 uid_t


Function Documentation

int chmod ( const char *  ,
mode_t   
)

int close ( int   ) 

int closedir ( DIR  ) 

void closelog ( void   ) 

void exit ( int   ) 

int fclose ( FILE  ) 

int fflush ( FILE  ) 

char* fgets ( char *  ,
int  ,
FILE  
)

FILE* fopen ( const char *  ,
const char *   
)

int fprintf ( FILE ,
const char *  ,
  ... 
)

int fputs ( const char *  ,
FILE  
)

size_t fread ( void *  ,
size_t  ,
size_t  ,
FILE  
)

void free ( void *   ) 

Referenced by DECLARE_STACK_OF().

size_t fwrite ( const void *  ,
size_t  ,
size_t  ,
FILE  
)

gid_t getegid ( void   ) 

char* getenv ( const char *   ) 

uid_t geteuid ( void   ) 

gid_t getgid ( void   ) 

uid_t getuid ( void   ) 

struct tm* gmtime ( const time_t  )  [read]

struct tm* gmtime_r ( const time_t ,
struct tm  
) [read]

int isalnum ( int   ) 

int isdigit ( int   ) 

int isspace ( int   ) 

int isupper ( int   ) 

int isxdigit ( int   ) 

struct tm* localtime ( const time_t  )  [read]

off_t lseek ( int  ,
off_t  ,
int   
)

void* malloc ( size_t   ) 

void* memchr ( const void *  ,
int  ,
size_t   
)

int memcmp ( const void *  ,
const void *  ,
size_t   
)

void* memcpy ( void *  ,
const void *  ,
size_t   
)

void* memmove ( void *  ,
const void *  ,
size_t   
)

void* memset ( void *  ,
int  ,
size_t   
)

int open ( const char *  ,
int  ,
  ... 
)

DIR* opendir ( const char *   ) 

void openlog ( const char *  ,
int  ,
int   
)

int printf ( const char *  ,
  ... 
)

void qsort ( void *  ,
size_t  ,
size_t  ,
int(*)(const void *, const void *)   
)

ssize_t read ( int  ,
void *  ,
size_t   
)

struct dirent* readdir ( DIR  )  [read]

void* realloc ( void *  ,
size_t   
)

__sighandler_t* signal ( int  ,
__sighandler_t  
)

int sscanf ( const char *  ,
const char *  ,
  ... 
)

int stat ( const char *  ,
struct stat  
)

int strcasecmp ( const char *  ,
const char *   
)

char* strcat ( char *  ,
const char *   
)

char* strchr ( const char *  ,
int   
)

int strcmp ( const char *  ,
const char *   
)

char* strcpy ( char *  ,
const char *   
)

size_t strlen ( const char *   ) 

int strncasecmp ( const char *  ,
const char *  ,
size_t   
)

int strncmp ( const char *  ,
const char *  ,
size_t   
)

char * strncpy ( char *  ,
const char *  ,
size_t   
)

char* strrchr ( const char *  ,
int   
)

long strtol ( const char *  ,
char **  ,
int   
)

unsigned long strtoul ( const char *  ,
char **  ,
int   
)

void syslog ( int  ,
const char *  ,
  ... 
)

time_t time ( time_t  ) 

int tolower ( int   ) 

int vfprintf ( FILE ,
const char *  ,
VA_LIST   
)

ssize_t write ( int  ,
const void *  ,
size_t   
)


Variable Documentation

int errno


Generated on Wed Sep 2 14:03:42 2015 for CryptoPkg[ALL] by  doxygen 1.5.7.1