-static Z_RPNStructure *rpn_structure (ODR o, int num_attr, int max_attr,
- int *attr_list);
+static Z_RPNStructure *rpn_structure (ODR o, oid_proto,
+ int num_attr, int max_attr,
+ int *attr_list, oid_value *attr_set);
+
+static int query_oid_getvalbyname (void)
+{
+ char buf[32];
+
+ if (query_lex_len > 31)
+ return VAL_NONE;
+ memcpy (buf, query_lex_buf, query_lex_len);
+ buf[query_lex_len] = '\0';
+ return oid_getvalbyname (buf);
+}