ESAPI-C 1.0
The OWASP Enterprise Security API for C

windows_codec.c File Reference

A Windows Command Shell Codec module implementation. More...

#include <stdlib.h>
#include <string.h>
#include "codec.h"
#include "windows_codec.h"

Go to the source code of this file.

Functions

char * encode_windows_char (char *tokenbuff, char ch)
 Returns a Windows shell encoded character.
char decode_windows_char (const char *input, int *index, char *pushback)

Variables

char * windows_codec_name = "Windows"

Detailed Description

A Windows Command Shell Codec module implementation.

Since:
January 30, 2011

Definition in file windows_codec.c.


Function Documentation

char* encode_windows_char ( char *  tokenbuff,
char  ch 
)

Returns a Windows shell encoded character.

Parameters:
tokenbuffA character array to hold the encoded character
chThe character to encode

Definition at line 22 of file windows_codec.c.

References nonatohex().

 All Data Structures Files Functions Variables Typedefs Defines