/usr/include/ddccontrol/conf.h is in libddccontrol-dev 0.4.2-11ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | /*
read/write configuration files in ~/.ddccontrol (profiles, cached monitor list)
Copyright(c) 2005 Nicolas Boichat (nicolas@boichat.ch)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef PROFILE_H
#define PROFILE_H
#include "ddcci.h"
/* Read/write monitor list */
struct monitorlist* ddcci_load_list();
int ddcci_save_list(struct monitorlist* monlist);
/* Profile structures and functions */
/* Current profile format version */
#define PROFILEVERSION 1
struct profile {
char* filename;
xmlChar* name;
xmlChar* pnpid;
int size; /* Number of controls */
unsigned char address[256];
unsigned short value[256];
struct profile* next; /* Next profile in the list (used by get_all_profiles) */
};
struct profile* ddcci_create_profile(struct monitor* mon, const unsigned char* address, int size);
int ddcci_apply_profile(struct profile* profile, struct monitor* mon);
void ddcci_set_profile_name(struct profile* profile, const char* name);
int ddcci_get_all_profiles(struct monitor* mon);
struct profile* ddcci_load_profile(const char* filename);
int ddcci_save_profile(struct profile* profile, struct monitor* monitor);
void ddcci_delete_profile(struct profile* profile, struct monitor* monitor);
void ddcci_free_profile(struct profile* profile);
#endif //PROFILE_H
|