mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 14:48:59 +01:00
wip
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h> // int64_t
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
||||
enum numberMode { DEC, HEX };
|
||||
|
||||
/**
|
||||
* Convert a value from a range to a different range (eg voltage to dac or vice
|
||||
* versa)
|
||||
@@ -19,4 +22,8 @@ int ConvertToDifferentRange(int inputMin, int inputMax, int outputMin,
|
||||
|
||||
int getAbsPath(char *buf, size_t bufSize, char *fname);
|
||||
|
||||
int GetTimeFromString(char *buf, time_t *result);
|
||||
int GetTimeFromString(char *buf, time_t *result);
|
||||
|
||||
void validate(int arg, int retval, char *modename, enum numberMode nummode);
|
||||
void validate64(int64_t arg, int64_t retval, char *modename,
|
||||
enum numberMode nummode);
|
||||
|
||||
Reference in New Issue
Block a user