monotone

monotone Mtn Source Tree

Root/botan/conf.h

1/*************************************************
2* Configuration Handling Header File *
3* (C) 1999-2005 The Botan Project *
4*************************************************/
5
6#ifndef BOTAN_POLICY_CONF_H__
7#define BOTAN_POLICY_CONF_H__
8
9#include <botan/types.h>
10#include <botan/enums.h>
11#include <string>
12#include <vector>
13
14namespace Botan {
15
16namespace Config {
17
18/*************************************************
19* Set an option *
20*************************************************/
21void set(const std::string&, const std::string&, bool = true);
22
23/*************************************************
24* Get the value of some option *
25*************************************************/
26std::vector<std::string> get_list(const std::string&);
27std::string get_string(const std::string&);
28u32bit get_u32bit(const std::string&);
29u32bit get_time(const std::string&);
30bool get_bool(const std::string&);
31
32/*************************************************
33* Choose the signature format for a PK algorithm *
34*************************************************/
35void choose_sig_format(const std::string&, std::string&, Signature_Format&);
36void choose_sig_format(const std::string&, std::string&, std::string&,
37 Signature_Format&);
38
39/*************************************************
40* Load a configuration file *
41*************************************************/
42void load(const std::string&);
43
44}
45
46}
47
48#endif

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status