head 1.2; access; symbols netbsd-7-2-RELEASE:1.1.1.3 netbsd-7-1-2-RELEASE:1.1.1.3 netbsd-7-1-1-RELEASE:1.1.1.3 netbsd-7-1:1.1.1.3.0.14 netbsd-7-1-RELEASE:1.1.1.3 netbsd-7-1-RC2:1.1.1.3 netbsd-7-1-RC1:1.1.1.3 netbsd-7-0-2-RELEASE:1.1.1.3 netbsd-7-0-1-RELEASE:1.1.1.3 netbsd-7-0:1.1.1.3.0.12 netbsd-7-0-RELEASE:1.1.1.3 netbsd-7-0-RC3:1.1.1.3 netbsd-7-0-RC2:1.1.1.3 netbsd-7-0-RC1:1.1.1.3 netbsd-5-2-3-RELEASE:1.1.1.1 netbsd-5-1-5-RELEASE:1.1.1.1 netbsd-6-0-6-RELEASE:1.1.1.3 netbsd-6-1-5-RELEASE:1.1.1.3 netbsd-7:1.1.1.3.0.10 netbsd-7-base:1.1.1.3 netbsd-6-1-4-RELEASE:1.1.1.3 netbsd-6-0-5-RELEASE:1.1.1.3 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.3 riastradh-drm2:1.1.1.3.0.8 riastradh-drm2-base:1.1.1.3 netbsd-6-1-3-RELEASE:1.1.1.3 netbsd-6-0-4-RELEASE:1.1.1.3 netbsd-5-2-2-RELEASE:1.1.1.1 netbsd-5-1-4-RELEASE:1.1.1.1 netbsd-6-1-2-RELEASE:1.1.1.3 netbsd-6-0-3-RELEASE:1.1.1.3 netbsd-5-2-1-RELEASE:1.1.1.1 netbsd-5-1-3-RELEASE:1.1.1.1 netbsd-6-1-1-RELEASE:1.1.1.3 xorg-server-1-10-6:1.1.1.3 netbsd-6-1:1.1.1.3.0.6 netbsd-6-0-2-RELEASE:1.1.1.3 netbsd-6-1-RELEASE:1.1.1.3 netbsd-6-1-RC4:1.1.1.3 netbsd-6-1-RC3:1.1.1.3 netbsd-6-1-RC2:1.1.1.3 netbsd-6-1-RC1:1.1.1.3 netbsd-5-2:1.1.1.1.0.8 netbsd-6-0-1-RELEASE:1.1.1.3 netbsd-5-2-RELEASE:1.1.1.1 netbsd-5-2-RC1:1.1.1.1 netbsd-6-0:1.1.1.3.0.4 netbsd-6-0-RELEASE:1.1.1.3 netbsd-6-0-RC2:1.1.1.3 netbsd-6-0-RC1:1.1.1.3 netbsd-6:1.1.1.3.0.2 netbsd-6-base:1.1.1.3 netbsd-5-1-2-RELEASE:1.1.1.1 netbsd-5-1-1-RELEASE:1.1.1.1 xorg-server-1-10-3:1.1.1.3 mrg-xorg-server-1-9-5-pre-1-10-3:1.1.1.2 xorg-server-1-9-5:1.1.1.2 xorg-server-1-9-2:1.1.1.2 netbsd-5-1:1.1.1.1.0.6 netbsd-5-1-RELEASE:1.1.1.1 netbsd-5-1-RC4:1.1.1.1 netbsd-5-1-RC3:1.1.1.1 netbsd-5-1-RC2:1.1.1.1 netbsd-5-1-RC1:1.1.1.1 netbsd-5-0-2-RELEASE:1.1.1.1 xorg-server-1-6-5:1.1.1.1 xorg-server-1-6-3:1.1.1.1 netbsd-5-0-1-RELEASE:1.1.1.1 xorg-server-1-6-2:1.1.1.1 xorg-server-1-6-1-901:1.1.1.1 netbsd-5-0:1.1.1.1.0.4 netbsd-5-0-RELEASE:1.1.1.1 netbsd-5-0-RC4:1.1.1.1 netbsd-5-0-RC3:1.1.1.1 netbsd-5-0-RC2:1.1.1.1 netbsd-5-0-RC1:1.1.1.1 netbsd-5:1.1.1.1.0.2 netbsd-5-base:1.1.1.1 xorg-server-1-4-2:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.2 date 2016.08.11.00.04.28; author mrg; state dead; branches; next 1.1; commitid FQxwnZNPy5ZgOOhz; 1.1 date 2008.07.31.19.50.27; author mrg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.07.31.19.50.27; author mrg; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2010.11.23.05.21.15; author mrg; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2011.08.02.06.56.49; author mrg; state Exp; branches; next ; desc @@ 1.2 log @first merge of netbsd changes. not tested yet. @ text @
Go to the source code of this file.
Functions | |
| void | dmxConfigStoreDisplay (const char *display) |
| void | dmxConfigStoreInput (const char *input) |
| void | dmxConfigStoreXInput (const char *input) |
| void | dmxConfigStoreFile (const char *file) |
| void | dmxConfigStoreConfig (const char *config) |
| void | dmxConfigConfigure (void) |
| void | dmxConfigSetMaxScreens (void) |
|
|
Set up the appropriate global variables so that the DMX server will be initialized using the configuration specified in the config file and on the command line. |
|
|
This function determines the number of displays we WILL have and sets MAXSCREENS to that value. This is difficult since the number depends on the command line (which is easy to count) or on the config file, which has to be parsed. |
|
|
Make a note that config should be used as the configuration for current instantiation of the DMX server. |
|
|
Make a note that display is the name of an X11 display that should be initialized as a backend (output) display. Called from ddxProcessArgument. |
|
|
Make a note that file is the configuration file. |
|
|
Make a note that input is the name of an X11 display that should be used for input (either a backend or a console input device). |
|
|
Make a note that input is the name of an X11 display that should be used for input from XInput extension devices. |
#include <xkb-config.h>Go to the source code of this file.
Functions | |
| void | dmxConfigStoreDisplay (const char *display) |
| void | dmxConfigStoreInput (const char *input) |
| void | dmxConfigStoreXInput (const char *input) |
| void | dmxConfigStoreFile (const char *file) |
| void | dmxConfigStoreConfig (const char *config) |
| void | dmxConfigConfigure (void) |
| void | dmxConfigSetMaxScreens (void) |
| void | dmxConfigSetXkbRules (const char *rules) |
| void | dmxConfigSetXkbModel (const char *model) |
| void | dmxConfigSetXkbLayout (const char *layout) |
| void | dmxConfigSetXkbVariant (const char *variant) |
| void | dmxConfigSetXkbOptions (const char *options) |
| char * | dmxConfigGetXkbRules (void) |
| char * | dmxConfigGetXkbModel (void) |
| char * | dmxConfigGetXkbLayout (void) |
| char * | dmxConfigGetXkbVariant (void) |
| char * | dmxConfigGetXkbOptions (void) |
Interface for DMX configuration file support.
| void dmxConfigConfigure | ( | void | ) |
Set up the appropriate global variables so that the DMX server will be initialized using the configuration specified in the config file and on the command line.
References DMXConfigCmdStruct::config, DMXConfigCmdStruct::displays, dmxConfigConfigInputs(), dmxConfigFreeEntry(), dmxConfigFromCommandLine(), dmxConfigFromConfigFile(), dmxConfigReadFile(), dmxLog(), dmxWarning, and DMXConfigCmdStruct::filename.
Referenced by dmxConfigSetMaxScreens(), and InitOutput().
| char* dmxConfigGetXkbLayout | ( | void | ) |
Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().
d20 1 a20 17| char* dmxConfigGetXkbModel | ( | void | ) |
Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().
d24 1 a24 19| char* dmxConfigGetXkbOptions | ( | void | ) |
Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().
d26 1 a26 17| char* dmxConfigGetXkbRules | ( | void | ) |
Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().
d30 16 a45 13| char* dmxConfigGetXkbVariant | ( | void | ) | a46 5 |
Referenced by dmxDeviceOnOff(), and dmxKeyboardOn().
a47 14| void dmxConfigSetMaxScreens | ( | void | ) |
| void dmxConfigSetXkbLayout | ( | const char * | layout | ) | a75 3 |
Referenced by ddxProcessArgument(), and dmxConfigCopyFromParam().
| void dmxConfigSetXkbModel | ( | const char * | model | ) |
| void dmxConfigSetXkbOptions | ( | const char * | options | ) | a104 5 |
Referenced by ddxProcessArgument(), and dmxConfigCopyFromParam().
a105 14| void dmxConfigSetXkbRules | ( | const char * | rules | ) |
| void dmxConfigSetXkbVariant | ( | const char * | variant | ) | a133 5 |
Referenced by ddxProcessArgument(), and dmxConfigCopyFromParam().
a134 14| void dmxConfigStoreConfig | ( | const char * | config | ) |
| void dmxConfigStoreDisplay | ( | const char * | display | ) | d163 1 d165 26 a190 21 |
| void dmxConfigStoreFile | ( | const char * | file | ) | d192 1 d194 26 a219 21 |
| void dmxConfigStoreInput | ( | const char * | input | ) | d221 1 d223 14 a236 34 |
| void dmxConfigStoreXInput | ( | const char * | input | ) |
Make a note that input is the name of an X11 display that should be used for input from XInput extension devices.
References dmxFatal, dmxLog(), DMXConfigListStruct::name, DMXConfigListStruct::next, and DMXConfigCmdStruct::xinputs.
Referenced by ddxProcessArgument().