mirror of https://github.com/citusdata/citus.git
26 lines
693 B
C
26 lines
693 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* transmit.h
|
|
* Shared declarations for transmitting files between remote nodes.
|
|
*
|
|
* Copyright (c) 2012-2016, Citus Data, Inc.
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef TRANSMIT_H
|
|
#define TRANSMIT_H
|
|
|
|
#include "lib/stringinfo.h"
|
|
|
|
|
|
/* Function declarations for transmitting files between two nodes */
|
|
extern void RedirectCopyDataToRegularFile(const char *filename);
|
|
extern void SendRegularFile(const char *filename);
|
|
|
|
/* Function declaration local to commands and worker modules */
|
|
extern void FreeStringInfo(StringInfo stringInfo);
|
|
|
|
|
|
#endif /* TRANSMIT_H */
|