netatalk  4.4.0dev
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 <[email protected]>
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 */
19int afp_listextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,
20 size_t *rbuflen);
21int afp_getextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,
22 size_t *rbuflen);
23int afp_setextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,
24 size_t *rbuflen);
25int afp_remextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf,
26 size_t *rbuflen);
27
28#endif /* AFPD_EXT_ATTRS_H */
static size_t rbuflen
Definition afpfunc_helpers.c:45
static char rbuf[rbufsize]
Definition afpfunc_helpers.c:44
int afp_setextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen)
int afp_getextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen)
int afp_listextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen)
int afp_remextattr(AFPObj *obj, char *ibuf, size_t ibuflen, char *rbuf, size_t *rbuflen)
static AFPObj obj
Definition netatalk.c:62
Definition globals.h:154