Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

ERRORTYPEREGISTRATIONFORM Struct Reference
[Error module]

#include <error.h>

List of all members.

Public Attributes

ERRORMESSAGEPTR msgptr
int typ
char type_name [16]


Member Data Documentation

ERRORMESSAGEPTR ERRORTYPEREGISTRATIONFORM::msgptr
 

Pointer to the function that returns a descriptive error message for a given error code (must be set by the caller).

int ERRORTYPEREGISTRATIONFORM::typ
 

If the registration applied this field holds the number assigned to this code. The calling module is then guaranteed to have this code for itself (i.e. this number will not assigned to any other module). So when returning an ERRORCODE specific to the module you can use this number as the "type".

char ERRORTYPEREGISTRATIONFORM::type_name[16]
 

This holds the name of the error type. It should be human readable and quite descriptive (like the "Socket" module will use "Socket" as a type name). This way you can alway resolve the number of a known error type by given its name. This field must be set by the caller. This string must be zero terminated (standard c-string).


The documentation for this struct was generated from the following file:
Generated on Sat Feb 11 15:20:28 2006 for libchipcard by  doxygen 1.4.2