rsyncui/tools.h
2023-02-10 21:32:20 +01:00

24 lines
409 B
C++

#ifndef TOOLS_H
#define TOOLS_H
#include <string>
#include <vector>
#include <array>
#include <QString>
#include <QMap>
#include <QTranslator>
#include <QProcess>
using namespace std;
const vector<string> explode(const string& s, const char& c, int n);
FILE * popen2(array<string,8> argv, string type, int & pid);
int pclose2(FILE * fp, pid_t pid);
bool testRsyncReturn(QProcess *);
#endif // TOOLS_H