/*
- * Copyright (c) 1995-2002, Index Data.
+ * Copyright (c) 1995-2003, Index Data.
* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
- * $Id: zget.c,v 1.12 2002-04-25 08:34:08 adam Exp $
+ * $Id: zget.c,v 1.15 2003-10-08 21:48:19 adam Exp $
*/
#include <yaz/proto.h>
r->referenceId = 0;
r->numberOfRecordsReturned = odr_intdup(o, 0);
r->nextResultSetPosition = odr_intdup(o, 0);
- r->presentStatus = odr_intdup(o, Z_PRES_SUCCESS);
+ r->presentStatus = odr_intdup(o, Z_PresentStatus_success);
r->records = 0;
r->otherInfo = 0;
return r;
r->sortStatus = odr_intdup(o, Z_SortStatus_success);
r->resultSetStatus = odr_intdup(o, Z_SortResultSetStatus_empty);
r->diagnostics = 0;
+ r->resultCount = 0;
r->otherInfo = 0;
return r;
}