mirror of https://github.com/citusdata/citus.git
28 lines
720 B
C
28 lines
720 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* transmit.h
|
|
* Shared declarations for transmitting files between remote nodes.
|
|
*
|
|
* Copyright (c) Citus Data, Inc.
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef TRANSMIT_H
|
|
#define TRANSMIT_H
|
|
|
|
#include "c.h"
|
|
|
|
#include "lib/stringinfo.h"
|
|
#include "nodes/parsenodes.h"
|
|
#include "storage/fd.h"
|
|
|
|
|
|
/* Function declarations for transmitting files between two nodes */
|
|
extern void RedirectCopyDataToRegularFile(const char *filename);
|
|
extern void SendRegularFile(const char *filename);
|
|
extern File FileOpenForTransmit(const char *filename, int fileFlags, int fileMode);
|
|
|
|
|
|
#endif /* TRANSMIT_H */
|