File: pktlength.h

package info (click to toggle)
chrony 1.10-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,504 kB
  • ctags: 2,064
  • sloc: ansic: 15,081; sh: 152; makefile: 107
file content (29 lines) | stat: -rw-r--r-- 751 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
23
24
25
26
27
28
29
/*
  $Header: /home/richard/myntp/chrony/chrony-1.1/RCS/pktlength.h,v 1.2 1999/04/19 20:27:29 richard Exp $

  =======================================================================

  chronyd/chronyc - Programs for keeping computer clocks accurate.

  Copyright (C) 1997-1999 Richard P. Curnow
  All rights reserved.

  For conditions of use, refer to the file LICENCE.

  =======================================================================

  Header for pktlength.c, routines for working out the expected length
  of a network command/reply packet.

  */

#ifndef GOT_PKTLENGTH_H
#define GOT_PKTLENGTH_H

#include "candm.h"

extern int PKL_CommandLength(CMD_Request *r);

extern int PKL_ReplyLength(CMD_Reply *r);

#endif /* GOT_PKTLENGTH_H */