summaryrefslogtreecommitdiff
path: root/lib/ZSendList.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ZSendList.c')
-rw-r--r--lib/ZSendList.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/ZSendList.c b/lib/ZSendList.c
index 3b6fea3..3d8efc6 100644
--- a/lib/ZSendList.c
+++ b/lib/ZSendList.c
@@ -26,6 +26,16 @@ Code_t ZSendList(notice, list, nitems, cert_routine)
int nitems;
int (*cert_routine)();
{
+ return(ZSrvSendList(notice, list, nitems, cert_routine, Z_XmitFragment));
+}
+
+Code_t ZSrvSendList(notice, list, nitems, cert_routine, send_routine)
+ ZNotice_t *notice;
+ char *list[];
+ int nitems;
+ int (*cert_routine)();
+ int (*send_routine)();
+{
Code_t retval;
ZNotice_t newnotice;
char *buffer;
@@ -38,7 +48,7 @@ Code_t ZSendList(notice, list, nitems, cert_routine)
if ((retval = ZParseNotice(buffer, len, &newnotice)) != ZERR_NONE)
return (retval);
- retval = Z_SendFragmentedNotice(&newnotice, len);
+ retval = Z_SendFragmentedNotice(&newnotice, len, send_routine);
free(buffer);