45e9809aff7304721fddb95654901b32195c9c7avboxsync/*
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Copyright © 2008 Peter Hutterer
45e9809aff7304721fddb95654901b32195c9c7avboxsync *
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Permission is hereby granted, free of charge, to any person obtaining a
45e9809aff7304721fddb95654901b32195c9c7avboxsync * copy of this software and associated documentation files (the "Software"),
45e9809aff7304721fddb95654901b32195c9c7avboxsync * to deal in the Software without restriction, including without limitation
45e9809aff7304721fddb95654901b32195c9c7avboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
45e9809aff7304721fddb95654901b32195c9c7avboxsync * and/or sell copies of the Software, and to permit persons to whom the
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Software is furnished to do so, subject to the following conditions:
45e9809aff7304721fddb95654901b32195c9c7avboxsync *
45e9809aff7304721fddb95654901b32195c9c7avboxsync * The above copyright notice and this permission notice (including the next
45e9809aff7304721fddb95654901b32195c9c7avboxsync * paragraph) shall be included in all copies or substantial portions of the
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Software.
45e9809aff7304721fddb95654901b32195c9c7avboxsync *
45e9809aff7304721fddb95654901b32195c9c7avboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
45e9809aff7304721fddb95654901b32195c9c7avboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
45e9809aff7304721fddb95654901b32195c9c7avboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
45e9809aff7304721fddb95654901b32195c9c7avboxsync * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
45e9809aff7304721fddb95654901b32195c9c7avboxsync * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
45e9809aff7304721fddb95654901b32195c9c7avboxsync * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
45e9809aff7304721fddb95654901b32195c9c7avboxsync * DEALINGS IN THE SOFTWARE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync *
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Author: Peter Hutterer
45e9809aff7304721fddb95654901b32195c9c7avboxsync */
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifdef HAVE_DIX_CONFIG_H
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include <dix-config.h>
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifndef XIPROPERTY_H
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define XIPROPERTY_H 1
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint ProcXListDeviceProperties (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint ProcXChangeDeviceProperty (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint ProcXDeleteDeviceProperty (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint ProcXGetDeviceProperty (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* request swapping */
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint SProcXListDeviceProperties (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint SProcXChangeDeviceProperty (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint SProcXDeleteDeviceProperty (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint SProcXGetDeviceProperty (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* reply swapping */
45e9809aff7304721fddb95654901b32195c9c7avboxsyncvoid SRepXListDeviceProperties(ClientPtr client, int size,
45e9809aff7304721fddb95654901b32195c9c7avboxsync xListDevicePropertiesReply *rep);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncvoid SRepXGetDeviceProperty(ClientPtr client, int size,
45e9809aff7304721fddb95654901b32195c9c7avboxsync xGetDevicePropertyReply *rep);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* XI2 request/reply handling */
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint ProcXIListProperties (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint ProcXIChangeProperty (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint ProcXIDeleteProperty (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint ProcXIGetProperty (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint SProcXIListProperties (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint SProcXIChangeProperty (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint SProcXIDeleteProperty (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint SProcXIGetProperty (ClientPtr client);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncvoid SRepXIListProperties(ClientPtr client, int size,
45e9809aff7304721fddb95654901b32195c9c7avboxsync xXIListPropertiesReply *rep);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncvoid SRepXIGetProperty(ClientPtr client, int size,
45e9809aff7304721fddb95654901b32195c9c7avboxsync xXIGetPropertyReply *rep);
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif /* XIPROPERTY_H */