pack/unpack & load/save nesting arranged all the way up to eap::config

This commit is contained in:
2016-07-20 10:31:34 +02:00
parent a92cafea36
commit 512f46f014
8 changed files with 153 additions and 30 deletions

View File

@@ -389,22 +389,19 @@ namespace eapserial
{
inline void pack(_Inout_ unsigned char *&cursor, _In_ const eap::credentials &val)
{
UNREFERENCED_PARAMETER(cursor);
UNREFERENCED_PARAMETER(val );
pack(cursor, (const eap::config&)val);
}
inline size_t get_pk_size(const eap::credentials &val)
{
UNREFERENCED_PARAMETER(val);
return 0;
return get_pk_size((const eap::config&)val);
}
inline void unpack(_Inout_ const unsigned char *&cursor, _Out_ eap::credentials &val)
{
UNREFERENCED_PARAMETER(cursor);
UNREFERENCED_PARAMETER(val );
unpack(cursor, (eap::config&)val);
}