Go to the source code of this file.
Functions | |
void | StringToDes (const char *aStr, TDes &aTarget) |
Converts a null-terminated C string to a descriptor. | |
TPtr * | CreateDes (const char *aStr) |
Creates a new descriptor from a string. | |
void | DeleteDes (TPtr *aDes) |
Deletes a descriptor created with CreateDes(). | |
void | DesToString (const TDesC &aDes, char *aTarget) |
Converts a descriptor into a C string. |
Copyright 2002 Petteri Kangaslampi
See license.txt for full copyright and license information.
|
Creates a new descriptor from a string. The descriptor is allocated from the PuTTY heap, and should be deallocated using DeleteDes(). The descriptor is valid until it is deallocated or the PuTTY heap is destroyed. FIXME: Currently does not really work for other charsets than US-ASCII.
|
|
Deletes a descriptor created with CreateDes().
|
|
Converts a descriptor into a C string. FIXME: Currently does not really work for other charsets than US-ASCII.
|
|
Converts a null-terminated C string to a descriptor. FIXME: Currently does not really work for other charsets than US-ASCII.
|