netatalk 4.5.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
extattrs.h
Go to the documentation of this file.
1/*
2 Copyright (c) 2009 Frank Lahm <franklahm@gmail.com>
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13 */
14
15#ifndef AFPD_EXT_ATTRS_H
16#define AFPD_EXT_ATTRS_H
17
18/* AFP funcs */
19 int afp_listextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,
20 size_t *rbuflen);
21 int afp_getextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,
22 size_t *rbuflen);
23 int afp_setextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,
24 size_t *rbuflen);
25 int afp_remextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,
26 size_t *rbuflen);
27
28#endif /* AFPD_EXT_ATTRS_H */
rbuflen
static size_t rbuflen
Definition afpfunc_helpers.c:45
rbuf
static char rbuf[rbufsize]
Definition afpfunc_helpers.c:44
afp_setextattr
int afp_setextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen)
Definition extattrs.c:370
afp_getextattr
int afp_getextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen)
Definition extattrs.c:265
afp_listextattr
int afp_listextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen)
Definition extattrs.c:56
afp_remextattr
int afp_remextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen)
Definition extattrs.c:512
obj
static AFPObj obj
Definition netatalk.c:69
AFPObj
Definition globals.h:166