Main Page | Modules | Namespace List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

nls_code_page Struct Reference
[Native Language Support (NLS)]

Code page structure. More...

#include <nls.h>


Data Fields

const char * name
 A name to identify the code page.
int(* request )(int function,...)
 The address of the request function for the code page.
nls_code_pagenext
 Reserved for the NLS Manager.


Detailed Description

Code page structure.

Code page modules register a structure of this type to the NLS manager. Each code page may have several of them registered in the linked list of code pages, for name aliasing, but there must be only one instance for each code page. Thus, a "this"-like parameter is not needed.


Field Documentation

const char* nls_code_page::name
 

A name to identify the code page.

This string is encoded in Unicode UTF-8. Name comparison is performed disregarding case for characters in ASCII range (that is, 'a'..'z'), so that the simple implementation of strcasecmp can be used, without knowledge of the UTF-8 encoding.

struct nls_code_page* nls_code_page::next
 

Reserved for the NLS Manager.

This is a pointer to the next code page structure in the linked list owned by the NLS manager. It must be initialized to a null pointer when registering a new code page, and ignored as reserved afterwards.

int(* nls_code_page::request)(int function,...)
 

The address of the request function for the code page.

Code page modules are required to support the REQ_GET_OPERATIONS and REQ_GET_REFERENCES requests.


The documentation for this struct was generated from the following file:
Generated on Fri Feb 24 14:13:24 2006 for VDK Blacksheep by  doxygen 1.4.1