PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
copydir.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * copydir.h
4 * Copy a directory.
5 *
6 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
8 *
9 * src/include/storage/copydir.h
10 *
11 *-------------------------------------------------------------------------
12 */
13#ifndef COPYDIR_H
14#define COPYDIR_H
15
16typedef enum FileCopyMethod
17{
21
22/* GUC parameters */
24
25extern void copydir(const char *fromdir, const char *todir, bool recurse);
26extern void copy_file(const char *fromfile, const char *tofile);
27
28#endif /* COPYDIR_H */
#define PGDLLIMPORT
Definition: c.h:1291
FileCopyMethod
Definition: copydir.h:17
@ FILE_COPY_METHOD_COPY
Definition: copydir.h:18
@ FILE_COPY_METHOD_CLONE
Definition: copydir.h:19
void copy_file(const char *fromfile, const char *tofile)
Definition: copydir.c:133
void copydir(const char *fromdir, const char *todir, bool recurse)
Definition: copydir.c:48
PGDLLIMPORT int file_copy_method
Definition: copydir.c:34