26e493cf4d
support the AppleTalk ddp protocol, and here to stay while NetBSD ships with AppleTalk support. Add Netatalk 3.0.8 wip package as net/netatalk30. "Netatalk 3 is a freely-available implementation of the Apple Filesharing Protocol Suite (AFP) over TCP/IP. Using Netatalk's AFP 3.1 compliant file-server leads to significantly higher transmissions speeds compared with Macs accessing a server via SMB or NFS, while providing clients with the best user experience (full support for Macintosh metadata, flawlessly supporting mixed environments of classic MacOS and MacOS X clients)."
22 lines
1.3 KiB
Text
22 lines
1.3 KiB
Text
$NetBSD: patch-au,v 1.1 2014/06/11 11:03:56 hauke Exp $
|
|
|
|
--- include/atalk/cnid.h.orig 2011-07-22 00:30:42.000000000 -0400
|
|
+++ include/atalk/cnid.h 2011-09-21 11:11:35.000000000 -0400
|
|
@@ -54,7 +54,7 @@
|
|
void *_private; /* back-end speficic data */
|
|
|
|
cnid_t (*cnid_add) (struct _cnid_db *cdb, const struct stat *st, const cnid_t did,
|
|
- char *name, const size_t, cnid_t hint);
|
|
+ const char *name, const size_t, cnid_t hint);
|
|
int (*cnid_delete) (struct _cnid_db *cdb, cnid_t id);
|
|
cnid_t (*cnid_get) (struct _cnid_db *cdb, const cnid_t did, char *name, const size_t);
|
|
cnid_t (*cnid_lookup) (struct _cnid_db *cdb, const struct stat *st, const cnid_t did,
|
|
@@ -67,7 +67,7 @@
|
|
int (*cnid_getstamp) (struct _cnid_db *cdb, void *buffer, const size_t len);
|
|
cnid_t (*cnid_rebuild_add) (struct _cnid_db *, const struct stat *, const cnid_t,
|
|
char *, const size_t, cnid_t);
|
|
- int (*cnid_find) (struct _cnid_db *cdb, char *name, size_t namelen,
|
|
+ int (*cnid_find) (struct _cnid_db *cdb, const char *name, size_t namelen,
|
|
void *buffer, size_t buflen);
|
|
};
|
|
typedef struct _cnid_db cnid_db;
|