projects
/
rrdtool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9e81c95
)
Moved OP_COUNT to the end of the enumeration.
author
jake
<jake@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 15 Jul 2003 00:58:38 +0000
(
00:58
+0000)
committer
jake
<jake@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 15 Jul 2003 00:58:38 +0000
(
00:58
+0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@208
a5681a0c
-68f1-0310-ab6d-
d61299d08faa
src/rrd_rpncalc.h
patch
|
blob
|
history
diff --git
a/src/rrd_rpncalc.h
b/src/rrd_rpncalc.h
index
796aa7d
..
2aa6dfb
100644
(file)
--- a/
src/rrd_rpncalc.h
+++ b/
src/rrd_rpncalc.h
@@
-10,12
+10,12
@@
* This is because COMPUTE (CDEF) DS store OP nodes by number (name is not
* an option due to limited par array size). OP nodes must have the same
* numeric values, otherwise the stored numbers will mean something different. */
* This is because COMPUTE (CDEF) DS store OP nodes by number (name is not
* an option due to limited par array size). OP nodes must have the same
* numeric values, otherwise the stored numbers will mean something different. */
-enum op_en {OP_NUMBER=0,OP_VARIABLE,OP_INF,OP_PREV,OP_
COUNT,OP_
NEGINF,
+enum op_en {OP_NUMBER=0,OP_VARIABLE,OP_INF,OP_PREV,OP_NEGINF,
OP_UNKN,OP_NOW,OP_TIME,OP_ADD,OP_MOD,OP_SUB,OP_MUL,
OP_DIV,OP_SIN, OP_DUP, OP_EXC, OP_POP,
OP_COS,OP_LOG,OP_EXP,OP_LT,OP_LE,OP_GT,OP_GE,OP_EQ,OP_IF,
OP_MIN,OP_MAX,OP_LIMIT, OP_FLOOR, OP_CEIL,
OP_UNKN,OP_NOW,OP_TIME,OP_ADD,OP_MOD,OP_SUB,OP_MUL,
OP_DIV,OP_SIN, OP_DUP, OP_EXC, OP_POP,
OP_COS,OP_LOG,OP_EXP,OP_LT,OP_LE,OP_GT,OP_GE,OP_EQ,OP_IF,
OP_MIN,OP_MAX,OP_LIMIT, OP_FLOOR, OP_CEIL,
- OP_UN,OP_END,OP_LTIME,OP_NE,OP_ISINF,OP_PREV_OTHER};
+ OP_UN,OP_END,OP_LTIME,OP_NE,OP_ISINF,OP_PREV_OTHER
,OP_COUNT
};
typedef struct rpnp_t {
enum op_en op;
typedef struct rpnp_t {
enum op_en op;