dmxsigio.h revision 45e9809aff7304721fddb95654901b32195c9c7a
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync/*
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync * Copyright 2001 Red Hat Inc., Durham, North Carolina.
5b281ba489ca18f0380d7efc7a5108b606cce449vboxsync *
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync * All Rights Reserved.
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync *
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync * Permission is hereby granted, free of charge, to any person obtaining
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync * a copy of this software and associated documentation files (the
c98fb3e16fcd571a790eab772c0c66173d225205vboxsync * "Software"), to deal in the Software without restriction, including
c98fb3e16fcd571a790eab772c0c66173d225205vboxsync * without limitation on the rights to use, copy, modify, merge,
c98fb3e16fcd571a790eab772c0c66173d225205vboxsync * publish, distribute, sublicense, and/or sell copies of the Software,
c98fb3e16fcd571a790eab772c0c66173d225205vboxsync * and to permit persons to whom the Software is furnished to do so,
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * subject to the following conditions:
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync *
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * The above copyright notice and this permission notice (including the
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * next paragraph) shall be included in all copies or substantial
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * portions of the Software.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync *
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync * SOFTWARE.
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync */
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync/*
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync * Authors:
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync * Rickard E. (Rik) Faith <faith@redhat.com>
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync *
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync */
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync/** \file
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync * Interface to SIGIO handling support. \see dmxsigio.c */
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync#ifndef _DMXSIGIO_H_
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync#define _DMXSIGIO_H_
cacc4e75dbbff469c10a505168208f064c6c385cvboxsyncextern void dmxSigioBlock(void);
cca68441e3840543d10a390547e94d1b7a984778vboxsyncextern void dmxSigioUnblock(void);
cca68441e3840543d10a390547e94d1b7a984778vboxsyncextern void dmxSigioEnableInput(void);
cca68441e3840543d10a390547e94d1b7a984778vboxsyncextern void dmxSigioDisableInput(void);
cacc4e75dbbff469c10a505168208f064c6c385cvboxsyncextern void dmxSigioRegister(DMXInputInfo *dmxInput, int fd);
cacc4e75dbbff469c10a505168208f064c6c385cvboxsyncextern void dmxSigioUnregister(DMXInputInfo *dmxInput);
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync#endif
cacc4e75dbbff469c10a505168208f064c6c385cvboxsync