freebsd-ports/net/afpfs-ng/files/patch-include__afpfs-ng__codepage.h
Martin Wilke df2e80c8b4 afpfs-ng is an Apple Filing Protocol client that will allow BSD,
Linux and Mac OS X systems to access files exported from a
Mac OS system with AFP over TCP.

WWW: http://sourceforge.net/projects/afpfs-ng/

PR:		ports/172780
Submitted by:	Manuel Creach <manuel.creach@icloud.com>
2013-02-18 04:43:58 +00:00

15 lines
659 B
C

--- 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