1 /* This file is part of the Project Athena Zephyr Notification System.
2 * It contains source for the ZSendNotice function.
4 * Created by: Robert French
6 * $Id: ZSendNot.c 2135 2008-01-21 03:39:30Z kcr $
8 * Copyright (c) 1987 by the Massachusetts Institute of Technology.
9 * For copying and distribution information, see the file
14 static const char rcsid_ZSendNotice_c[] = "$Id: ZSendNot.c 2135 2008-01-21 03:39:30Z kcr $";
20 ZSendNotice(ZNotice_t *notice,
21 Z_AuthProc cert_routine)
23 return(ZSrvSendNotice(notice, cert_routine, Z_XmitFragment));
27 ZSrvSendNotice(ZNotice_t *notice,
28 Z_AuthProc cert_routine,
29 Code_t (*send_routine)(ZNotice_t *, char *, int, int))
36 if ((retval = ZFormatNotice(notice, &buffer, &len,
37 cert_routine)) != ZERR_NONE)
40 if ((retval = ZParseNotice(buffer, len, &newnotice)) != ZERR_NONE)
43 retval = Z_SendFragmentedNotice(&newnotice, len, cert_routine,