2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. 2N/A * Telco-alarm library, which communicates through libpcp to set/get 2N/A /* initialize virtual channel */ 2N/A /* create request message data */ 2N/A * Send the request and receive the response. 2N/A /* we either timed out or erred; either way try again */ 2N/A * verify that the Alarm action has taken place 2N/A * validate that this data was meant for us 2N/A /* free recv_msg.msg_data through pointer to make sure it is valid */ 2N/A /* close virtual channel fd */ 2N/A /* initialize virtual channel */ 2N/A /* create request message data */ 2N/A * Send the request and receive the response. 2N/A /* we either timed out or erred; either way try again */ 2N/A * verify that the Alarm action has taken place 2N/A * validate that this data was meant for us 2N/A * ensure the Alarm action taken is the one requested 2N/A /* free recv_msg.msg_data through pointer to make sure it is valid */ 2N/A /* close virtual channel fd */