vfs: check userland buffers before reading them.
[haiku.git] / headers / private / graphics / common / ddc.h
blob583082ac7618e5d481cd6357d9c074063197bfb5
1 /*
2 * Copyright (c) 2003, Thomas Kurschel
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _DDC_H
6 #define _DDC_H
9 #include "i2c.h"
10 #include "edid.h"
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
17 void ddc2_init_timing(i2c_bus *bus);
19 // read EDID and VDIF from monitor via ddc2
20 // (currently, *vdif and *vdif_len is always set to null)
21 status_t ddc2_read_edid1(const i2c_bus *bus, edid1_info *edid,
22 void **vdif, size_t *vdifLength);
24 #ifdef __cplusplus
26 #endif
28 #endif /* _DDC_H */