22#define CPD_CREATE (1u << 0)
23#define CPD_CHECK (1u << 1)
24#define CPD_GROUP_OK (1u << 2)
25#define CPD_GROUP_READ (1u << 3)
26#define CPD_CHECK_MODE_ONLY (1u << 4)
27#define CPD_RELAX_DIRMODE_CHECK (1u << 5)
29 const char *effective_user));
Utility macros to handle different features and behavior in different compilers.
int check_private_dir(const char *dirname, cpd_check_t check, const char *effective_user)
struct smartlist_t * tor_listdir(const char *dirname)
Macros to implement mocking and selective exposure for the test code.
#define MOCK_DECL(rv, funcname, arglist)