sensitivevalue.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_SENSITIVEVALUE_H
#define RUDIMENTS_SENSITIVEVALUE_H
#include <rudiments/private/sensitivevalueincludes.h>
enum sensitivevalue_format_t {
FORMAT_TEXT=0,
FORMAT_BINARY,
FORMAT_HEX
};
class RUDIMENTS_DLLSPEC sensitivevalue {
public:
sensitivevalue();
~sensitivevalue();
void setRedirectStart(const char *delimiter);
void setRedirectStart(const char *delimiter, uint64_t len);
void setRedirectEnd(const char *delimiter);
void setRedirectEnd(const char *delimiter, uint64_t len);
void setVerbatimFormat(sensitivevalue_format_t format);
void setFileFormat(sensitivevalue_format_t format);
void setChompTextFile(bool chomptextfile);
void setPath(const char *path);
void setPath(const char *path, uint64_t len);
void setTextExtension(const char *ext);
void setTextExtension(const char *ext, uint64_t len);
void setBinaryExtension(const char *ext);
void setBinaryExtension(const char *ext, uint64_t len);
void setHexExtension(const char *ext);
void setHexExtension(const char *ext, uint64_t len);
const char *getRedirectStart();
uint64_t getRedirectStartLength();
const char *getRedirectEnd();
uint64_t getRedirectEndLength();
sensitivevalue_format_t getVerbatimFormat();
sensitivevalue_format_t getFileFormat();
bool getChompTextFile();
const char *getPath();
uint64_t getPathLength();
const char *getTextExtension();
uint64_t getTextExtensionLength();
const char *getBinaryExtension();
uint64_t getBinaryExtensionLength();
const char *getHexExtension();
uint64_t getHexExtensionLength();
void parse(const char *in);
void parse(const char *in, uint64_t inlen);
const unsigned char *getValue();
unsigned char *detachValue();
uint64_t getValueSize();
const char *getTextValue();
char *detachTextValue();
uint64_t getTextValueLength();
void clear();
#include <rudiments/private/sensitivevalue.h>
};
#endif
sensitivevalue
Definition: sensitivevalue.h:18
sensitivevalue::getHexExtension
const char * getHexExtension()
sensitivevalue::setChompTextFile
void setChompTextFile(bool chomptextfile)
sensitivevalue::setRedirectStart
void setRedirectStart(const char *delimiter)
sensitivevalue::setBinaryExtension
void setBinaryExtension(const char *ext, uint64_t len)
sensitivevalue::getRedirectEnd
const char * getRedirectEnd()
sensitivevalue::setRedirectEnd
void setRedirectEnd(const char *delimiter)
sensitivevalue::detachValue
unsigned char * detachValue()
sensitivevalue::getTextExtensionLength
uint64_t getTextExtensionLength()
sensitivevalue::setRedirectEnd
void setRedirectEnd(const char *delimiter, uint64_t len)
sensitivevalue::sensitivevalue
sensitivevalue()
sensitivevalue::parse
void parse(const char *in, uint64_t inlen)
sensitivevalue::getRedirectStartLength
uint64_t getRedirectStartLength()
sensitivevalue::setVerbatimFormat
void setVerbatimFormat(sensitivevalue_format_t format)
sensitivevalue::getTextValueLength
uint64_t getTextValueLength()
sensitivevalue::setRedirectStart
void setRedirectStart(const char *delimiter, uint64_t len)
sensitivevalue::getValueSize
uint64_t getValueSize()
sensitivevalue::getRedirectEndLength
uint64_t getRedirectEndLength()
sensitivevalue::getHexExtensionLength
uint64_t getHexExtensionLength()
sensitivevalue::getChompTextFile
bool getChompTextFile()
sensitivevalue::getVerbatimFormat
sensitivevalue_format_t getVerbatimFormat()
sensitivevalue::detachTextValue
char * detachTextValue()
sensitivevalue::getFileFormat
sensitivevalue_format_t getFileFormat()
sensitivevalue::parse
void parse(const char *in)
sensitivevalue::setTextExtension
void setTextExtension(const char *ext, uint64_t len)
sensitivevalue::setBinaryExtension
void setBinaryExtension(const char *ext)
sensitivevalue::setPath
void setPath(const char *path)
sensitivevalue::getBinaryExtensionLength
uint64_t getBinaryExtensionLength()
sensitivevalue::setHexExtension
void setHexExtension(const char *ext, uint64_t len)
sensitivevalue::getValue
const unsigned char * getValue()
sensitivevalue::setTextExtension
void setTextExtension(const char *ext)
sensitivevalue::getPathLength
uint64_t getPathLength()
sensitivevalue::getBinaryExtension
const char * getBinaryExtension()
sensitivevalue::setPath
void setPath(const char *path, uint64_t len)
sensitivevalue::getRedirectStart
const char * getRedirectStart()
sensitivevalue::setFileFormat
void setFileFormat(sensitivevalue_format_t format)
sensitivevalue::getTextExtension
const char * getTextExtension()
sensitivevalue::~sensitivevalue
~sensitivevalue()
sensitivevalue::getTextValue
const char * getTextValue()
sensitivevalue::clear
void clear()
sensitivevalue::getPath
const char * getPath()
sensitivevalue::setHexExtension
void setHexExtension(const char *ext)