rsyncui/tools.h

17 lines
295 B
C
Raw Normal View History

2023-01-07 12:44:45 +01:00
#ifndef TOOLS_H
#define TOOLS_H
#include <string>
#include <vector>
2023-01-18 23:12:21 +01:00
#include <array>
2023-01-07 12:44:45 +01:00
using namespace std;
2023-01-18 23:12:21 +01:00
const vector<string> explode(const string& s, const char& c, int n);
FILE * popen2(array<string,8> argv, string type, int & pid);
2023-01-18 23:12:21 +01:00
2023-01-07 12:44:45 +01:00
int pclose2(FILE * fp, pid_t pid);
#endif // TOOLS_H