#include "lclintMacros.nf"#include "basic.h"Go to the source code of this file.
Functions | |
| ynm | ynm_fromCodeChar (char c) |
| int | ynm_compare (ynm x, ynm y) |
|
|
Definition at line 42 of file ynm.c. Referenced by uentry_compare(). 00043 {
00044 switch (x)
00045 {
00046 case YES: if (y == YES) return 0; else return 1;
00047 case NO: if (y == NO) return 0; else return -1;
00048 case MAYBE: if (y == MAYBE) return 0; else return 1;
00049 }
00050
00051 BADEXIT;
00052 }
|
|
|
Definition at line 31 of file ynm.c. Referenced by uentry_undump(). 00032 {
00033 switch (c)
00034 {
00035 case '+': return YES;
00036 case '-': return NO;
00037 case '=': return MAYBE;
00038 BADDEFAULT;
00039 }
00040 }
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000