s3:tests: Fix syntax error in test_smbclient_kerberos.sh
[samba4-gss.git] / source3 / utils / status.h
blobc08aba4c26245f5f3248a1c73fbd98f65ee44976
1 /*
2 * Samba Unix/Linux SMB client library
3 * State struct
4 * Copyright (C) Jule Anger 2022
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifdef HAVE_JANSSON
21 #include <jansson.h>
22 #include "audit_logging.h" /* various JSON helpers */
23 #include "auth/common_auth.h"
24 #endif /* HAVE_JANSSON */
26 #ifndef STATUS_H
27 #define STATUS_H
29 struct traverse_state {
30 bool json_output;
31 bool first;
32 bool resolve_uids;
33 #ifdef HAVE_JANSSON
34 struct json_object root_json;
35 #endif /* HAVE_JANSSON */
38 enum crypto_degree {
39 CRYPTO_DEGREE_NONE,
40 CRYPTO_DEGREE_PARTIAL,
41 CRYPTO_DEGREE_FULL
44 #endif