2
* nvidia-settings: A tool for configuring the NVIDIA X driver on Unix
5
* Copyright (C) 2004 NVIDIA Corporation.
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of Version 2 of the GNU General Public
9
* License as published by the Free Software Foundation.
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See Version 2
14
* of the GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the:
19
* Free Software Foundation, Inc.
20
* 59 Temple Place - Suite 330
21
* Boston, MA 02111-1307, USA
25
#ifndef __COMMAND_LINE_H__
26
#define __COMMAND_LINE_H__
28
#include <NvCtrlAttributes.h>
30
#define DEFAULT_RC_FILE "~/.nvidia-settings-rc"
33
* Options structure -- stores the parameters specified on the
39
char *ctrl_display; /*
40
* The name of the display to control
41
* (doesn't have to be the same as the
42
* display on which the gui is shown
46
* The name of the configuration file (to be
47
* read from, and to be writen to); defaults
48
* to the value of the constant
52
char **assignments; /*
53
* Dyanamically allocated array of assignment
54
* strings specified on the commandline.
57
int num_assignments; /*
58
* Number of assignment strings in the
63
* Dyanamically allocated array of query
64
* strings specified on the commandline.
68
* Number of query strings in the query
73
* If true, just read the configuration file,
74
* send the attributes to the X server, and
80
Options *parse_command_line(int argc, char *argv[], char *dpy);
82
#endif /* __COMMAND_LINE_H__ */