|
PcapPlusPlus
Next
|
#include <PostgresLayer.h>
Public Types | |
| enum class | ErrorField : uint8_t { Severity = 'S' , SeverityNonLocalized = 'V' , SQLState = 'C' , Message = 'M' , Detail = 'D' , Hint = 'H' , Position = 'P' , InternalPosition = 'p' , InternalQuery = 'q' , Where = 'W' , Schema = 's' , Table = 't' , Column = 'c' , DataType = 'd' , Constraint = 'n' , File = 'F' , Line = 'L' , Routine = 'R' , Terminator = '\0' } |
| using | FieldMap = std::unordered_map< ErrorField, std::string > |
| A map of error field type to value. | |
Public Member Functions | |
| PostgresErrorResponseMessage (const uint8_t *data, size_t dataLen) | |
| const FieldMap & | getFields () const |
Additional Inherited Members |
Represents a PostgreSQL ErrorResponse or NoticeResponse message (backend)
|
strong |
Represents the field types in a PostgreSQL ErrorResponse or NoticeResponse message
|
inline |
A constructor that creates the layer from an existing packet raw data
| [in] | data | A pointer to the raw data |
| [in] | dataLen | Size of the data in bytes |
| const FieldMap& pcpp::PostgresErrorResponseMessage::getFields | ( | ) | const |