aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.h
blob: 8d4652a3c63b3210bb7a250f39fc02b1d307344b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// common code for the validation and benchmark code

#ifndef BOTAN_CHECK_COMMON_H__
#define BOTAN_CHECK_COMMON_H__

#include <string>
#include "getopt.h"

void strip_comments(std::string& line);
void strip_newlines(std::string& line);
void strip(std::string& line);

inline std::string strip(const std::string& line)
   { std::string s = line; strip(s); return s; }

#endif