1*7736SAndrew.W.Wilson@sun.com /* 2*7736SAndrew.W.Wilson@sun.com * CDDL HEADER START 3*7736SAndrew.W.Wilson@sun.com * 4*7736SAndrew.W.Wilson@sun.com * The contents of this file are subject to the terms of the 5*7736SAndrew.W.Wilson@sun.com * Common Development and Distribution License (the "License"). 6*7736SAndrew.W.Wilson@sun.com * You may not use this file except in compliance with the License. 7*7736SAndrew.W.Wilson@sun.com * 8*7736SAndrew.W.Wilson@sun.com * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*7736SAndrew.W.Wilson@sun.com * or http://www.opensolaris.org/os/licensing. 10*7736SAndrew.W.Wilson@sun.com * See the License for the specific language governing permissions 11*7736SAndrew.W.Wilson@sun.com * and limitations under the License. 12*7736SAndrew.W.Wilson@sun.com * 13*7736SAndrew.W.Wilson@sun.com * When distributing Covered Code, include this CDDL HEADER in each 14*7736SAndrew.W.Wilson@sun.com * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*7736SAndrew.W.Wilson@sun.com * If applicable, add the following below this CDDL HEADER, with the 16*7736SAndrew.W.Wilson@sun.com * fields enclosed by brackets "[]" replaced with your own identifying 17*7736SAndrew.W.Wilson@sun.com * information: Portions Copyright [yyyy] [name of copyright owner] 18*7736SAndrew.W.Wilson@sun.com * 19*7736SAndrew.W.Wilson@sun.com * CDDL HEADER END 20*7736SAndrew.W.Wilson@sun.com */ 21*7736SAndrew.W.Wilson@sun.com /* 22*7736SAndrew.W.Wilson@sun.com * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23*7736SAndrew.W.Wilson@sun.com * Use is subject to license terms. 24*7736SAndrew.W.Wilson@sun.com */ 25*7736SAndrew.W.Wilson@sun.com 26*7736SAndrew.W.Wilson@sun.com #ifndef _MULTI_CLIENT_SYNC_H 27*7736SAndrew.W.Wilson@sun.com #define _MULTI_CLIENT_SYNC_H 28*7736SAndrew.W.Wilson@sun.com 29*7736SAndrew.W.Wilson@sun.com #include <sys/types.h> 30*7736SAndrew.W.Wilson@sun.com #include <sys/socket.h> 31*7736SAndrew.W.Wilson@sun.com #include <inet/ip.h> 32*7736SAndrew.W.Wilson@sun.com 33*7736SAndrew.W.Wilson@sun.com int mc_sync_open_sock(char *master_name, int master_port, char *client_name); 34*7736SAndrew.W.Wilson@sun.com int mc_sync_synchronize(int synch_point); 35*7736SAndrew.W.Wilson@sun.com 36*7736SAndrew.W.Wilson@sun.com #endif /* _MULTI_CLIENT_SYNC_H */ 37