]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_fruit: add AfpInfo prototypes
authorRalph Boehme <slow@samba.org>
Wed, 15 Nov 2017 15:52:16 +0000 (16:52 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 5 Dec 2017 09:32:11 +0000 (10:32 +0100)
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13155

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(backported from commit 84976cb670847f199598995d48bd9c3f3dd0f035)

source3/modules/vfs_fruit.c

index bfb265ba722d13b514593c1b3ba67c9503d69175..d038e59f184ffaaa54290fd931a216c661ee7f6c 100644 (file)
@@ -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