33 #ifndef _IDENTT_QUERY_PROTOFORM_HPP_ 34 #define _IDENTT_QUERY_PROTOFORM_HPP_ 37 #include <google/protobuf/descriptor.h> 38 #include <google/protobuf/message.h> 41 #include <unordered_map> 43 #ifndef IDENTT_ERR_INVALID_ARG 44 #define IDENTT_ERR_INVALID_ARG -1 47 #ifndef IDENTT_ERR_INVALID_PB 48 #define IDENTT_ERR_INVALID_PB -2 51 #ifndef IDENTT_ERR_UNKNOWN_FIELD 52 #define IDENTT_ERR_UNKNOWN_FIELD -3 55 #ifndef IDENTT_ERR_INVALID_FORM 56 #define IDENTT_ERR_INVALID_FORM -5 71 std::unordered_map<std::string,std::string>
urldecode(
const std::string& text);
82 std::string
urlencode(
const std::string& value);
96 void form2pb(
const std::string& form, google::protobuf::Message* msg);
101 #endif // _IDENTT_QUERY_PROTOFORM_HPP_
Definition: CryptoBase.hpp:49