mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 19:25:06 -05:00
conf: return hwtimestamp data in struct
This commit is contained in:
8
conf.h
8
conf.h
@@ -119,6 +119,12 @@ extern char *CNF_GetHwclockFile(void);
|
||||
extern int CNF_GetInitSources(void);
|
||||
extern double CNF_GetInitStepThreshold(void);
|
||||
|
||||
extern int CNF_GetHwTsInterface(unsigned int index, char **name, double *tx_comp, double *rx_comp);
|
||||
typedef struct {
|
||||
char *name;
|
||||
double tx_comp;
|
||||
double rx_comp;
|
||||
} CNF_HwTsInterface;
|
||||
|
||||
extern int CNF_GetHwTsInterface(unsigned int index, CNF_HwTsInterface **iface);
|
||||
|
||||
#endif /* GOT_CONF_H */
|
||||
|
||||
Reference in New Issue
Block a user