1*4882a593Smuzhiyun /* Copyright (c) 2008-2012 Apple Inc. 2*4882a593Smuzhiyun * 3*4882a593Smuzhiyun * Permission is hereby granted, free of charge, to any person 4*4882a593Smuzhiyun * obtaining a copy of this software and associated documentation files 5*4882a593Smuzhiyun * (the "Software"), to deal in the Software without restriction, 6*4882a593Smuzhiyun * including without limitation the rights to use, copy, modify, merge, 7*4882a593Smuzhiyun * publish, distribute, sublicense, and/or sell copies of the Software, 8*4882a593Smuzhiyun * and to permit persons to whom the Software is furnished to do so, 9*4882a593Smuzhiyun * subject to the following conditions: 10*4882a593Smuzhiyun * 11*4882a593Smuzhiyun * The above copyright notice and this permission notice shall be 12*4882a593Smuzhiyun * included in all copies or substantial portions of the Software. 13*4882a593Smuzhiyun * 14*4882a593Smuzhiyun * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15*4882a593Smuzhiyun * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16*4882a593Smuzhiyun * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17*4882a593Smuzhiyun * NONINFRINGEMENT. IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT 18*4882a593Smuzhiyun * HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 19*4882a593Smuzhiyun * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20*4882a593Smuzhiyun * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21*4882a593Smuzhiyun * DEALINGS IN THE SOFTWARE. 22*4882a593Smuzhiyun * 23*4882a593Smuzhiyun * Except as contained in this notice, the name(s) of the above 24*4882a593Smuzhiyun * copyright holders shall not be used in advertising or otherwise to 25*4882a593Smuzhiyun * promote the sale, use or other dealings in this Software without 26*4882a593Smuzhiyun * prior written authorization. 27*4882a593Smuzhiyun */ 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun #ifndef _XQUARTZ_LAUNCHD_FD_H_ 30*4882a593Smuzhiyun #define _XQUARTZ_LAUNCHD_FD_H_ 31*4882a593Smuzhiyun 32*4882a593Smuzhiyun #define ERROR_FD -1 33*4882a593Smuzhiyun 34*4882a593Smuzhiyun int 35*4882a593Smuzhiyun launchd_display_fd(void); 36*4882a593Smuzhiyun 37*4882a593Smuzhiyun #endif /* _XQUARTZ_LAUNCHD_FD_H_ */ 38