Changeset 199
- Timestamp:
- 1999-03-11T13:11:19+13:00 (25 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/comtypes.cpp
r197 r199 12 12 /* 13 13 $Log$ 14 Revision 1.4 1999/03/11 00:11:19 rjmcnab 15 Added a function to get a string version of comerror_t 16 14 17 Revision 1.3 1999/03/09 21:00:47 rjmcnab 15 18 Reorganised the statusaction, added more functions to comtypes. … … 27 30 28 31 #include "comtypes.h" 32 33 34 text_t get_comerror_string (comerror_t err) { 35 if (err == noError) return "no error"; 36 else if (err == authenticationFailure) return "authentication failure"; 37 else if (err == protocolError) return "protocol error"; 38 else if (err == systemProblem) return "system problem"; 39 40 return "unknown problem"; 41 } 29 42 30 43 -
trunk/gsdl/src/recpt/comtypes.h
r197 r199 33 33 34 34 enum comerror_t {noError, authenticationFailure, protocolError, systemProblem}; 35 35 text_t get_comerror_string (comerror_t err); 36 36 37 37 // ShortColInfo ::= SEQUENCE {
Note:
See TracChangeset
for help on using the changeset viewer.