1706f2543Smrg/* 2706f2543Smrg * Copyright © 2008 Peter Hutterer 3706f2543Smrg * 4706f2543Smrg * Permission is hereby granted, free of charge, to any person obtaining a 5706f2543Smrg * copy of this software and associated documentation files (the "Software"), 6706f2543Smrg * to deal in the Software without restriction, including without limitation 7706f2543Smrg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8706f2543Smrg * and/or sell copies of the Software, and to permit persons to whom the 9706f2543Smrg * Software is furnished to do so, subject to the following conditions: 10706f2543Smrg * 11706f2543Smrg * The above copyright notice and this permission notice (including the next 12706f2543Smrg * paragraph) shall be included in all copies or substantial portions of the 13706f2543Smrg * Software. 14706f2543Smrg * 15706f2543Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16706f2543Smrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17706f2543Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18706f2543Smrg * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19706f2543Smrg * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20706f2543Smrg * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21706f2543Smrg * DEALINGS IN THE SOFTWARE. 22706f2543Smrg * 23706f2543Smrg * Author: Peter Hutterer 24706f2543Smrg */ 25706f2543Smrg 26706f2543Smrg#ifdef HAVE_DIX_CONFIG_H 27706f2543Smrg#include <dix-config.h> 28706f2543Smrg#endif 29706f2543Smrg 30706f2543Smrg#ifndef XIPROPERTY_H 31706f2543Smrg#define XIPROPERTY_H 1 32706f2543Smrg 33706f2543Smrgint ProcXListDeviceProperties (ClientPtr client); 34706f2543Smrgint ProcXChangeDeviceProperty (ClientPtr client); 35706f2543Smrgint ProcXDeleteDeviceProperty (ClientPtr client); 36706f2543Smrgint ProcXGetDeviceProperty (ClientPtr client); 37706f2543Smrg 38706f2543Smrg/* request swapping */ 39706f2543Smrgint SProcXListDeviceProperties (ClientPtr client); 40706f2543Smrgint SProcXChangeDeviceProperty (ClientPtr client); 41706f2543Smrgint SProcXDeleteDeviceProperty (ClientPtr client); 42706f2543Smrgint SProcXGetDeviceProperty (ClientPtr client); 43706f2543Smrg 44706f2543Smrg/* reply swapping */ 45706f2543Smrgvoid SRepXListDeviceProperties(ClientPtr client, int size, 46706f2543Smrg xListDevicePropertiesReply *rep); 47706f2543Smrgvoid SRepXGetDeviceProperty(ClientPtr client, int size, 48706f2543Smrg xGetDevicePropertyReply *rep); 49706f2543Smrg 50706f2543Smrg/* XI2 request/reply handling */ 51706f2543Smrgint ProcXIListProperties (ClientPtr client); 52706f2543Smrgint ProcXIChangeProperty (ClientPtr client); 53706f2543Smrgint ProcXIDeleteProperty (ClientPtr client); 54706f2543Smrgint ProcXIGetProperty (ClientPtr client); 55706f2543Smrg 56706f2543Smrgint SProcXIListProperties (ClientPtr client); 57706f2543Smrgint SProcXIChangeProperty (ClientPtr client); 58706f2543Smrgint SProcXIDeleteProperty (ClientPtr client); 59706f2543Smrgint SProcXIGetProperty (ClientPtr client); 60706f2543Smrg 61706f2543Smrgvoid SRepXIListProperties(ClientPtr client, int size, 62706f2543Smrg xXIListPropertiesReply *rep); 63706f2543Smrgvoid SRepXIGetProperty(ClientPtr client, int size, 64706f2543Smrg xXIGetPropertyReply *rep); 65706f2543Smrg 66706f2543Smrgvoid XIResetProperties(void); 67706f2543Smrg 68706f2543Smrg#endif /* XIPROPERTY_H */ 69