File: testsync.h

package info (click to toggle)
lcagent 0.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 1,188 kB
  • sloc: ansic: 11,202; sh: 1,721; makefile: 318; yacc: 151; lex: 55
file content (17 lines) | stat: -rw-r--r-- 446 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */
/* Copyright (c) 2023 Brett Sheffield <bacs@librecast.net> */

#ifndef _TESTSYNC_H
#define _TESTSYNC_H 1

/* check mode, owner, group, times */
int statcmp(const char *src, const char *dst);

/* verify src and dst match (recursive directory compare) */
#if HAVE_GETCWD
# if HAVE_REALPATH
void test_verify_dirs(const char *src, const char *dst);
# endif
#endif

#endif /* _TESTSYNC_H */