From 0fa6b8154ed03eb0a7168a24a17fa4e206a2e5f9 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 15 Jun 1988 16:47:42 +0000 Subject: parameterize Z_SendFragmentedNotice and add ZSrvSendList --- lib/ZSendList.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'lib/ZSendList.c') diff --git a/lib/ZSendList.c b/lib/ZSendList.c index 3b6fea3..3d8efc6 100644 --- a/lib/ZSendList.c +++ b/lib/ZSendList.c @@ -25,6 +25,16 @@ Code_t ZSendList(notice, list, nitems, cert_routine) char *list[]; 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; @@ -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); -- cgit v1.2.3