/usr/include/nexstar_pec.h is in libnexstar-dev 0.15-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 29 30 31 32 33 34 35 36 37 | /**************************************************************
Celestron NexStar compatible telescope control library
(C)2013-2016 by Rumen G.Bogdanovski
***************************************************************/
#if !defined(__NEXSTAR_PEC_H)
#define __NEXSTAR_PEC_H
#define PEC_START 1
#define PEC_STOP 0
#ifdef __cplusplus /* If this is a C++ compiler, use C linkage */
extern "C" {
#endif
int pec_index_found(int dev);
int pec_seek_index(int dev);
int pec_record(int dev, char action);
int pec_record_complete(int dev);
int pec_playback(int dev, char action);
int pec_get_playback_index(int dev);
int pec_get_data_len(int dev);
int _pec_set_data(int dev, unsigned char index, char data);
int _pec_get_data(int dev, unsigned char index);
int pec_set_data(int dev, float *data, int len);
int pec_get_data(int dev, float *data, const int max_len);
#ifdef __cplusplus /* If this is a C++ compiler, end C linkage */
}
#endif
#endif /* __NEXSTAR_PEC_H */
|