* Sebastian Hammer, Adam Dickmeiss
*
* $Log: client.c,v $
- * Revision 1.26 1995-12-12 14:11:00 quinn
+ * Revision 1.27 1995-12-12 16:37:02 quinn
+ * Added destroy element to data1_node.
+ *
+ * Revision 1.26 1995/12/12 14:11:00 quinn
* Minimal.
*
* Revision 1.25 1995/11/13 09:27:22 quinn
ODR_MASK_SET(req->protocolVersion, Z_ProtocolVersion_2);
ODR_MASK_SET(req->protocolVersion, Z_ProtocolVersion_3);
+ *req->maximumRecordSize = 1024*1024;
+
req->idAuthentication = auth;
send_apdu(apdu);
* OF THIS SOFTWARE.
*
* $Log: data1.h,v $
- * Revision 1.6 1995-12-11 15:22:12 quinn
+ * Revision 1.7 1995-12-12 16:37:05 quinn
+ * Added destroy element to data1_node.
+ *
+ * Revision 1.6 1995/12/11 15:22:12 quinn
* Added last_child field to the node.
*
* Revision 1.5 1995/12/05 14:26:40 quinn
} indicator;
} u;
+ void (*destroy)(struct data1_node *n);
char lbuf[DATA1_LOCALDATA]; /* small buffer for local data */
int line;
int num_children;
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: d1_map.c,v $
- * Revision 1.5 1995-12-12 14:11:31 quinn
+ * Revision 1.6 1995-12-12 16:37:08 quinn
+ * Added destroy element to data1_node.
+ *
+ * Revision 1.5 1995/12/12 14:11:31 quinn
* More work on the large-record problem.
*
* Revision 1.4 1995/12/11 15:22:37 quinn
*/
for (mt = m->target_path; mt; mt = mt->next)
{
- if (!cur || !tagmatch(cur, mt))
+ if (!cur || mt->new_field || !tagmatch(cur, mt))
{
cur = data1_mk_node();
cur->which = DATA1N_tag;
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: d1_read.c,v $
- * Revision 1.5 1995-12-11 15:22:37 quinn
+ * Revision 1.6 1995-12-12 16:37:08 quinn
+ * Added destroy element to data1_node.
+ *
+ * Revision 1.5 1995/12/11 15:22:37 quinn
* Added last_child field to the node.
* Rewrote schema-mapping.
*
abort();
r->next = r->child = r->last_child = r->parent = 0;
r->num_children = 0;
+ r->destroy = 0;
return r;
}
data1_free_tree(p);
p = pn;
}
+ if (t->destroy)
+ (*t->destroy)(t);
fr_node(t);
}