FreeRDP
string.c File Reference
#include <errno.h>
#include <stdio.h>
#include <wctype.h>
#include <winpr/crt.h>
#include <winpr/endian.h>
#include "../log.h"
#include "casing.c"

Macros

#define TAG   WINPR_TAG("crt")
 

Functions

char * _strdup (const char *strSource)
 
WCHAR * _wcsdup (const WCHAR *strSource)
 
int _stricmp (const char *string1, const char *string2)
 
int _strnicmp (const char *string1, const char *string2, size_t count)
 
int _wcscmp (const WCHAR *string1, const WCHAR *string2)
 
size_t _wcslen (const WCHAR *str)
 
size_t _wcsnlen (const WCHAR *str, size_t max)
 
WCHAR * _wcschr (const WCHAR *str, WCHAR c)
 
WCHAR * _wcsrchr (const WCHAR *str, WCHAR c)
 
char * strtok_s (char *strToken, const char *strDelimit, char **context)
 
WCHAR * wcstok_s (WCHAR *strToken, const WCHAR *strDelimit, WCHAR **context)
 
LPSTR CharUpperA (LPSTR lpsz)
 
LPWSTR CharUpperW (LPWSTR lpsz)
 
DWORD CharUpperBuffA (LPSTR lpsz, DWORD cchLength)
 
DWORD CharUpperBuffW (LPWSTR lpsz, DWORD cchLength)
 
LPSTR CharLowerA (LPSTR lpsz)
 
LPWSTR CharLowerW (LPWSTR lpsz)
 
DWORD CharLowerBuffA (LPSTR lpsz, DWORD cchLength)
 
DWORD CharLowerBuffW (LPWSTR lpsz, DWORD cchLength)
 
BOOL IsCharAlphaA (CHAR ch)
 
BOOL IsCharAlphaW (WCHAR ch)
 
BOOL IsCharAlphaNumericA (CHAR ch)
 
BOOL IsCharAlphaNumericW (WCHAR ch)
 
BOOL IsCharUpperA (CHAR ch)
 
BOOL IsCharUpperW (WCHAR ch)
 
BOOL IsCharLowerA (CHAR ch)
 
BOOL IsCharLowerW (WCHAR ch)
 
int lstrlenA (LPCSTR lpString)
 
int lstrlenW (LPCWSTR lpString)
 
int lstrcmpA (LPCSTR lpString1, LPCSTR lpString2)
 
int lstrcmpW (LPCWSTR lpString1, LPCWSTR lpString2)
 
int ConvertLineEndingToLF (char *str, int size)
 
char * ConvertLineEndingToCRLF (const char *str, int *size)
 
char * StrSep (char **stringp, const char *delim)
 
INT64 GetLine (char **lineptr, size_t *size, FILE *stream)
 

Macro Definition Documentation

#define TAG   WINPR_TAG("crt")

WinPR: Windows Portable Runtime String Manipulation (CRT)

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

char* _strdup ( const char *  strSource)
int _stricmp ( const char *  string1,
const char *  string2 
)

Here is the caller graph for this function:

int _strnicmp ( const char *  string1,
const char *  string2,
size_t  count 
)

Here is the caller graph for this function:

WCHAR* _wcschr ( const WCHAR *  str,
WCHAR  c 
)

Here is the caller graph for this function:

int _wcscmp ( const WCHAR *  string1,
const WCHAR *  string2 
)

Here is the caller graph for this function:

WCHAR* _wcsdup ( const WCHAR *  strSource)

Here is the caller graph for this function:

size_t _wcslen ( const WCHAR *  str)

Here is the caller graph for this function:

size_t _wcsnlen ( const WCHAR *  str,
size_t  max 
)

Here is the caller graph for this function:

WCHAR* _wcsrchr ( const WCHAR *  str,
WCHAR  c 
)

Here is the caller graph for this function:

LPSTR CharLowerA ( LPSTR  lpsz)
DWORD CharLowerBuffA ( LPSTR  lpsz,
DWORD  cchLength 
)
DWORD CharLowerBuffW ( LPWSTR  lpsz,
DWORD  cchLength 
)
LPWSTR CharLowerW ( LPWSTR  lpsz)
LPSTR CharUpperA ( LPSTR  lpsz)

Here is the caller graph for this function:

DWORD CharUpperBuffA ( LPSTR  lpsz,
DWORD  cchLength 
)

Here is the caller graph for this function:

DWORD CharUpperBuffW ( LPWSTR  lpsz,
DWORD  cchLength 
)

Here is the caller graph for this function:

LPWSTR CharUpperW ( LPWSTR  lpsz)
char* ConvertLineEndingToCRLF ( const char *  str,
int *  size 
)

Here is the caller graph for this function:

int ConvertLineEndingToLF ( char *  str,
int  size 
)

Here is the caller graph for this function:

INT64 GetLine ( char **  lineptr,
size_t *  size,
FILE *  stream 
)

Here is the caller graph for this function:

BOOL IsCharAlphaA ( CHAR  ch)
BOOL IsCharAlphaNumericA ( CHAR  ch)
BOOL IsCharAlphaNumericW ( WCHAR  ch)
BOOL IsCharAlphaW ( WCHAR  ch)
BOOL IsCharLowerA ( CHAR  ch)
BOOL IsCharLowerW ( WCHAR  ch)
BOOL IsCharUpperA ( CHAR  ch)
BOOL IsCharUpperW ( WCHAR  ch)
int lstrcmpA ( LPCSTR  lpString1,
LPCSTR  lpString2 
)
int lstrcmpW ( LPCWSTR  lpString1,
LPCWSTR  lpString2 
)

Here is the caller graph for this function:

int lstrlenA ( LPCSTR  lpString)

Here is the caller graph for this function:

int lstrlenW ( LPCWSTR  lpString)

Here is the caller graph for this function:

char* StrSep ( char **  stringp,
const char *  delim 
)

Here is the caller graph for this function:

char* strtok_s ( char *  strToken,
const char *  strDelimit,
char **  context 
)

Here is the caller graph for this function:

WCHAR* wcstok_s ( WCHAR *  strToken,
const WCHAR *  strDelimit,
WCHAR **  context 
)

Here is the call graph for this function:

Here is the caller graph for this function: