fixed help page.some new function in common

This commit is contained in:
wangyu
2017-08-17 23:40:17 +08:00
parent ac02ea91d7
commit e502076394
4 changed files with 159 additions and 26 deletions

View File

@@ -47,6 +47,8 @@
#include<unordered_map>
#include<vector>
#include<string>
using namespace std;
@@ -143,4 +145,10 @@ int add_iptables_rule(char *);
int clear_iptables_rule();
int run_command(const char * command,char * &output);
int read_file(const char * file,char * &output);
vector<string> string_to_vec(const char * s,const char * sp);
vector< vector <string> > string_to_vec2(const char * s);
#endif /* COMMON_H_ */