netatalk
4.6.0
Free and Open Source Apple Filing Protocol (AFP) Server
Toggle main menu visibility
Loading...
Searching...
No Matches
test_capabilities.h
Go to the documentation of this file.
1
/*
2
Copyright (c) 2026 andylemin
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 TEST_CAPABILITIES_H
16
#define TEST_CAPABILITIES_H
17
18
#include <
atalk/volume.h
>
19
20
enum
test_capability
{
21
TEST_CAP_FAULT_INJECT
,
/* LD_PRELOAD libc interposition reaches libatalk */
22
TEST_CAP_EA_SYS
,
/* the test filesystem supports user xattrs (ea=sys) */
23
};
24
25
int
test_capability
(
enum
test_capability
cap,
const
struct
vol
*
vol
);
26
27
const
char
*
test_capability_name
(
enum
test_capability
cap);
28
29
#endif
/* TEST_CAPABILITIES_H */
volume.h
vol
Definition
include/atalk/volume.h:33
test_capability_name
const char * test_capability_name(enum test_capability cap)
Short capability name for skip/log messages.
Definition
test_capabilities.c:53
test_capability
test_capability
Definition
test_capabilities.h:20
TEST_CAP_FAULT_INJECT
@ TEST_CAP_FAULT_INJECT
Definition
test_capabilities.h:21
TEST_CAP_EA_SYS
@ TEST_CAP_EA_SYS
Definition
test_capabilities.h:22
test
afpd
test_capabilities.h
Generated by
1.18.0