/* This file is part of the Project Athena Zephyr Notification System. * It contains source for ZReceiveNotice function. * Created by: Robert French * Copyright (c) 1987,1988 by the Massachusetts Institute of Technology. * For copying and distribution information, see the file Code_t ZReceiveNotice(notice, from) struct sockaddr_in *from; if ((retval = Z_WaitForComplete()) != ZERR_NONE) nextq = Z_GetFirstComplete(); if (!(buffer = (char *) malloc((unsigned) len))) (void) memcpy(buffer, nextq->packet, len); if ((retval = ZParseNotice(buffer, len, notice)) != ZERR_NONE) notice->z_checked_auth = auth;