8#ifndef BOTAN_UNIX_CMD_H__
9#define BOTAN_UNIX_CMD_H__
11#include <botan/types.h>
12#include <botan/data_src.h>
52 size_t read(
byte[],
size_t);
53 size_t peek(
byte[],
size_t,
size_t)
const;
56 std::string
id()
const;
61 const std::vector<std::string>& paths);
64 void create_pipe(
const std::vector<std::string>&);
67 const size_t MAX_BLOCK_USECS, KILL_WAIT;
69 std::vector<std::string> arg_list;
70 struct pipe_wrapper* pipe;
size_t read(byte[], size_t)
bool check_available(size_t n)
DataSource_Command(const std::string &, const std::vector< std::string > &paths)
size_t peek(byte[], size_t, size_t) const
Unix_Program(const char *n, size_t p)
std::string name_and_args