#include "rcs_defs.hh"#include "cms.hh"#include "nml.hh"#include "nmlmsg.hh"Include dependency graph for nml_oi.hh:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| class | NML_ERROR |
| class | NML_TEXT |
| class | NML_DISPLAY |
| class | NML_OPERATOR_REQUEST |
| class | NML_OPERATOR_REPLY |
Defines | |
| #define | NML_ERROR_TYPE ((NMLTYPE) 1) |
| #define | NML_TEXT_TYPE ((NMLTYPE) 2) |
| #define | NML_DISPLAY_TYPE ((NMLTYPE) 3) |
| #define | NML_OPERATOR_REQUEST_TYPE ((NMLTYPE) 4) |
| #define | NML_OPERATOR_REPLY_TYPE ((NMLTYPE) 5) |
| #define | NML_ERROR_LEN 256 |
| #define | NML_TEXT_LEN 256 |
| #define | NML_DISPLAY_LEN 256 |
| #define | NML_OPERATOR_REQUEST_LEN 256 |
| #define | NML_OPERATOR_REPLY_LEN 256 |
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