~ubuntu-branches/debian/sid/botan/sid

« back to all changes in this revision

Viewing changes to include/parsing.h

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2018-03-01 22:23:25 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20180301222325-7p7vc45gu3hta34d
Tags: 2.4.0-2
* Don't remove .doctrees from the manual if it doesn't exist.
* Don't specify parallel to debhelper.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*************************************************
2
 
* Parser Functions Header File                   *
3
 
* (C) 1999-2007 The Botan Project                *
4
 
*************************************************/
5
 
 
6
 
#ifndef BOTAN_PARSER_H__
7
 
#define BOTAN_PARSER_H__
8
 
 
9
 
#include <botan/types.h>
10
 
#include <string>
11
 
#include <vector>
12
 
 
13
 
namespace Botan {
14
 
 
15
 
/*************************************************
16
 
* String Parsing Functions                       *
17
 
*************************************************/
18
 
std::vector<std::string> parse_algorithm_name(const std::string&);
19
 
std::vector<std::string> split_on(const std::string&, char);
20
 
std::vector<u32bit> parse_asn1_oid(const std::string&);
21
 
bool x500_name_cmp(const std::string&, const std::string&);
22
 
u32bit parse_expr(const std::string&);
23
 
 
24
 
/*************************************************
25
 
* String/Integer Conversions                     *
26
 
*************************************************/
27
 
std::string to_string(u64bit, u32bit = 0);
28
 
u32bit to_u32bit(const std::string&);
29
 
 
30
 
}
31
 
 
32
 
#endif