File: ts2phc_pps_sink.h

package info (click to toggle)
linuxptp 4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,536 kB
  • sloc: ansic: 26,119; sh: 92; makefile: 87
file content (22 lines) | stat: -rw-r--r-- 576 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * @file ts2phc_pps_sink.h
 * @brief Utility program to synchronize the PHC clock to external events
 * @note Copyright (C) 2019 Balint Ferencz <fernya@sch.bme.hu>
 * @note SPDX-License-Identifier: GPL-2.0+
 */
#ifndef HAVE_TS2PHC_PPS_SINK_H
#define HAVE_TS2PHC_PPS_SINK_H

#include "ts2phc.h"

struct ts2phc_private;

int ts2phc_pps_sink_add(struct ts2phc_private *priv, const char *name);

int ts2phc_pps_sinks_init(struct ts2phc_private *priv);

void ts2phc_pps_sink_cleanup(struct ts2phc_private *priv);

int ts2phc_pps_sink_poll(struct ts2phc_private *priv);

#endif