File: ts2phc_pps_source_private.h

package info (click to toggle)
linuxptp 4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,536 kB
  • sloc: ansic: 26,119; sh: 92; makefile: 87
file content (21 lines) | stat: -rw-r--r-- 560 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * @file ts2phc_pps_source_private.h
 * @note Copyright (C) 2019 Richard Cochran <richardcochran@gmail.com>
 * @note SPDX-License-Identifier: GPL-2.0+
 */
#ifndef HAVE_TS2PHC_PPS_SOURCE_PRIVATE_H
#define HAVE_TS2PHC_PPS_SOURCE_PRIVATE_H

#include <stdint.h>
#include <time.h>

#include "contain.h"
#include "ts2phc_pps_source.h"

struct ts2phc_pps_source {
	void (*destroy)(struct ts2phc_pps_source *src);
	int (*getppstime)(struct ts2phc_pps_source *src, struct timespec *ts);
	struct ts2phc_clock *(*get_clock)(struct ts2phc_pps_source *src);
};

#endif