summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/src/GPGw/tools.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-07-20 16:21:49 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-07-20 16:21:49 +0000
commitf424a18112032cf61d2871a6b91a5af607c171ae (patch)
tree88fedc4e28941ceecda7026f0b06eba6271f91d5 /plugins/CryptoPP/src/GPGw/tools.h
parentbfe1bd0fc087be44c70904aee0fe4276643d206d (diff)
CryptoPP:
changed folder structure git-svn-id: http://svn.miranda-ng.org/main/trunk@1083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP/src/GPGw/tools.h')
-rw-r--r--plugins/CryptoPP/src/GPGw/tools.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/CryptoPP/src/GPGw/tools.h b/plugins/CryptoPP/src/GPGw/tools.h
new file mode 100644
index 0000000000..74da8552d3
--- /dev/null
+++ b/plugins/CryptoPP/src/GPGw/tools.h
@@ -0,0 +1,25 @@
+#ifndef __TOOLS_H__
+#define __TOOLS_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void replace(char *atext, const char *apattern, const char *areplacement);
+char *getNextPart(char *aresult, char *atext, const char *aseparator);
+void getLastPart(char *aresult, char *atext);
+void appendText(char **abuffer, const char *atext, int atextsize);
+void quoteEscapeSequences(char *atext);
+void unquoteEscapeSequences(char *atext);
+
+BOOL existsFile(const char *afilename);
+BOOL existsPath(const char *apathname);
+BOOL writeToFile(char *afilename, const char *atext);
+BOOL readFromFile(char *aresult, const char *afilename);
+void getTemporaryFileName(char *aresult);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // __TOOLS_H__