ports/net/afpfs-ng/files/patch-include__afpfs-ng__uams_def.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

20 lines
635 B
C

--- include/afpfs-ng/uams_def.h.orig 1970-01-01 00:00:00.000000000 +0000
+++ include/afpfs-ng/uams_def.h 2012-10-14 13:11:34.000000000 +0000
@@ -0,0 +1,16 @@
+#ifndef __UAM_DEFS_H_
+#define __UAM_DEFS_H_
+
+#define UAM_NOUSERAUTHENT 0x1
+#define UAM_CLEARTXTPASSWRD 0x2
+#define UAM_RANDNUMEXCHANGE 0x4
+#define UAM_2WAYRANDNUM 0x8
+#define UAM_DHCAST128 0x10
+#define UAM_CLIENTKRB 0x20
+#define UAM_DHX2 0x40
+#define UAM_RECON1 0x80
+
+int uam_string_to_bitmap(char * name);
+char * uam_bitmap_to_string(unsigned int bitmap);
+
+#endif
diff -Naur afpfs-ng-0.8.1.orig/include/afpfs-ng/utils.h afpfs-ng-0.8.1/include/afpfs-ng/utils.h