aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/user.h
blob: 5a0c86831c0c5c7489d8865f111e87bfd84ee745 (plain) (blame)
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
/* See LICENSE file for copyright and license details. */
#ifndef LIBGAMMA_TEST_USER_H
#define LIBGAMMA_TEST_USER_H


#include "methods.h"

#include <libgamma.h>

#include <stdio.h>
#include <stdlib.h>



/**
 * Let the user select adjustment method, site, partition and CRTC
 * 
 * @param   site_state  Output slot for the site
 * @param   part_state  Output slot for the partition
 * @param   crtc_state  Output slot for the CRTC
 * @return              Zero on and only on success
 */
int select_monitor(libgamma_site_state_t *restrict site_state,
                   libgamma_partition_state_t *restrict part_state,
                   libgamma_crtc_state_t *restrict crtc_state);


#endif