open-src/lib/libXtsol/sun-src/Xtsol.c
changeset 919 425233ae7236
parent 907 3c35d611cdaa
child 943 294f64612d23
equal deleted inserted replaced
918:813b95829e8b 919:425233ae7236
     1 /* Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
     1 /* Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
       
     2  * Use is subject to license terms.
     2  *
     3  *
     3  * Permission is hereby granted, free of charge, to any person obtaining a
     4  * Permission is hereby granted, free of charge, to any person obtaining a
     4  * copy of this software and associated documentation files (the
     5  * copy of this software and associated documentation files (the "Software"),
     5  * "Software"), to deal in the Software without restriction, including
     6  * to deal in the Software without restriction, including without limitation
     6  * without limitation the rights to use, copy, modify, merge, publish,
     7  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
     7  * distribute, and/or sell copies of the Software, and to permit persons
     8  * and/or sell copies of the Software, and to permit persons to whom the
     8  * to whom the Software is furnished to do so, provided that the above
     9  * Software is furnished to do so, subject to the following conditions:
     9  * copyright notice(s) and this permission notice appear in all copies of
       
    10  * the Software and that both the above copyright notice(s) and this
       
    11  * permission notice appear in supporting documentation.
       
    12  *
    10  *
    13  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
    11  * The above copyright notice and this permission notice (including the next
    14  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    12  * paragraph) shall be included in all copies or substantial portions of the
    15  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
    13  * Software.
    16  * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
       
    17  * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
       
    18  * INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
       
    19  * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
       
    20  * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
       
    21  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
       
    22  *
    14  *
    23  * Except as contained in this notice, the name of a copyright holder
    15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    24  * shall not be used in advertising or otherwise to promote the sale, use
    16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    25  * or other dealings in this Software without prior written authorization
    17  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
    26  * of the copyright holder.
    18  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
       
    19  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
       
    20  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
       
    21  * DEALINGS IN THE SOFTWARE.
    27  */ 
    22  */ 
    28 
    23 
    29 
    24 
    30 #define NEED_REPLIES
    25 #define NEED_REPLIES
    31 #define NEED_EVENTS
    26 #define NEED_EVENTS