#include "nml_oi.hh"Include dependency graph for nml_oi.cc:

Go to the source code of this file.
Functions | |
| int RCS_EXPORT | nmlErrorFormat (NMLTYPE type, void *buffer, CMS *cms) |
|
||||||||||||||||
|
Definition at line 48 of file nml_oi.cc. 00049 {
00050 switch (type)
00051 {
00052 case NML_ERROR_TYPE:
00053 ((NML_ERROR *) buffer)->update (cms);
00054 break;
00055
00056 case NML_TEXT_TYPE:
00057 ((NML_TEXT *) buffer)->update (cms);
00058 break;
00059
00060 case NML_DISPLAY_TYPE:
00061 ((NML_DISPLAY *) buffer)->update (cms);
00062 break;
00063
00064 case NML_OPERATOR_REQUEST_TYPE:
00065 ((NML_OPERATOR_REQUEST *) buffer)->update (cms);
00066 break;
00067
00068 case NML_OPERATOR_REPLY_TYPE:
00069 ((NML_OPERATOR_REPLY *) buffer)->update (cms);
00070 break;
00071
00072 // unknown type
00073 default:
00074 return 0; // 0 signifies didn't find
00075 }
00076
00077 return 1; // 1 signifies found it
00078 }
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001