summaryrefslogtreecommitdiff
path: root/src/qhyccd/QHYCCDCam.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/qhyccd/QHYCCDCam.rs')
-rw-r--r--src/qhyccd/QHYCCDCam.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qhyccd/QHYCCDCam.rs b/src/qhyccd/QHYCCDCam.rs
index 960993e..b5911c1 100644
--- a/src/qhyccd/QHYCCDCam.rs
+++ b/src/qhyccd/QHYCCDCam.rs
@@ -1,7 +1,7 @@
use std::os;
#[repr(u32)]
-#[derive(Copy, Clone, Debug)]
+#[derive(Copy, Clone, Debug, PartialEq)]
pub enum QHYResult {
QHYCCD_SUCCESS = 0,
QHYCCD_READ_DIRECTLY = 0x2001,
@@ -118,6 +118,7 @@ extern "C" {
bpp: *mut os::raw::c_int) -> os::raw::c_int;
pub fn CancelQHYCCDExposingAndReadout(handle: *mut os::raw::c_void) -> os::raw::c_int;
pub fn ControlQHYCCDTemp(handle: *mut os::raw::c_void, target: os::raw::c_double) -> os::raw::c_int;
+ pub fn SetQHYCCDLogLevel(log_level: os::raw::c_char);
pub fn SetQHYCCDDebayerOnOff(handle: *mut os::raw::c_void, onoff: os::raw::c_int) -> os::raw::c_int;
pub fn SetQHYCCDBinMode(handle: *mut os::raw::c_void, wbin: os::raw::c_int, hbin: os::raw::c_int) -> os::raw::c_int;
pub fn SetQHYCCDBitsMode(handle: *mut os::raw::c_void, bits: os::raw::c_int) -> os::raw::c_int;