libsecret/egg/egg-fips.h

32 lines
988 B
C
Raw Normal View History

/*
* libsecret
*
* Copyright (C) 2024 Red Hat, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef EGG_FIPS_H_
#define EGG_FIPS_H_
typedef enum {
EGG_FIPS_MODE_DISABLED = 0,
/* Other values are specific to each backend */
} EggFipsMode;
EggFipsMode egg_fips_get_mode (void);
void egg_fips_set_mode (EggFipsMode mode);
#endif /* EGG_FIPS_H_ */