restart.h revision 8108eb18
18108eb18Smrg/* $Xorg: restart.h,v 1.4 2001/02/09 02:06:01 xorgcvs Exp $ */ 28108eb18Smrg/****************************************************************************** 38108eb18Smrg 48108eb18SmrgCopyright 1993, 1998 The Open Group 58108eb18Smrg 68108eb18SmrgPermission to use, copy, modify, distribute, and sell this software and its 78108eb18Smrgdocumentation for any purpose is hereby granted without fee, provided that 88108eb18Smrgthe above copyright notice appear in all copies and that both that 98108eb18Smrgcopyright notice and this permission notice appear in supporting 108108eb18Smrgdocumentation. 118108eb18Smrg 128108eb18SmrgThe above copyright notice and this permission notice shall be included in 138108eb18Smrgall copies or substantial portions of the Software. 148108eb18Smrg 158108eb18SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 168108eb18SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 178108eb18SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 188108eb18SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 198108eb18SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 208108eb18SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 218108eb18Smrg 228108eb18SmrgExcept as contained in this notice, the name of The Open Group shall not be 238108eb18Smrgused in advertising or otherwise to promote the sale, use or other dealings 248108eb18Smrgin this Software without prior written authorization from The Open Group. 258108eb18Smrg******************************************************************************/ 268108eb18Smrg/* $XFree86: xc/programs/xsm/restart.h,v 1.5 2001/08/01 00:45:07 tsi Exp $ */ 278108eb18Smrg 288108eb18Smrg#ifndef _RESTART_H_ 298108eb18Smrg#define _RESTART_H_ 308108eb18Smrg 318108eb18Smrg#include "xsm.h" 328108eb18Smrg 338108eb18Smrgextern Bool CheckIsManager(char *program); 348108eb18Smrgextern void GetRestartInfo(char *restart_service_prop, char *client_host_name, 358108eb18Smrg Bool *run_local, char **restart_protocol, 368108eb18Smrg char **restart_machine); 378108eb18Smrgextern Status Restart(int flag); 388108eb18Smrgextern void Clone(ClientRec *client, Bool useSavedState); 398108eb18Smrgextern void StartDefaultApps(void); 408108eb18Smrgextern void StartNonSessionAwareApps(void); 418108eb18Smrg 428108eb18Smrg#endif 43