summaryrefslogtreecommitdiff
path: root/net/afpfs-ng/files/patch-include__afpfs-ng__codepage.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net/afpfs-ng/files/patch-include__afpfs-ng__codepage.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/afpfs-ng/files/patch-include__afpfs-ng__codepage.h b/net/afpfs-ng/files/patch-include__afpfs-ng__codepage.h
new file mode 100644
index 000000000000..79094bb37011
--- /dev/null
+++ b/net/afpfs-ng/files/patch-include__afpfs-ng__codepage.h
@@ -0,0 +1,15 @@
+--- include/afpfs-ng/codepage.h.orig 1970-01-01 00:00:00.000000000 +0000
++++ include/afpfs-ng/codepage.h 2012-10-14 13:11:33.000000000 +0000
+@@ -0,0 +1,11 @@
++#ifndef __CODE_PAGE_H_
++#define __CODE_PAGE_H_
++int convert_utf8dec_to_utf8pre(const char *src, int src_len,
++ char * dest, int dest_len);
++int convert_utf8pre_to_utf8dec(const char * src, int src_len,
++ char * dest, int dest_len);
++int convert_path_to_unix(char encoding, char * dest,
++ char * src, int dest_len);
++int convert_path_to_afp(char encoding, char * dest,
++ char * src, int dest_len);
++#endif
+diff -Naur afpfs-ng-0.8.1.orig/include/afpfs-ng/dsi.h afpfs-ng-0.8.1/include/afpfs-ng/dsi.h