From: Ralph Boehme Date: Wed, 15 Nov 2017 15:52:16 +0000 (+0100) Subject: vfs_fruit: add AfpInfo prototypes X-Git-Tag: samba-4.6.12~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0282d52e6905eb0e7e3a01bb5328bff89e84c227;p=thirdparty%2Fsamba.git vfs_fruit: add AfpInfo prototypes Bug: https://bugzilla.samba.org/show_bug.cgi?id=13155 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison (backported from commit 84976cb670847f199598995d48bd9c3f3dd0f035) --- diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c index bfb265ba722..d038e59f184 100644 --- a/source3/modules/vfs_fruit.c +++ b/source3/modules/vfs_fruit.c @@ -477,6 +477,9 @@ static struct adouble *ad_init(TALLOC_CTX *ctx, vfs_handle_struct *handle, static int ad_set(struct adouble *ad, const char *path); static int ad_fset(struct adouble *ad, files_struct *fsp); static int adouble_path(TALLOC_CTX *ctx, const char *path_in, char **path_out); +static AfpInfo *afpinfo_new(TALLOC_CTX *ctx); +static ssize_t afpinfo_pack(const AfpInfo *ai, char *buf); +static AfpInfo *afpinfo_unpack(TALLOC_CTX *ctx, const void *data); /** * Return a pointer to an AppleDouble entry