/usr/include/udport/histogram.h is in libxgks-dev 2.6.1+dfsg.2-3.
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 38 39 40 41 42 43 44 45 | #ifndef UD_HIST_H
#define UD_HIST_H
#include "udposix.h"
#include "limits.h"
typedef struct {
long *bin;
HIST_TYPE start;
HIST_TYPE stop;
HIST_TYPE inc;
long nbin;
long toolow;
long toohigh;
long total;
} Histogram;
UD_EXTERN_FUNC(int hist_init, (
Histogram *hist,
HIST_TYPE start,
HIST_TYPE inc,
long nbin
));
UD_EXTERN_FUNC(void hist_clear, (
Histogram *hist
));
UD_EXTERN_FUNC(void hist_add, (
Histogram *hist,
HIST_TYPE value
));
UD_EXTERN_FUNC(long hist_get, (
Histogram *hist,
long index
));
UD_EXTERN_FUNC(long hist_total, (
Histogram *hist
));
UD_EXTERN_FUNC(void hist_destroy, (
Histogram *hist
));
#endif /* header file lockout */
|