netatalk: afpcmd.h Source File

netatalk 4.5.1
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
afpcmd.h
Go to the documentation of this file.
1/* -------------------------------- */
2#ifndef AFPCMD_H
3#define AFPCMD_H
4
5#include <inttypes.h>
6
7#include "afpclient.h"
8
9extern unsigned int FPSpotlightOpen(CONN *conn, uint16_t vid,
10 char *vol_path_out,
11 size_t vol_path_buflen);
12extern unsigned int FPSpotlightOpenQuery(CONN *conn, uint16_t vid,
13 const char *query_dsl,
14 uint64_t ctx);
15extern unsigned int FPSpotlightDrainResults(CONN *conn, uint16_t vid,
16 uint64_t ctx,
17 int *total_results_out);
18extern unsigned int FPSpotlightCloseQuery(CONN *conn, uint16_t vid,
19 uint64_t ctx);
20extern unsigned int FPSpotlightFetchPropertiesWithShrunkTOC(CONN *conn,
21 uint16_t vid);
22extern unsigned int FPSpotlightFetchPropertiesWithLargeTOCIndex(CONN *conn,
23 uint16_t vid);
24extern unsigned int FPSpotlightRPCWithLargeInt64Count(CONN *conn,
25 uint16_t vid);
26
27extern unsigned int FPopenLogin(CONN *conn, char *vers, char *uam, char *usr,
28 char *pwd);
29extern unsigned int FPopenLoginExt(CONN *conn, char *vers, char *uam, char *usr,
30 char *pwd);
31extern unsigned int FPzzz(CONN *conn, int);
32extern unsigned int FPLogOut(CONN *conn);
33extern unsigned int FPMapID(CONN *conn, char fn, int id);
34extern unsigned int FPMapName(CONN *conn, char fn, char *name);
35extern unsigned int FPGetSessionToken(CONN *conn, int type, uint32_t time,
36 int len, char *token);
37extern unsigned int FPDisconnectOldSession(CONN *conn, uint16_t type, int len,
38 char *token);
39
40extern unsigned int FPGetSrvrInfo(CONN *conn);
41extern unsigned int FPGetSrvrParms(CONN *conn);
42extern unsigned int FPGetSrvrMsg(CONN *conn, uint16_t type, uint16_t bitmap);
43
44extern uint16_t FPOpenVol(CONN *conn, char *vol);
45extern uint16_t FPOpenVolFull(CONN *conn, char *vol, uint16_t bitmap);
46extern unsigned int FPCloseVol(CONN *conn, uint16_t vol);
47extern uint16_t FPOpenDT(CONN *conn, uint16_t vol);
48extern unsigned int FPCloseDT(CONN *conn, uint16_t vol);
49extern unsigned int FPCloseDir(CONN *conn, uint16_t vol, int did);
50
51extern unsigned int FPByteLock(CONN *conn, uint16_t fork, int end, int mode,
52 int offset, int size);
53extern unsigned int FPByteLock_ext(CONN *conn, uint16_t fork, int end, int mode,
54 off_t offset, off_t size);
55
56extern unsigned int FPCloseFork(CONN *conn, uint16_t vol);
57
58extern unsigned int FPFlush(CONN *conn, uint16_t vol);
59extern unsigned int FPFlushFork(CONN *conn, uint16_t vol);
60extern unsigned int FPEnumerate(CONN *conn, uint16_t vol, int did, char *name,
61 uint16_t f_bitmap, uint16_t d_bitmap);
62extern unsigned int FPEnumerateFull(CONN *conn, uint16_t vol, uint16_t sindex,
63 uint16_t reqcnt, uint16_t size,
64 int did, char *name, uint16_t f_bitmap, uint16_t d_bitmap);
65
66extern unsigned int FPGetFileDirParams(CONN *conn, uint16_t vol, int did,
67 char *name, uint16_t f_bitmap, uint16_t d_bitmap);
68extern unsigned int FPEnumerate_ext(CONN *conn, uint16_t vol, int did,
69 char *name, uint16_t f_bitmap, uint16_t d_bitmap);
70extern unsigned int FPEnumerate_ext2(CONN *conn, uint16_t vol, int did,
71 char *name, uint16_t f_bitmap, uint16_t d_bitmap);
72extern unsigned int FPEnumerateExt2Full(CONN *conn, uint16_t vol, uint32_t did,
73 char *name, uint16_t f_bitmap, uint16_t d_bitmap, uint32_t startindex,
74 uint16_t reqcount);
75extern unsigned int FPDelete(CONN *conn, uint16_t vol, int did, char *name);
76extern unsigned int FPOpenDir(CONN *conn, uint16_t vol, int did, char *name);
77extern unsigned int FPCreateDir(CONN *conn, uint16_t vol, int did, char *name);
78extern uint16_t FPOpenFork(CONN *conn, uint16_t vol, int type,
79 uint16_t bitmap, int did, char *name, int access);
80extern unsigned int FPCreateFile(CONN *conn, uint16_t vol, char type, int did,
81 char *name);
82extern unsigned int FPGetForkParam(CONN *conn, uint16_t fork, uint16_t bitmap);
83extern unsigned int FPCopyFile(CONN *conn, uint16_t svol, int sdid,
84 uint16_t dvol, int ddid, char *src, char *dstdir, char *dst);
85extern unsigned int FPExchangeFile(CONN *conn, uint16_t vol, int sdid, int ddid,
86 char *src, char *dst);
87
88extern unsigned int FPMoveAndRename(CONN *conn, uint16_t svol, int sdid,
89 int ddid, char *src, char *dst);
90extern unsigned int FPRename(CONN *conn, uint16_t svol, int sdid, char *src,
91 char *dst);
92
93extern unsigned int FPReadHeader(DSI *dsi, uint16_t fork, int offset, int size,
94 char *data);
95extern unsigned int FPReadFooter(DSI *dsi, uint16_t fork, int offset, int size,
96 char *data);
97extern unsigned int FPRead(CONN *conn, uint16_t fork, long long offset,
98 int size, char *data);
99
100extern unsigned int FPRead_ext(CONN *conn, uint16_t fork, off_t offset,
101 off_t size, char *data);
102extern unsigned int FPRead_ext_async(CONN *conn, uint16_t fork, off_t offset,
103 off_t size, char *data);
104
105extern unsigned int FPWriteHeader(DSI *dsi, uint16_t fork, int offset, int size,
106 char *data, char whence);
107extern unsigned int FPWriteFooter(DSI *dsi, uint16_t fork, int offset, int size,
108 char *data, char whence);
109extern unsigned int FPWrite(CONN *conn, uint16_t fork, long long offset,
110 int size, char *data, char whence);
111extern unsigned int FPWrite_ext(CONN *conn, uint16_t fork, off_t offset,
112 off_t size, char *data, char whence);
113extern unsigned int FPWrite_ext_async(CONN *conn, uint16_t fork, off_t offset,
114 off_t size, char *data, char whence);
115
116extern unsigned int FPSetForkParam(CONN *conn, uint16_t fork, uint16_t bitmap,
117 off_t size);
118
119extern unsigned int FPGetComment(CONN *conn, uint16_t vol, int did, char *name);
120extern unsigned int FPRemoveComment(CONN *conn, uint16_t vol, int did,
121 char *name);
122extern unsigned int FPAddComment(CONN *conn, uint16_t vol, int did, char *name,
123 char *cmt);
124
125extern unsigned int FPGetVolParam(CONN *conn, uint16_t vol, uint16_t bitmap);
126extern unsigned int FPSetVolParam(CONN *conn, uint16_t vol, uint16_t bitmap,
127 struct afp_volume_parms *parms);
128
129extern unsigned int FPGetUserInfo(CONN *conn, char flag, int id,
130 uint16_t bitmap);
131
132extern unsigned int FPSetDirParms(CONN *conn, uint16_t vol, int did, char *name,
133 uint16_t bitmap,
134 struct afp_filedir_parms *dir);
135extern unsigned int FPSetFilDirParam(CONN *conn, uint16_t vol, int did,
136 char *name, uint16_t bitmap,
137 struct afp_filedir_parms *fil);
138
139extern unsigned int FPSetFileParams(CONN *, uint16_t vol, int did, char *name,
140 uint16_t bitmap, struct afp_filedir_parms *);
141
142extern unsigned int FPCreateID(CONN *conn, uint16_t vol, int did, char *name);
143extern unsigned int FPDeleteID(CONN *conn, uint16_t vol, int did);
144extern unsigned int FPResolveID(CONN *conn, uint16_t vol, int did,
145 uint16_t bitmap);
146
147extern unsigned int FPAddIcon(CONN *conn, uint16_t dt, char *creator,
148 char *type, char itype, uint32_t tag,
149 uint16_t size, char *data);
150extern unsigned int FPGetIcon(CONN *conn, uint16_t dt, char *creator,
151 char *type, char itype, uint16_t size);
152extern unsigned int FPGetIconInfo(CONN *conn, uint16_t dt,
153 unsigned char *creator, uint16_t itype);
154
155extern unsigned int FPGetAppl(CONN *conn, uint16_t dt, char *name,
156 uint16_t index, uint16_t f_bitmap);
157extern unsigned int FPAddAPPL(CONN *conn, uint16_t dt, int did, char *creator,
158 uint32_t tag, char *name);
159extern unsigned int FPRemoveAPPL(CONN *conn, uint16_t dt, int did,
160 char *creator, char *name);
161
162extern unsigned int FPCatSearch(CONN *conn, uint16_t vol, uint32_t nbe,
163 char *pos, uint16_t f_bitmap, uint16_t d_bitmap,
164 uint32_t rbitmap, struct afp_filedir_parms *filedir,
165 struct afp_filedir_parms *filedir2);
166
167extern unsigned int FPCatSearchExt(CONN *conn, uint16_t vol, uint32_t nbe,
168 char *pos, uint16_t f_bitmap, uint16_t d_bitmap,
169 uint32_t rbitmap, struct afp_filedir_parms *filedir,
170 struct afp_filedir_parms *filedir2);
171
172extern unsigned int FPBadPacket(CONN *conn, char fn, char *name);
173
174extern unsigned int FPGetACL(CONN *conn, uint16_t svol, int did,
175 uint16_t bitmap, char *name);
176extern unsigned int FPGetExtAttr(CONN *conn, uint16_t vol, int did,
177 uint16_t bitmap, uint16_t maxsize, char *name, char *attr);
178extern unsigned int FPListExtAttr(CONN *conn, uint16_t vol, int did,
179 uint16_t bitmap, int maxsize, char *name);
180extern unsigned int FPSetExtAttr(CONN *conn, uint16_t vol, int did,
181 uint16_t bitmap, char *name, char *attr, char *data);
182extern unsigned int FPRemoveExtAttr(CONN *conn, uint16_t vol, int did,
183 uint16_t bitmap, char *name, char *attr);
184extern unsigned int FPSyncDir(CONN *conn, uint16_t vol, int did);
185
186char *afp_error(int error);
187
188#endif
ctx
struct context * ctx
Definition afp_avahi.c:31
vers
char * vers
Definition afparg.c:53
uam
char * uam
Definition afparg.c:54
dsi
static DSI * dsi
Definition afparg.c:39
afpclient.h
FPWriteFooter
unsigned int FPWriteFooter(DSI *dsi, uint16_t fork, int offset, int size, char *data, char whence)
Definition afpcmd.c:2410
FPSpotlightFetchPropertiesWithShrunkTOC
unsigned int FPSpotlightFetchPropertiesWithShrunkTOC(CONN *conn, uint16_t vid)
Send an otherwise-valid fetchPropertiesForContext: request whose TOC tag claims no usable complex-obj...
Definition afpcmd_spotlight.c:178
FPMoveAndRename
unsigned int FPMoveAndRename(CONN *conn, uint16_t svol, int sdid, int ddid, char *src, char *dst)
Definition afpcmd.c:2235
FPGetFileDirParams
unsigned int FPGetFileDirParams(CONN *conn, uint16_t vol, int did, char *name, uint16_t f_bitmap, uint16_t d_bitmap)
Definition afpcmd.c:1321
FPGetIcon
unsigned int FPGetIcon(CONN *conn, uint16_t dt, char *creator, char *type, char itype, uint16_t size)
Definition afpcmd.c:895
FPSyncDir
unsigned int FPSyncDir(CONN *conn, uint16_t vol, int did)
Definition afpcmd.c:2035
FPRemoveExtAttr
unsigned int FPRemoveExtAttr(CONN *conn, uint16_t vol, int did, uint16_t bitmap, char *name, char *attr)
Definition afpcmd.c:2550
FPReadFooter
unsigned int FPReadFooter(DSI *dsi, uint16_t fork, int offset, int size, char *data)
Definition afpcmd.c:2324
FPSpotlightOpenQuery
unsigned int FPSpotlightOpenQuery(CONN *conn, uint16_t vid, const char *query_dsl, uint64_t ctx)
Build and send an openQueryWithParams:forContext: Spotlight RPC.
Definition afpcmd_spotlight.c:306
FPExchangeFile
unsigned int FPExchangeFile(CONN *conn, uint16_t vol, int sdid, int ddid, char *src, char *dst)
Definition afpcmd.c:2196
FPDisconnectOldSession
unsigned int FPDisconnectOldSession(CONN *conn, uint16_t type, int len, char *token)
Definition afpcmd.c:679
FPByteLock
unsigned int FPByteLock(CONN *conn, uint16_t fork, int end, int mode, int offset, int size)
Definition afpcmd.c:1101
FPCloseFork
unsigned int FPCloseFork(CONN *conn, uint16_t vol)
Definition afpcmd.c:1069
FPRead
unsigned int FPRead(CONN *conn, uint16_t fork, long long offset, int size, char *data)
Definition afpcmd.c:2340
FPCreateID
unsigned int FPCreateID(CONN *conn, uint16_t vol, int did, char *name)
Definition afpcmd.c:1364
FPCreateFile
unsigned int FPCreateFile(CONN *conn, uint16_t vol, char type, int did, char *name)
Definition afpcmd.c:1837
FPSpotlightFetchPropertiesWithLargeTOCIndex
unsigned int FPSpotlightFetchPropertiesWithLargeTOCIndex(CONN *conn, uint16_t vid)
Send a valid fetchPropertiesForContext: request whose first complex tag references a far out-of-range...
Definition afpcmd_spotlight.c:217
FPMapID
unsigned int FPMapID(CONN *conn, char fn, int id)
Definition afpcmd.c:697
FPSpotlightDrainResults
unsigned int FPSpotlightDrainResults(CONN *conn, uint16_t vid, uint64_t ctx, int *total_results_out)
Drain Spotlight query results until the server reports complete.
Definition afpcmd_spotlight.c:382
FPDelete
unsigned int FPDelete(CONN *conn, uint16_t vol, int did, char *name)
Definition afpcmd.c:1674
FPReadHeader
unsigned int FPReadHeader(DSI *dsi, uint16_t fork, int offset, int size, char *data)
Definition afpcmd.c:2308
FPCreateDir
unsigned int FPCreateDir(CONN *conn, uint16_t vol, int did, char *name)
Definition afpcmd.c:1794
FPGetSrvrInfo
unsigned int FPGetSrvrInfo(CONN *conn)
Definition afpcmd.c:762
FPWrite_ext
unsigned int FPWrite_ext(CONN *conn, uint16_t fork, off_t offset, off_t size, char *data, char whence)
Definition afpcmd.c:2444
FPSetDirParms
unsigned int FPSetDirParms(CONN *conn, uint16_t vol, int did, char *name, uint16_t bitmap, struct afp_filedir_parms *dir)
Definition afpcmd.c:1943
FPGetSessionToken
unsigned int FPGetSessionToken(CONN *conn, int type, uint32_t time, int len, char *token)
Definition afpcmd.c:662
FPCloseDir
unsigned int FPCloseDir(CONN *conn, uint16_t vol, int did)
Definition afpcmd.c:1156
FPopenLogin
unsigned int FPopenLogin(CONN *conn, char *vers, char *uam, char *usr, char *pwd)
Definition afpcmd.c:571
FPSetVolParam
unsigned int FPSetVolParam(CONN *conn, uint16_t vol, uint16_t bitmap, struct afp_volume_parms *parms)
Definition afpcmd.c:1035
FPEnumerateExt2Full
unsigned int FPEnumerateExt2Full(CONN *conn, uint16_t vol, uint32_t did, char *name, uint16_t f_bitmap, uint16_t d_bitmap, uint32_t startindex, uint16_t reqcount)
Definition afpcmd.c:1601
FPByteLock_ext
unsigned int FPByteLock_ext(CONN *conn, uint16_t fork, int end, int mode, off_t offset, off_t size)
Definition afpcmd.c:1119
FPAddAPPL
unsigned int FPAddAPPL(CONN *conn, uint16_t dt, int did, char *creator, uint32_t tag, char *name)
Definition afpcmd.c:1889
FPCopyFile
unsigned int FPCopyFile(CONN *conn, uint16_t svol, int sdid, uint16_t dvol, int ddid, char *src, char *dstdir, char *dst)
Definition afpcmd.c:2155
FPGetExtAttr
unsigned int FPGetExtAttr(CONN *conn, uint16_t vol, int did, uint16_t bitmap, uint16_t maxsize, char *name, char *attr)
Definition afpcmd.c:2495
FPSetExtAttr
unsigned int FPSetExtAttr(CONN *conn, uint16_t vol, int did, uint16_t bitmap, char *name, char *attr, char *data)
Definition afpcmd.c:2531
FPEnumerate_ext
unsigned int FPEnumerate_ext(CONN *conn, uint16_t vol, int did, char *name, uint16_t f_bitmap, uint16_t d_bitmap)
Definition afpcmd.c:1470
FPDeleteID
unsigned int FPDeleteID(CONN *conn, uint16_t vol, int did)
Definition afpcmd.c:1399
FPRemoveComment
unsigned int FPRemoveComment(CONN *conn, uint16_t vol, int did, char *name)
Definition afpcmd.c:1710
FPRead_ext
unsigned int FPRead_ext(CONN *conn, uint16_t fork, off_t offset, off_t size, char *data)
Definition afpcmd.c:2358
FPSpotlightCloseQuery
unsigned int FPSpotlightCloseQuery(CONN *conn, uint16_t vid, uint64_t ctx)
Send a closeQueryForContext: Spotlight RPC for the given context.
Definition afpcmd_spotlight.c:511
FPLogOut
unsigned int FPLogOut(CONN *conn)
Definition afpcmd.c:630
FPOpenDT
uint16_t FPOpenDT(CONN *conn, uint16_t vol)
Definition afpcmd.c:851
FPSpotlightOpen
unsigned int FPSpotlightOpen(CONN *conn, uint16_t vid, char *vol_path_out, size_t vol_path_buflen)
Send SPOTLIGHT_CMD_OPEN and optionally extract the volume path.
Definition afpcmd_spotlight.c:264
FPRename
unsigned int FPRename(CONN *conn, uint16_t svol, int sdid, char *src, char *dst)
Definition afpcmd.c:2273
FPOpenVol
uint16_t FPOpenVol(CONN *conn, char *vol)
Definition afpcmd.c:830
afp_error
char * afp_error(int error)
Definition afpcmd.c:21
FPCatSearch
unsigned int FPCatSearch(CONN *conn, uint16_t vol, uint32_t nbe, char *pos, uint16_t f_bitmap, uint16_t d_bitmap, uint32_t rbitmap, struct afp_filedir_parms *filedir, struct afp_filedir_parms *filedir2)
Definition afpcmd.c:2067
FPRemoveAPPL
unsigned int FPRemoveAPPL(CONN *conn, uint16_t dt, int did, char *creator, char *name)
Definition afpcmd.c:1907
FPCloseVol
unsigned int FPCloseVol(CONN *conn, uint16_t vol)
Definition afpcmd.c:836
FPGetIconInfo
unsigned int FPGetIconInfo(CONN *conn, uint16_t dt, unsigned char *creator, uint16_t itype)
Definition afpcmd.c:981
FPSpotlightRPCWithLargeInt64Count
unsigned int FPSpotlightRPCWithLargeInt64Count(CONN *conn, uint16_t vid)
Send the companion advisory PoC: one INT64 tag claiming a huge count.
Definition afpcmd_spotlight.c:241
FPWrite_ext_async
unsigned int FPWrite_ext_async(CONN *conn, uint16_t fork, off_t offset, off_t size, char *data, char whence)
Definition afpcmd.c:2462
FPSetFilDirParam
unsigned int FPSetFilDirParam(CONN *conn, uint16_t vol, int did, char *name, uint16_t bitmap, struct afp_filedir_parms *fil)
Definition afpcmd.c:2109
FPEnumerate_ext2
unsigned int FPEnumerate_ext2(CONN *conn, uint16_t vol, int did, char *name, uint16_t f_bitmap, uint16_t d_bitmap)
Definition afpcmd.c:1535
FPOpenFork
uint16_t FPOpenFork(CONN *conn, uint16_t vol, int type, uint16_t bitmap, int did, char *name, int access)
Definition afpcmd.c:1813
FPGetAppl
unsigned int FPGetAppl(CONN *conn, uint16_t dt, char *name, uint16_t index, uint16_t f_bitmap)
Definition afpcmd.c:1872
FPGetUserInfo
unsigned int FPGetUserInfo(CONN *conn, char flag, int id, uint16_t bitmap)
Definition afpcmd.c:745
FPOpenVolFull
uint16_t FPOpenVolFull(CONN *conn, char *vol, uint16_t bitmap)
Definition afpcmd.c:815
FPAddComment
unsigned int FPAddComment(CONN *conn, uint16_t vol, int did, char *name, char *cmt)
Definition afpcmd.c:1728
FPopenLoginExt
unsigned int FPopenLoginExt(CONN *conn, char *vers, char *uam, char *usr, char *pwd)
Definition afpcmd.c:601
FPzzz
unsigned int FPzzz(CONN *conn, int)
Definition afpcmd.c:646
FPFlushFork
unsigned int FPFlushFork(CONN *conn, uint16_t vol)
Definition afpcmd.c:1139
FPResolveID
unsigned int FPResolveID(CONN *conn, uint16_t vol, int did, uint16_t bitmap)
Definition afpcmd.c:1433
FPGetForkParam
unsigned int FPGetForkParam(CONN *conn, uint16_t fork, uint16_t bitmap)
Definition afpcmd.c:1855
FPWrite
unsigned int FPWrite(CONN *conn, uint16_t fork, long long offset, int size, char *data, char whence)
Definition afpcmd.c:2426
FPOpenDir
unsigned int FPOpenDir(CONN *conn, uint16_t vol, int did, char *name)
Definition afpcmd.c:1748
FPSetForkParam
unsigned int FPSetForkParam(CONN *conn, uint16_t fork, uint16_t bitmap, off_t size)
Definition afpcmd.c:1925
FPGetSrvrMsg
unsigned int FPGetSrvrMsg(CONN *conn, uint16_t type, uint16_t bitmap)
Definition afpcmd.c:794
FPListExtAttr
unsigned int FPListExtAttr(CONN *conn, uint16_t vol, int did, uint16_t bitmap, int maxsize, char *name)
Definition afpcmd.c:2513
FPBadPacket
unsigned int FPBadPacket(CONN *conn, char fn, char *name)
Definition afpcmd.c:729
FPEnumerateFull
unsigned int FPEnumerateFull(CONN *conn, uint16_t vol, uint16_t sindex, uint16_t reqcnt, uint16_t size, int did, char *name, uint16_t f_bitmap, uint16_t d_bitmap)
Definition afpcmd.c:1253
FPAddIcon
unsigned int FPAddIcon(CONN *conn, uint16_t dt, char *creator, char *type, char itype, uint32_t tag, uint16_t size, char *data)
Definition afpcmd.c:936
FPSetFileParams
unsigned int FPSetFileParams(CONN *, uint16_t vol, int did, char *name, uint16_t bitmap, struct afp_filedir_parms *)
Definition afpcmd.c:1989
FPEnumerate
unsigned int FPEnumerate(CONN *conn, uint16_t vol, int did, char *name, uint16_t f_bitmap, uint16_t d_bitmap)
Definition afpcmd.c:1190
FPRead_ext_async
unsigned int FPRead_ext_async(CONN *conn, uint16_t fork, off_t offset, off_t size, char *data)
Definition afpcmd.c:2376
FPGetVolParam
unsigned int FPGetVolParam(CONN *conn, uint16_t vol, uint16_t bitmap)
Definition afpcmd.c:1018
FPGetACL
unsigned int FPGetACL(CONN *conn, uint16_t svol, int did, uint16_t bitmap, char *name)
Definition afpcmd.c:2478
FPFlush
unsigned int FPFlush(CONN *conn, uint16_t vol)
Definition afpcmd.c:1085
FPMapName
unsigned int FPMapName(CONN *conn, char fn, char *name)
Definition afpcmd.c:713
FPCatSearchExt
unsigned int FPCatSearchExt(CONN *conn, uint16_t vol, uint32_t nbe, char *pos, uint16_t f_bitmap, uint16_t d_bitmap, uint32_t rbitmap, struct afp_filedir_parms *filedir, struct afp_filedir_parms *filedir2)
Definition afpcmd.c:2088
FPCloseDT
unsigned int FPCloseDT(CONN *conn, uint16_t vol)
Definition afpcmd.c:1053
FPGetSrvrParms
unsigned int FPGetSrvrParms(CONN *conn)
Definition afpcmd.c:778
FPWriteHeader
unsigned int FPWriteHeader(DSI *dsi, uint16_t fork, int offset, int size, char *data, char whence)
Definition afpcmd.c:2394
FPGetComment
unsigned int FPGetComment(CONN *conn, uint16_t vol, int did, char *name)
Definition afpcmd.c:1692
time
struct timeval time
vid
static uint16_t vid
Definition fuzz.c:51
data
#define data
Definition hash.c:38
did
cnid_t did
Definition nad_cp.c:93
type
static enum op type
Definition nad_cp.c:96
flag
#define flag(x)
Definition netacnv.c:15
CONN
Definition afpclient.h:176
DSI
Definition include/atalk/dsi.h:58
afp_filedir_parms
Definition afpclient.h:208
afp_volume_parms
Definition afpclient.h:232
dir
Definition include/atalk/directory.h:56
vol
Definition include/atalk/volume.h:33