tsolinfo.h revision 639
606N/A/* Copyright 2009 Sun Microsystems, Inc. All rights reserved. 0N/A * Permission is hereby granted, free of charge, to any person obtaining a 0N/A * copy of this software and associated documentation files (the 0N/A * "Software"), to deal in the Software without restriction, including 0N/A * without limitation the rights to use, copy, modify, merge, publish, 0N/A * distribute, and/or sell copies of the Software, and to permit persons 0N/A * to whom the Software is furnished to do so, provided that the above 0N/A * copyright notice(s) and this permission notice appear in all copies of 0N/A * the Software and that both the above copyright notice(s) and this 0N/A * permission notice appear in supporting documentation. 0N/A * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 0N/A * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 0N/A * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 0N/A * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 0N/A * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 0N/A * INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING 0N/A * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 0N/A * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 0N/A * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 0N/A * Except as contained in this notice, the name of a copyright holder 0N/A * shall not be used in advertising or otherwise to promote the sale, use 0N/A * or other dealings in this Software without prior written authorization 0N/A * of the copyright holder. 0N/A/********************************* 0N/A *********************************/ 639N/A * Level 0 messages are printed by all servers to stderr. 639N/A * Xorg defaults to logging messages in 0-3 to /var/log/Xorg.<display>.log 639N/A * Ranges of messages to print to stderr can be changed with Xorg -verbose N 639N/A * and Xephyr -verbosity N 639N/A * Ranges of messages to print to log can be changed with Xorg -logverbose N 639N/A * Other servers don't support runtime configuration of log messages yet. 0N/A/********************************* 0N/A *********************************/ 0N/A * are non-protocol ones viz. ClientConnect, mapped to 9101 and 0N/A * ClientDisconnect, mapped to 9102. 0N/A * The protocol events are mapped from 9103 onwards in the serial order 0N/A * of their respective protocol opcode, for eg, the protocol UngrabPointer 0N/A * which is has a protocol opcode 27 is mapped to 9129 (9102 + 27). 0N/A * All extension protocols are mapped to a single audit event AUE_XExtension 0N/A * as opcodes are assigined dynamically to these protocols. We set the 0N/A * extension protocol opcode to be 128, one more than the last standard opcode. 0N/A * Various flags for TsolInfoRec, TsolResRec 0N/A * Masks corresponding various types 0N/A/********************************* 0N/A *********************************/ 0N/A * True if client is part of TrustedPath 0N/A/********************************* 0N/A *********************************/ 0N/A * Extended attributes for each client. 0N/A * Most of the information comes from getpeerucred() 0N/A * per property info. useful for polyprops 0N/A long size;
/* size of data in (format/8) bytes */ 0N/A * per selection info. useful for polyinstantiated selns 606N/A * information stored in devPrivates 0N/A * NodeRec struct defined here is used instead of the 0N/A * one defined in atom.c. This is used in policy functions 0N/A * if polyinst true, the name list is polyinstantiated 0N/A * if false, the everything except the list is polyinstantiated 0N/A * NOTE: Default for seln: polyinstantiate the list 0N/A * Default for prop: polyinstantiate everything except the list 0N/A int size;
/* max size of the list */ 0N/A int count;
/* how many are actually valid */ 0N/A * PolyInstInfo represents if a get request will match the 0N/A * client's sl,uid for this or it will use the polyinstinfo 0N/A * Disable flags for extensions 0N/A * a primary & alternate 0N/A/********************************* 0N/A *********************************/ 0N/A/********************************* 0N/A * FUNCTION PROTOTYPES 0N/A *********************************/ 0N/A#
endif /* _TSOL_INFO_H */