Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

hi_ui_iis_unicode_map.h File Reference

Header file for hi_ui_iis_unicode_map functions. More...

#include "hi_include.h"
#include "hi_ui_config.h"

Go to the source code of this file.

Defines

#define HI_UI_NON_ASCII_CODEPOINT   -1

Functions

int hi_ui_parse_iis_unicode_map (int **iis_unicode_map, char *filename, int iCodePage)


Detailed Description

Header file for hi_ui_iis_unicode_map functions.

Author:
Daniel Roelker <droelker@sourcefire.com>

Definition in file hi_ui_iis_unicode_map.h.


Define Documentation

#define HI_UI_NON_ASCII_CODEPOINT   -1
 

This is the define for the iis_unicode_map array when there is no ASCII mapping.

Definition at line 18 of file hi_ui_iis_unicode_map.h.

Referenced by hi_ui_parse_iis_unicode_map(), UDecode(), and UTF8Decode().


Function Documentation

int hi_ui_parse_iis_unicode_map (  int **  iis_unicode_map,
char *  filename,
int  iCodePage
) 
 

Parses an IIS Unicode Map file and store in the supplied array.

This routine allocates the necessary memory to store the array values in, and parses the supplied filename.

Parameters:
iis_unicode_map double pointer so we can allocate the memory
filename the name of the file to open and parse
iCodePage the codpage number to read the mappings from
Returns:
integer
Return values:
HI_INVALID ARG invalid argument
HI_MEM_ALLOC_FAIL memory allocation failed
HI_INVALID_FILE Could not open the supplied filename
HI_SUCCESS function was successful

Definition at line 201 of file hi_ui_iis_unicode_map.c.

References FindCodePage(), HI_INVALID_ARG, HI_INVALID_FILE, HI_MEM_ALLOC_FAIL, HI_SUCCESS, HI_UI_NON_ASCII_CODEPOINT, MapCodePoints(), memset, NULL, and xmalloc().

Referenced by ProcessIISUnicodeMap().


Generated on Sun May 14 14:51:24 2006 by  doxygen 1.4.2