76 if (num < 251ULL)
return 1;
77 if (num < 65536LL)
return 3;
78 if (num < 16777216ULL)
return 4;
84 const uchar *pos = *packet;
87 return (uint64_t)*pos;
91 return (uint64_t)((
unsigned long)~0);
uint net_length_size(ulonglong num)
Definition: fido_common.h:75
plugin_messages_callback mc
Definition: fido_client_plugin.cc:52
message_type
Definition: fido_common.h:43
uint64_t net_field_length_ll(uchar **packet)
Definition: fido_common.h:83
uchar * net_store_length(uchar *packet, ulonglong length)
Definition: fido_common.h:54
void get_plugin_messages(const std::string &msg, message_type type)
Definition: fido_client_plugin.cc:58
void(* plugin_messages_callback)(const char *msg)
Definition: fido_common.h:39
Functions for reading and storing in machine-independent format.
void int3store(char *pT, uint A)
Definition: my_byteorder.h:169
ulonglong uint8korr(const char *pT)
Definition: my_byteorder.h:157
uint32 uint3korr(const char *pT)
Definition: my_byteorder.h:137
void int8store(char *pT, ulonglong A)
Definition: my_byteorder.h:185
uint16 uint2korr(const char *pT)
Definition: my_byteorder.h:133
void int2store(char *pT, uint16 A)
Definition: my_byteorder.h:165
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
unsigned char uchar
Definition: my_inttypes.h:52
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:76
required string type
Definition: replication_group_member_actions.proto:34
unsigned int uint
Definition: uca9-dump.cc:75